pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/lua Add ${BUILDLINK_LDADD.dl} to LIBS as lua has ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e763659ff6d6
branches:  trunk
changeset: 498976:e763659ff6d6
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Sep 06 18:31:37 2005 +0000

description:
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:

 lang/lua/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r a30033f11749 -r e763659ff6d6 lang/lua/Makefile
--- a/lang/lua/Makefile Tue Sep 06 18:21:40 2005 +0000
+++ b/lang/lua/Makefile Tue Sep 06 18:31:37 2005 +0000
@@ -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 @@
 
 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}



Home | Main Index | Thread Index | Old Index