pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/zip1 CFLAGS needs "-DSYSV" on Linux. Patch ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/673beeeff95e
branches: trunk
changeset: 476664:673beeeff95e
user: minskim <minskim%pkgsrc.org@localhost>
date: Fri Jun 18 02:42:09 2004 +0000
description:
CFLAGS needs "-DSYSV" on Linux. Patch provided by Roland Illig on
tech-pkg@.
diffstat:
archivers/zip1/Makefile | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r 1f07922844bf -r 673beeeff95e archivers/zip1/Makefile
--- a/archivers/zip1/Makefile Fri Jun 18 02:26:05 2004 +0000
+++ b/archivers/zip1/Makefile Fri Jun 18 02:42:09 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2004/04/25 23:16:22 tv Exp $
+# $NetBSD: Makefile,v 1.26 2004/06/18 02:42:09 minskim Exp $
#
DISTNAME= zip1-1.1
@@ -19,7 +19,6 @@
WRKSRC= ${WRKDIR}
MAKEFILE= makefile
-MAKE_FLAGS= CFLAGS="${CFLAGS} -DDIRENT" LFLAGS2="-lcompat"
ALL_TARGET= zip
USE_BUILDLINK3= yes
@@ -35,6 +34,12 @@
CRYPTO= yes
.endif
+.if ${OPSYS} == "Linux"
+MAKE_FLAGS= CFLAGS="${CFLAGS} -DSYSV"
+.else
+MAKE_FLAGS= CFLAGS="${CFLAGS} -DDIRENT" LFLAGS2="-lcompat"
+.endif
+
do-install:
@${CP} ${PKGDIR}/PLIST.pre ${PLIST_SRC}
cd ${WRKSRC} && ${INSTALL_PROGRAM} zip ${PREFIX}/bin/zip1
Home |
Main Index |
Thread Index |
Old Index