pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/zlib make sure that pkgsrc's LDFLAGS is used whe...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e84f7417fe34
branches: trunk
changeset: 523781:e84f7417fe34
user: schwarz <schwarz%pkgsrc.org@localhost>
date: Sat Jan 13 13:50:11 2007 +0000
description:
make sure that pkgsrc's LDFLAGS is used when linking
diffstat:
devel/zlib/Makefile | 4 +++-
devel/zlib/distinfo | 4 ++--
devel/zlib/patches/patch-aa | 4 ++--
3 files changed, 7 insertions(+), 5 deletions(-)
diffs (46 lines):
diff -r bbd19b900e6f -r e84f7417fe34 devel/zlib/Makefile
--- a/devel/zlib/Makefile Sat Jan 13 13:08:08 2007 +0000
+++ b/devel/zlib/Makefile Sat Jan 13 13:50:11 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2006/03/04 21:29:30 jlam Exp $
+# $NetBSD: Makefile,v 1.34 2007/01/13 13:50:11 schwarz Exp $
DISTNAME= zlib-1.2.3
CATEGORIES= devel
@@ -17,4 +17,6 @@
HAS_CONFIGURE= yes
INSTALLATION_DIRS= include lib ${PKGMANDIR}/man3
+MAKE_ENV+= PKGSRC_LDFLAGS=${LDFLAGS:Q}
+
.include "../../mk/bsd.pkg.mk"
diff -r bbd19b900e6f -r e84f7417fe34 devel/zlib/distinfo
--- a/devel/zlib/distinfo Sat Jan 13 13:08:08 2007 +0000
+++ b/devel/zlib/distinfo Sat Jan 13 13:50:11 2007 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.15 2005/12/27 17:27:58 reed Exp $
+$NetBSD: distinfo,v 1.16 2007/01/13 13:50:11 schwarz Exp $
SHA1 (zlib-1.2.3.tar.gz) = 60faeaaf250642db5c0ea36cd6dcc9f99c8f3902
RMD160 (zlib-1.2.3.tar.gz) = 89a57e336c24f7f6eebda3a1724e14b71187e117
Size (zlib-1.2.3.tar.gz) = 496597 bytes
-SHA1 (patch-aa) = 8adea46e6fd1882d7c4956d85399a1bf9e60f1f7
+SHA1 (patch-aa) = 92cafd578d8f97c5e67c48b62c0d8b56b795e6ab
diff -r bbd19b900e6f -r e84f7417fe34 devel/zlib/patches/patch-aa
--- a/devel/zlib/patches/patch-aa Sat Jan 13 13:08:08 2007 +0000
+++ b/devel/zlib/patches/patch-aa Sat Jan 13 13:50:11 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.9 2005/12/27 17:27:58 reed Exp $
+$NetBSD: patch-aa,v 1.10 2007/01/13 13:50:11 schwarz Exp $
--- Makefile.in.orig 2004-09-15 16:27:20.000000000 +0200
+++ Makefile.in 2005-04-10 12:48:19.000000000 +0200
@@ -28,7 +28,7 @@
- ln -s $@ $(SHAREDLIB)
- ln -s $@ $(SHAREDLIBM)
+all: $(OBJS)
-+ ${LIBTOOL} --mode=link ${CC} ${CFLAGS} -o libz.la ${OBJS:.o=.lo} -rpath ${PREFIX}/lib -version-info 1:2
++ ${LIBTOOL} --mode=link ${CC} ${CPPFLAGS} ${CFLAGS} ${PKGSRC_LDFLAGS} -o libz.la ${OBJS:.o=.lo} -rpath ${PREFIX}/lib -version-info 1:2
+
+.c.o:
+ ${LIBTOOL} --mode=compile ${CC} ${CPPFLAGS} ${CFLAGS} -c $<
Home |
Main Index |
Thread Index |
Old Index