summaryrefslogtreecommitdiff
path: root/archivers/unzip
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-01-23 02:40:23 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-01-23 02:40:23 +0000
commit3aaa2f02d03512a744e71d80ba9903818facbe0c (patch)
treed04feb7bb32aaf3eed1520316f17f8a96870e7c5 /archivers/unzip
parentMark it as BROKEN. (diff)
Respect CC
Notes
Notes: svn path=/head/; revision=24965
Diffstat (limited to 'archivers/unzip')
-rw-r--r--archivers/unzip/files/patch-aa20
1 files changed, 20 insertions, 0 deletions
diff --git a/archivers/unzip/files/patch-aa b/archivers/unzip/files/patch-aa
new file mode 100644
index 000000000000..297d25954672
--- /dev/null
+++ b/archivers/unzip/files/patch-aa
@@ -0,0 +1,20 @@
+--- unix/Makefile.orig Thu Nov 19 13:59:08 1998
++++ unix/Makefile Sat Jan 22 17:23:42 2000
+@@ -42,7 +42,7 @@
+ # such as -DDOSWILD).
+
+ # UnZip flags
+-CC = cc# try using "gcc" target rather than changing this (CC and LD
++CC ?= cc# try using "gcc" target rather than changing this (CC and LD
+ LD = $(CC)# must match, else "unresolved symbol: ___main" is possible)
+ AS = as
+ LOC = $(LOCAL_UNZIP)
+@@ -680,7 +680,7 @@
+ # FreeBSD on Intel:
+ freebsd: unix_make
+ @echo 'NOTE: use bsd target for non-Intel FreeBSD compiles (if any).'
+- $(MAKE) unzips CC=gcc LD=gcc AS=gcc\
++ $(MAKE) unzips CC=$(CC) LD=$(CC) AS=$(CC)\
+ CF="-O3 -Wall -I. -DASM_CRC -DBSD $(LOC)"\
+ AF="-Di386 $(AF)" CRC32=crc_gcc
+