From f721b0e1292e934b07389b4d4548551fd61791d3 Mon Sep 17 00:00:00 2001 From: agc Date: Wed, 18 Aug 1999 08:28:09 +0000 Subject: Record build options in the BuildInfo file via BUILD_DEFS. These can be displayed using the -B option to pkg_info(1). --- sysutils/amanda-client/Makefile | 4 +++- sysutils/amanda-common/Makefile | 4 +++- sysutils/amanda-server/Makefile | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'sysutils') diff --git a/sysutils/amanda-client/Makefile b/sysutils/amanda-client/Makefile index 2ea9f71a94a..bb81317dd8a 100644 --- a/sysutils/amanda-client/Makefile +++ b/sysutils/amanda-client/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 1999/08/10 17:03:01 bouyer Exp $ +# $NetBSD: Makefile,v 1.9 1999/08/18 08:28:09 agc Exp $ # FreeBSD Id: Makefile,v 1.9 1997/03/08 05:00:11 gpalmer Exp # @@ -39,6 +39,8 @@ CONFIGURE_ARGS+= --with-user=${AMANDA_USER} \ --with-dump-honor-nodump \ --without-server --without-restore +BUILD_DEFS+= AMANDA_USER AMANDA_SMB AMANDA_VAR + .if defined(AMANDA_SMB) CONFIGURE_ARGS+= --with-smbclient DEPENDS+= samba-2.0.5a:../../net/samba diff --git a/sysutils/amanda-common/Makefile b/sysutils/amanda-common/Makefile index 1b329628874..ceb88b33777 100644 --- a/sysutils/amanda-common/Makefile +++ b/sysutils/amanda-common/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 1999/05/20 20:09:51 tron Exp $ +# $NetBSD: Makefile,v 1.6 1999/08/18 08:28:10 agc Exp $ # FreeBSD Id: Makefile,v 1.9 1997/03/08 05:00:11 gpalmer Exp # @@ -40,6 +40,8 @@ CONFIGURE_ARGS+= --with-user=${AMANDA_USER} \ CPPFLAGS= +BUILD_DEFS+= AMANDA_USER AMANDA_SMB AMANDA_VAR + pre-install: case `${GREP} -c '^${AMANDA_USER}:' /etc/passwd || ${TRUE}` in \ 0) \ diff --git a/sysutils/amanda-server/Makefile b/sysutils/amanda-server/Makefile index 46f9c3c368b..c519b46613a 100644 --- a/sysutils/amanda-server/Makefile +++ b/sysutils/amanda-server/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 1999/07/13 01:20:14 jlam Exp $ +# $NetBSD: Makefile,v 1.9 1999/08/18 08:28:10 agc Exp $ # FreeBSD Id: Makefile,v 1.9 1997/03/08 05:00:11 gpalmer Exp # @@ -41,6 +41,8 @@ CONFIGURE_ARGS+= --with-user=${AMANDA_USER} \ --with-dump-honor-nodump \ --without-client +BUILD_DEFS+= AMANDA_USER AMANDA_SMB AMANDA_VAR + post-install: ${MKDIR} ${PREFIX}/share/doc/amanda ${MKDIR} ${PREFIX}/share/examples/amanda -- cgit v1.2.3