summaryrefslogtreecommitdiff
path: root/archivers/bzip2/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-09-18 18:46:28 +0000
committerwiz <wiz@pkgsrc.org>2003-09-18 18:46:28 +0000
commit5ec767af43a7ba19f27d9d036c6ef8333b8568ea (patch)
tree0744176d538c7f2de946b3ad911f5805073274c4 /archivers/bzip2/patches
parentf351c774f928b004dd2582b96bbc1aafbddc2d83 (diff)
downloadpkgsrc-5ec767af43a7ba19f27d9d036c6ef8333b8568ea.tar.gz
Use libtool with correct --mode argument. From Ron Roskens in PR 22824.
Diffstat (limited to 'archivers/bzip2/patches')
-rw-r--r--archivers/bzip2/patches/patch-aa10
1 files changed, 5 insertions, 5 deletions
diff --git a/archivers/bzip2/patches/patch-aa b/archivers/bzip2/patches/patch-aa
index 2ee6609cc50..72312970a26 100644
--- a/archivers/bzip2/patches/patch-aa
+++ b/archivers/bzip2/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.6 2003/03/18 21:53:30 jschauma Exp $
+$NetBSD: patch-aa,v 1.7 2003/09/18 18:46:32 wiz Exp $
--- Makefile.orig Sat Jan 26 00:34:53 2002
+++ Makefile Sun Mar 24 14:56:33 2002
@@ -7,8 +7,8 @@ $NetBSD: patch-aa,v 1.6 2003/03/18 21:53:30 jschauma Exp $
# To assist in cross-compiling
-CC=gcc
-+CC=${LIBTOOL} ${REALCC}
-+LD=${LIBTOOL} ${REALCC}
++CC=${LIBTOOL} --mode=compile ${REALCC}
++LD=${LIBTOOL} --mode=link ${REALCC}
AR=ar
RANLIB=ranlib
-LDFLAGS=
@@ -35,11 +35,11 @@ $NetBSD: patch-aa,v 1.6 2003/03/18 21:53:30 jschauma Exp $
-bzip2: libbz2.a bzip2.o
- $(CC) $(CFLAGS) $(LDFLAGS) -o bzip2 bzip2.o -L. -lbz2
+bzip2: libbz2.la bzip2.o
-+ $(CC) $(CFLAGS) $(LDFLAGS) -static -o bzip2 bzip2.o libbz2.la
++ $(LD) $(CFLAGS) $(LDFLAGS) -static -o bzip2 bzip2.o libbz2.la
bzip2recover: bzip2recover.o
- $(CC) $(CFLAGS) $(LDFLAGS) -o bzip2recover bzip2recover.o
-+ $(CC) $(CFLAGS) $(LDFLAGS) -static -o bzip2recover bzip2recover.o
++ $(LD) $(CFLAGS) $(LDFLAGS) -static -o bzip2recover bzip2recover.o
-libbz2.a: $(OBJS)
- rm -f libbz2.a