summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-06-15 04:11:15 +0000
committerminskim <minskim@pkgsrc.org>2004-06-15 04:11:15 +0000
commitb97839477de6fae3bc52636a0920b615193f559f (patch)
tree6970b0f950f61e2eed9a54f66b6c59b09dbe0fec /archivers
parentcc5049c43093a75b18b58ccfaa8f4bcb2d505fa1 (diff)
downloadpkgsrc-b97839477de6fae3bc52636a0920b615193f559f.tar.gz
Honor CC and LDFLAGS to create correctly linked binaries when pkgsrc
bzip2 library is used instead of native one.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/xmill/distinfo3
-rw-r--r--archivers/xmill/patches/patch-aa29
2 files changed, 31 insertions, 1 deletions
diff --git a/archivers/xmill/distinfo b/archivers/xmill/distinfo
index 74426017e45..bbb8696b843 100644
--- a/archivers/xmill/distinfo
+++ b/archivers/xmill/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.3 2004/03/29 05:12:01 ben Exp $
+$NetBSD: distinfo,v 1.4 2004/06/15 04:11:15 minskim Exp $
SHA1 (xmill-0.9.1.tar.gz) = 491e44ea9a66293af6837db4dc54ed63065c0d67
Size (xmill-0.9.1.tar.gz) = 1021363 bytes
+SHA1 (patch-aa) = b4f10f11906bdcc927214823f93ef597c0d4b750
diff --git a/archivers/xmill/patches/patch-aa b/archivers/xmill/patches/patch-aa
new file mode 100644
index 00000000000..3730f16bf6c
--- /dev/null
+++ b/archivers/xmill/patches/patch-aa
@@ -0,0 +1,29 @@
+$NetBSD: patch-aa,v 1.3 2004/06/15 04:11:15 minskim Exp $
+
+--- makefile.orig 2004-03-15 18:17:57.000000000 -0600
++++ makefile
+@@ -43,11 +43,11 @@ INSPECTSRC = ./xmillinspect
+ PPMZIPSRC = ./ppmzip
+ PPMSRC = ./ppmdi
+
+-CPP = g++
+-CC = gcc
+-LINK = g++
++CPP = ${CXX}
++#CC = gcc
++LINK = ${CXX}
+
+-CFLAGS = -c
++CFLAGS += -c
+
+ # To use MSXML. Does not work with GCC on Windows (mingw)
+ #CFLAGS = -c -DHAVE_MSXML
+@@ -84,7 +84,7 @@ CPPFLAGS_XDEMILL = $(CFLAGS) ${CPPFLAGS_
+ CPPFLAGS_XMILLTEST = $(CFLAGS) -IXMill
+ CPPFLAGS_PPMZIP = $(CFLAGS) -Ippmdi
+
+-LDLIBS=${ZLIB_LDFLAGS} ${BZLIB_LDFLAGS}
++LDLIBS=${LDFLAGS} ${ZLIB_LDFLAGS} ${BZLIB_LDFLAGS}
+ # LINK_FLAGS = -L.
+
+ XMILLLIB_MISC = \