diff options
author | minskim <minskim@pkgsrc.org> | 2005-06-07 03:47:24 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-06-07 03:47:24 +0000 |
commit | f2a81a786fb3f41d861424fc7038a1bc9a309652 (patch) | |
tree | a778f2769235a434f7b9dc3a8539959c2ad5ea5e | |
parent | 1571014d016530ac05c869992b7ba04ae681d9d2 (diff) | |
download | pkgsrc-f2a81a786fb3f41d861424fc7038a1bc9a309652.tar.gz |
Add BUILDLINK_LDADD.dl to LIBS instead of defining platform-specific LIBS.
-rw-r--r-- | lang/lua/Makefile | 6 |
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: |