summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-09-20 04:05:13 +0000
committerjoerg <joerg@pkgsrc.org>2013-09-20 04:05:13 +0000
commit021010efd299853db045f4dcfea0e6767327daab (patch)
treef1192eec12f1bde877f5044ef2662a4aefe82d03
parent4ca89efb383f919f7bd257fed73d434f6c1e945f (diff)
downloadpkgsrc-021010efd299853db045f4dcfea0e6767327daab.tar.gz
Require library to have no undefined symbols. Fixes DLL build on Cygwin.
Bump revision.
-rw-r--r--archivers/bzip2/Makefile3
-rw-r--r--archivers/bzip2/files/Makefile4
2 files changed, 4 insertions, 3 deletions
diff --git a/archivers/bzip2/Makefile b/archivers/bzip2/Makefile
index 9cb53c713df..9ab6e017e13 100644
--- a/archivers/bzip2/Makefile
+++ b/archivers/bzip2/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.52 2012/09/11 19:46:53 asau Exp $
+# $NetBSD: Makefile,v 1.53 2013/09/20 04:05:13 joerg Exp $
#
DISTNAME= bzip2-1.0.6
+PKGREVISION= 1
CATEGORIES= archivers
MASTER_SITES= http://www.bzip.org/1.0.6/
diff --git a/archivers/bzip2/files/Makefile b/archivers/bzip2/files/Makefile
index f73b3d1833b..b6a037f5f74 100644
--- a/archivers/bzip2/files/Makefile
+++ b/archivers/bzip2/files/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2011/09/04 21:51:17 cheusov Exp $
+# $NetBSD: Makefile,v 1.4 2013/09/20 04:05:13 joerg Exp $
#
# Replacement Makefile for bzip2.
#
@@ -14,7 +14,7 @@ all: libbz2.la bzip2 bzip2recover
libbz2.la: ${LOBJS}
${LIBTOOL} --tag=CC --mode=link ${CC} ${LDFLAGS} ${CFLAGS} -o ${.TARGET} \
- ${LOBJS} -version-info 0:0 -rpath ${PREFIX}/lib
+ ${LOBJS} -version-info 0:0 -rpath ${PREFIX}/lib -no-undefined
libbz2.a: ${OBJS}
${AR} cq ${.TARGET} ${OBJS}