summaryrefslogtreecommitdiff
path: root/lang/lua
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-06-07 03:47:24 +0000
committerminskim <minskim@pkgsrc.org>2005-06-07 03:47:24 +0000
commit6a660e824c0b5868341ce8ebe6fd17a4bd425394 (patch)
treea778f2769235a434f7b9dc3a8539959c2ad5ea5e /lang/lua
parentaf9736a506a31ad2a26b35a8eaab1cd0c220c7e3 (diff)
downloadpkgsrc-6a660e824c0b5868341ce8ebe6fd17a4bd425394.tar.gz
Add BUILDLINK_LDADD.dl to LIBS instead of defining platform-specific LIBS.
Diffstat (limited to 'lang/lua')
-rw-r--r--lang/lua/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/lang/lua/Makefile b/lang/lua/Makefile
index c67e13f31fe..93ab0c22ec0 100644
--- a/lang/lua/Makefile
+++ b/lang/lua/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2005/04/11 21:46:14 tv Exp $
+# $NetBSD: Makefile,v 1.23 2005/06/07 03:47:24 minskim Exp $
DISTNAME= lua-5.0.2
PKGREVISION= 2
@@ -26,9 +26,7 @@ BUILD_TARGET= all so
INSTALL_TARGET= install soinstall
CFLAGS+= -fPIC
-LIBS.Interix+= -ldl
-LIBS.Linux+= -ldl
-LIBS.SunOS+= -ldl
+LIBS+= ${BUILDLINK_LDADD.dl}
MAKE_ENV+= LIBS="${LIBS}"
post-build: