summaryrefslogtreecommitdiff
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
commitf2a81a786fb3f41d861424fc7038a1bc9a309652 (patch)
treea778f2769235a434f7b9dc3a8539959c2ad5ea5e
parent1571014d016530ac05c869992b7ba04ae681d9d2 (diff)
downloadpkgsrc-f2a81a786fb3f41d861424fc7038a1bc9a309652.tar.gz
Add BUILDLINK_LDADD.dl to LIBS instead of defining platform-specific LIBS.
-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: