summaryrefslogtreecommitdiff
path: root/lang/lua
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-05-30 16:08:58 +0000
committerjoerg <joerg@pkgsrc.org>2009-05-30 16:08:58 +0000
commitae2ae5d569f2c99dd75b72c27d66c80f1f1120eb (patch)
tree9f8275c96128f8601e7ac4cde7f2bf5ed0eece2f /lang/lua
parentf9f97c3385ab97e7ccb32e3cea38285937792f68 (diff)
downloadpkgsrc-ae2ae5d569f2c99dd75b72c27d66c80f1f1120eb.tar.gz
Unbreak shared library loading for cases when mk.conf explicitly sets
CFLAGS. Bump revision.
Diffstat (limited to 'lang/lua')
-rw-r--r--lang/lua/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/lua/Makefile b/lang/lua/Makefile
index 5de0805a575..472d30d353b 100644
--- a/lang/lua/Makefile
+++ b/lang/lua/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.41 2009/05/20 00:58:19 wiz Exp $
+# $NetBSD: Makefile,v 1.42 2009/05/30 16:08:58 joerg Exp $
DISTNAME= lua-${LUA_VERSION}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= lang
MASTER_SITES= ftp://ftp.tecgraf.puc-rio.br/pub/lua/ \
ftp://ftp.gwdg.de/pub/languages/lua/ \
@@ -22,6 +22,8 @@ COMMENT= Powerful light-weight language for extending applications
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
+.include "../../mk/bsd.prefs.mk"
+
USE_LIBTOOL= yes
USE_TOOLS+= gmake
MAKE_ENV+= DLLIB=${BUILDLINK_LDADD.dl:Q}
@@ -31,8 +33,6 @@ CFLAGS+= -DLUA_ROOT=\"${PREFIX}/\"
DOCDIR= ${PREFIX}/share/doc/lua
EGDIR= ${PREFIX}/share/examples/lua
-.include "../../mk/bsd.prefs.mk"
-
.if ${OPSYS} == "FreeBSD"
BUILD_TARGET= freebsd
.elif !empty(OPSYS:M*BSD*) || ${OPSYS} == "DragonFly"