From d4c5cd9b07693b291c2b10ee3d8dbca82d029ba1 Mon Sep 17 00:00:00 2001 From: agc Date: Wed, 18 Aug 1999 09:20:00 +0000 Subject: Record build options in the BuildInfo file via BUILD_DEFS. These can be displayed using the -B option to pkg_info(1). Add ZIP_ENCRYPTION to BUILD_DEFS --- archivers/unzip/Makefile | 4 +++- archivers/zip/Makefile | 4 +++- archivers/zip1/Makefile | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'archivers') diff --git a/archivers/unzip/Makefile b/archivers/unzip/Makefile index 922a823e2a4..a95add8d072 100644 --- a/archivers/unzip/Makefile +++ b/archivers/unzip/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 1999/02/20 22:48:24 hubertf Exp $ +# $NetBSD: Makefile,v 1.20 1999/08/18 09:20:00 agc Exp $ # FreeBSD Id: Makefile,v 1.14 1997/06/19 05:30:04 ache Exp # @@ -16,6 +16,8 @@ ALL_TARGET= unzips # we do not use USE_ZLIB because of unknown bugs in 5.40's use of libz MAKE_FLAGS= CF="${CFLAGS} -I. -DBSD -DUNIX -Dunix -DUSE_UNSHRINK" +BUILD_DEFS+= ZIP_ENCRYPTION + .include "../../mk/bsd.prefs.mk" .if defined(ZIP_ENCRYPTION) diff --git a/archivers/zip/Makefile b/archivers/zip/Makefile index 1b1ef6e5b6e..2dbf13eb85a 100644 --- a/archivers/zip/Makefile +++ b/archivers/zip/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 1998/11/03 15:29:39 christos Exp $ +# $NetBSD: Makefile,v 1.15 1999/08/18 09:20:01 agc Exp $ # FreeBSD Id: Makefile,v 1.10 1997/04/27 16:06:15 ache Exp # @@ -15,6 +15,8 @@ MAKEFILE= unix/Makefile MAKE_FLAGS= LOCAL_ZIP="${CFLAGS}" ALL_TARGET= generic +BUILD_DEFS+= ZIP_ENCRYPTION + .include "../../mk/bsd.prefs.mk" .if defined(ZIP_ENCRYPTION) diff --git a/archivers/zip1/Makefile b/archivers/zip1/Makefile index 1ba6e74d8c0..932246499b5 100644 --- a/archivers/zip1/Makefile +++ b/archivers/zip1/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 1999/04/01 14:07:52 agc Exp $ +# $NetBSD: Makefile,v 1.6 1999/08/18 09:20:01 agc Exp $ # DISTNAME= zip1-1.1 @@ -21,6 +21,8 @@ ALL_TARGET= zip NO_WRKSUBDIR= yes PLIST_SRC= ${WRKSRC}/PLIST +BUILD_DEFS+= ZIP_ENCRYPTION + .include "../../mk/bsd.prefs.mk" .if defined(ZIP_ENCRYPTION) -- cgit v1.2.3