summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjlam <jlam>2005-09-06 18:31:37 +0000
committerjlam <jlam>2005-09-06 18:31:37 +0000
commit43e16ddc578a0ba87832a9b87478ee98855f8e3b (patch)
tree6f52f86e857539347423ed3190468089e7d38975 /lang
parent566908065d615815c7b7ffee778c13601a51917b (diff)
downloadpkgsrc-43e16ddc578a0ba87832a9b87478ee98855f8e3b.tar.gz
Add ${BUILDLINK_LDADD.dl} to LIBS as lua has no configure script to
detect and add "-ldl" (on systems that need it) by itself during the build. This addresses pkg/31171.
Diffstat (limited to 'lang')
-rw-r--r--lang/lua/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/lua/Makefile b/lang/lua/Makefile
index 3531550337a..2d4ec6ddf3d 100644
--- a/lang/lua/Makefile
+++ b/lang/lua/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2005/09/04 04:59:36 jlam Exp $
+# $NetBSD: Makefile,v 1.26 2005/09/06 18:31:37 jlam Exp $
DISTNAME= lua-5.0.2
PKGREVISION= 4
@@ -24,6 +24,7 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LIBTOOL= yes
DL_AUTO_VARS= yes
+LIBS+= ${BUILDLINK_LDADD.dl}
LUA_CFLAGS= ${CFLAGS}
LUA_LDFLAGS= ${LDFLAGS} ${LIBS}
MAKE_ENV+= MYCFLAGS=${LUA_CFLAGS:Q} MYLDFLAGS=${LUA_LDFLAGS:Q}