summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorcheusov <cheusov@pkgsrc.org>2011-09-04 21:51:17 +0000
committercheusov <cheusov@pkgsrc.org>2011-09-04 21:51:17 +0000
commit133e66c3f68bf37bcfec66d3347e72ab4b3259a4 (patch)
tree439369e1dfcb730604c5fc950620cfe2c5201eb5 /archivers
parentc7f8abeb60f9695d57eefc69d4b18139ea676ec0 (diff)
downloadpkgsrc-133e66c3f68bf37bcfec66d3347e72ab4b3259a4.tar.gz
Pass --tag=CC to libtool. This fixes built failure on NetBSD.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/bzip2/files/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/archivers/bzip2/files/Makefile b/archivers/bzip2/files/Makefile
index a2f2bcacec9..f73b3d1833b 100644
--- a/archivers/bzip2/files/Makefile
+++ b/archivers/bzip2/files/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2009/03/20 13:47:59 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2011/09/04 21:51:17 cheusov Exp $
#
# Replacement Makefile for bzip2.
#
@@ -13,7 +13,7 @@ CFLAGS+= -D_FILE_OFFSET_BITS=64
all: libbz2.la bzip2 bzip2recover
libbz2.la: ${LOBJS}
- ${LIBTOOL} --mode=link ${CC} ${LDFLAGS} ${CFLAGS} -o ${.TARGET} \
+ ${LIBTOOL} --tag=CC --mode=link ${CC} ${LDFLAGS} ${CFLAGS} -o ${.TARGET} \
${LOBJS} -version-info 0:0 -rpath ${PREFIX}/lib
libbz2.a: ${OBJS}
@@ -21,7 +21,7 @@ libbz2.a: ${OBJS}
${RANLIB} ${.TARGET}
bzip2: libbz2.a bzip2.o
- ${LIBTOOL} --mode=link ${CC} ${LDFLAGS} ${CFLAGS} -o ${.TARGET} \
+ ${LIBTOOL} --tag=CC --mode=link ${CC} ${LDFLAGS} ${CFLAGS} -o ${.TARGET} \
bzip2.o libbz2.la
bzip2recover: bzip2recover.o
${CC} ${LDFLAGS} ${CFLAGS} -o ${.TARGET} bzip2recover.o
@@ -32,4 +32,4 @@ bzip2recover: bzip2recover.o
${CC} -c ${CFLAGS} -o ${.TARGET} ${.IMPSRC}
.c.lo:
- ${LIBTOOL} --mode=compile ${CC} -c ${CFLAGS} -o ${.TARGET} ${.IMPSRC}
+ ${LIBTOOL} --tag=CC --mode=compile ${CC} -c ${CFLAGS} -o ${.TARGET} ${.IMPSRC}