pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/lua Make libraries link against libdl if it is av...
details: https://anonhg.NetBSD.org/pkgsrc/rev/77e189ce7a62
branches: trunk
changeset: 495342:77e189ce7a62
user: minskim <minskim%pkgsrc.org@localhost>
date: Tue Jun 07 03:52:10 2005 +0000
description:
Make libraries link against libdl if it is available. This fixes PR
pkg/29389.
Bump PKGREVISION.
diffstat:
lang/lua/Makefile | 6 ++++--
lang/lua/distinfo | 4 ++--
lang/lua/patches/patch-ab | 8 ++++----
3 files changed, 10 insertions(+), 8 deletions(-)
diffs (58 lines):
diff -r c910470cd6ee -r 77e189ce7a62 lang/lua/Makefile
--- a/lang/lua/Makefile Tue Jun 07 03:47:24 2005 +0000
+++ b/lang/lua/Makefile Tue Jun 07 03:52:10 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.23 2005/06/07 03:47:24 minskim Exp $
+# $NetBSD: Makefile,v 1.24 2005/06/07 03:52:10 minskim Exp $
DISTNAME= lua-5.0.2
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= lang
MASTER_SITES= ftp://ftp.tecgraf.puc-rio.br/pub/lua/ \
ftp://ftp.ntua.gr/pub/lang/lua/ \
@@ -29,6 +29,8 @@
LIBS+= ${BUILDLINK_LDADD.dl}
MAKE_ENV+= LIBS="${LIBS}"
+.include "../../mk/dlopen.buildlink3.mk"
+
post-build:
cd ${WRKSRC}/etc && ${SETENV} ${MAKE_ENV} ${MAKE} bin2c
diff -r c910470cd6ee -r 77e189ce7a62 lang/lua/distinfo
--- a/lang/lua/distinfo Tue Jun 07 03:47:24 2005 +0000
+++ b/lang/lua/distinfo Tue Jun 07 03:52:10 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.10 2005/02/24 09:03:09 agc Exp $
+$NetBSD: distinfo,v 1.11 2005/06/07 03:52:10 minskim Exp $
SHA1 (lua-5.0.2.tar.gz) = a200cfd20a9a4c7da1206ae45dddf26186a9e0e7
RMD160 (lua-5.0.2.tar.gz) = 5f1a1cf5802e38b3c4dcfc9f3cd0dc33bfdc0a30
Size (lua-5.0.2.tar.gz) = 190442 bytes
SHA1 (patch-aa) = 0b3f82f2c510ef1fc0b3071fbdb16db91dcd7faf
-SHA1 (patch-ab) = 788834909e1b1ef990805c334071d9ad8761c36f
+SHA1 (patch-ab) = 6f8e8b903b10f95798593ecb3e51cb4db9766b11
diff -r c910470cd6ee -r 77e189ce7a62 lang/lua/patches/patch-ab
--- a/lang/lua/patches/patch-ab Tue Jun 07 03:47:24 2005 +0000
+++ b/lang/lua/patches/patch-ab Tue Jun 07 03:52:10 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.4 2004/04/05 02:31:06 xtraeme Exp $
+$NetBSD: patch-ab,v 1.5 2005/06/07 03:52:10 minskim Exp $
---- Makefile.orig Fri Apr 11 00:34:38 2003
+--- Makefile.orig 2004-03-11 19:50:55.000000000 -0600
+++ Makefile
@@ -38,8 +38,8 @@ install: all strip
@@ -8,8 +8,8 @@
so:
- ld -o lib/liblua.so.$V -shared src/*.o
- ld -o lib/liblualib.so.$V -shared src/lib/*.o
-+ ${CC} ${LDFLAGS} -o lib/liblua.so.$V -shared src/*.o
-+ ${CC} ${LDFLAGS} -o lib/liblualib.so.$V -shared src/lib/*.o
++ ${CC} ${LDFLAGS} -o lib/liblua.so.$V -shared src/*.o ${LIBS}
++ ${CC} ${LDFLAGS} -o lib/liblualib.so.$V -shared src/lib/*.o ${LIBS}
cd lib; ln -fs liblua.so.$V liblua.so; ln -fs liblualib.so.$V liblualib.so
# binaries using shared libraries
Home |
Main Index |
Thread Index |
Old Index