summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2016-01-04 21:30:45 +0100
committerFabian Groffen <grobian@gentoo.org>2016-01-04 21:30:45 +0100
commit8403a23f55f68430c75bd3d988a3f6f2d9edbc17 (patch)
tree98b5d79f550f59eea67455b072c604bf708246ed /dev-lang/lua/lua-5.2.3-r1.ebuild
parentsys-fs/zfs-0.6.5.3-r2: Many fixes (diff)
downloadgentoo-8403a23f55f68430c75bd3d988a3f6f2d9edbc17.tar.gz
gentoo-8403a23f55f68430c75bd3d988a3f6f2d9edbc17.tar.bz2
gentoo-8403a23f55f68430c75bd3d988a3f6f2d9edbc17.zip
dev-lang/lua: import Prefix changes
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-lang/lua/lua-5.2.3-r1.ebuild')
-rw-r--r--dev-lang/lua/lua-5.2.3-r1.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-lang/lua/lua-5.2.3-r1.ebuild b/dev-lang/lua/lua-5.2.3-r1.ebuild
index 01c8f60d69a6..16d253d6bd8f 100644
--- a/dev-lang/lua/lua-5.2.3-r1.ebuild
+++ b/dev-lang/lua/lua-5.2.3-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://www.lua.org/ftp/${P}.tar.gz"
LICENSE="MIT"
SLOT="5.2"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux ~ppc-aix ~x64-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="+deprecated emacs readline static"
RDEPEND="readline? ( sys-libs/readline )
@@ -31,6 +31,12 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-${PATCH_PV}-make-r1.patch
+ # use glibtool on Darwin (versus Apple libtool)
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ sed -i -e '/LIBTOOL = /s:/libtool:/glibtool:' \
+ Makefile src/Makefile || die
+ fi
+
[ -d "${FILESDIR}/${PV}" ] && \
EPATCH_SOURCE="${FILESDIR}/${PV}" EPATCH_SUFFIX="upstream.patch" epatch