diff options
Diffstat (limited to 'archivers/zip1/Makefile')
-rw-r--r-- | archivers/zip1/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/archivers/zip1/Makefile b/archivers/zip1/Makefile index f9f599d532e..f2894f6f1f8 100644 --- a/archivers/zip1/Makefile +++ b/archivers/zip1/Makefile @@ -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 @@ NOT_FOR_PLATFORM+= Interix-*-* # needs porting WRKSRC= ${WRKDIR} MAKEFILE= makefile -MAKE_FLAGS= CFLAGS="${CFLAGS} -DDIRENT" LFLAGS2="-lcompat" ALL_TARGET= zip USE_BUILDLINK3= yes @@ -35,6 +34,12 @@ ALL_TARGET+= zipcloak 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 |