pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/zip Patch zip's Makefile to pass LDFLAGS at ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dae35aefaadd
branches:  trunk
changeset: 398439:dae35aefaadd
user:      dsainty <dsainty%pkgsrc.org@localhost>
date:      Sun Aug 30 22:52:58 2009 +0000

description:
Patch zip's Makefile to pass LDFLAGS at link time to include Pkgsrc's run time
link path.  Required for finding non-builtin bzip2 library.

Bump PKGREVISION, since the problem only comes to light at run time.

diffstat:

 archivers/zip/Makefile         |   3 ++-
 archivers/zip/distinfo         |   3 ++-
 archivers/zip/patches/patch-aa |  16 ++++++++++++++++
 3 files changed, 20 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r 9bc69e9d604e -r dae35aefaadd archivers/zip/Makefile
--- a/archivers/zip/Makefile    Sun Aug 30 22:03:53 2009 +0000
+++ b/archivers/zip/Makefile    Sun Aug 30 22:52:58 2009 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.54 2009/08/26 22:33:15 wiz Exp $
+# $NetBSD: Makefile,v 1.55 2009/08/30 22:52:58 dsainty Exp $
 
 DISTNAME=      zip30
 PKGNAME=       zip-3.0
+PKGREVISION=   1
 CATEGORIES=    archivers
 MASTER_SITES=  ftp://ftp.info-zip.org/pub/infozip/src/
 EXTRACT_SUFX=  .tgz
diff -r 9bc69e9d604e -r dae35aefaadd archivers/zip/distinfo
--- a/archivers/zip/distinfo    Sun Aug 30 22:03:53 2009 +0000
+++ b/archivers/zip/distinfo    Sun Aug 30 22:52:58 2009 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.10 2009/08/26 22:33:15 wiz Exp $
+$NetBSD: distinfo,v 1.11 2009/08/30 22:52:58 dsainty Exp $
 
 SHA1 (zip30.tgz) = c9f4099ecf2772b53c2dd4a8e508064ce015d182
 RMD160 (zip30.tgz) = 1fc99daf3e36494ba392c7514a714fe3d258d232
 Size (zip30.tgz) = 1118845 bytes
+SHA1 (patch-aa) = e9fc1d2801cb4e0e193c6378bcf0ffbc8dfb3bd3
diff -r 9bc69e9d604e -r dae35aefaadd archivers/zip/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/zip/patches/patch-aa    Sun Aug 30 22:52:58 2009 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.3 2009/08/30 22:52:58 dsainty Exp $
+
+Pass LDFLAGS at link time to include Pkgsrc's run time link path.  Required
+for finding non-builtin bzip2 library.
+
+--- unix/Makefile.orig 2009-08-31 10:36:31.754566116 +1200
++++ unix/Makefile      2009-08-31 10:34:26.602678228 +1200
+@@ -23,7 +23,7 @@
+ 
+ # (to use the GNU compiler, change cc to gcc in CC)
+ CC = cc
+-BIND = $(CC)
++BIND = $(CC) $(LDFLAGS)
+ AS = $(CC) -c
+ CPP = /lib/cpp
+ E =



Home | Main Index | Thread Index | Old Index