summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-11-13 22:13:22 +0000
committerwiz <wiz@pkgsrc.org>2015-11-13 22:13:22 +0000
commit22be3028189446ae147a5e5316495dc60fb0f50b (patch)
tree03fe9cfbc639b8275c1c02ef2cdc6740fa4f4037 /archivers
parent32a665e7777795c79983552cd44786d6e132c1bc (diff)
downloadpkgsrc-22be3028189446ae147a5e5316495dc60fb0f50b.tar.gz
Add -DNO_LCHMOD for Linux as well.
Matthias Ferdinand reported on pkgsrc-users: building archivers/unzip on Linux (Ubuntu 14.04 64bit) succeeds, but produces the following warning: ... gcc -o unzip -Lbzip2 unzip.o crc32.o crypt.o envargs.o explode.o extract.o fileio.o globals.o inflate.o list.o match.o process.o ttyio.o ubz2err.o u +nreduce.o unshrink.o zipinfo.o unix.o -s -L/opt/pkgsrc/lib -Wl,--enable-new-dtags,-R/opt/pkgsrc/lib -lz unix.o: In function `set_symlnk_attribs': => unix.c:(.text+0x1840): warning: lchmod is not implemented and will always fail ...
Diffstat (limited to 'archivers')
-rw-r--r--archivers/unzip/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/archivers/unzip/Makefile b/archivers/unzip/Makefile
index 249709b74f3..be477b8193e 100644
--- a/archivers/unzip/Makefile
+++ b/archivers/unzip/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.91 2015/11/11 12:47:26 wiz Exp $
+# $NetBSD: Makefile,v 1.92 2015/11/13 22:13:22 wiz Exp $
DISTNAME= unzip60
PKGNAME= unzip-6.0
@@ -33,6 +33,7 @@ CPPFLAGS+= -DBSD
${OPSYS} == "Cygwin" || \
(${OPSYS} == "Darwin" && !empty(OS_VERSION:M[01234678].*))) || \
${OS_VARIANT} == "SCOOSR5" || \
+ ${OPSYS} == "Linux" || \
${OPSYS} == "Bitrig"
CPPFLAGS+= -DNO_LCHMOD
.endif