summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim>2005-06-07 03:47:24 +0000
committerminskim <minskim>2005-06-07 03:47:24 +0000
commit8c9a9bee40c2d070b0fbf6b0cb324da7c2314060 (patch)
treea778f2769235a434f7b9dc3a8539959c2ad5ea5e
parent8dec0f48e19c3c6440b75643e099ec76126a6c72 (diff)
downloadpkgsrc-8c9a9bee40c2d070b0fbf6b0cb324da7c2314060.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: