epatch "${FILESDIR}"/${PN}-${PATCH_PV}-make_static-r1.patch
fi
epatch "${FILESDIR}"/lua-BJA-libtool-patch.diff
# We want packages to find our things...
sed -i \
-e 's:/usr/local:'${EPREFIX}'/usr:' \
# Use libtool for binary installs, etc.
export V
export LIBTOOL = libtool --quiet --tag=CC
export LIBTOOL = $(ROOT)/usr/bin/libtool --quiet --tag=CC
# See libtool manual about how to set this
gentoo_clean:
# (end of Makefile)
export LIB_VERSION = 6:5:1
# The following rules use libtool for compiling and linking in order to