summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-08-18 08:28:09 +0000
committeragc <agc@pkgsrc.org>1999-08-18 08:28:09 +0000
commitf721b0e1292e934b07389b4d4548551fd61791d3 (patch)
tree99303b67db6c12c9bc66a158c4d979478f3ca27e /sysutils
parent8432197d1bc0694472d570fcff76c92d3f25118c (diff)
downloadpkgsrc-f721b0e1292e934b07389b4d4548551fd61791d3.tar.gz
Record build options in the BuildInfo file via BUILD_DEFS. These can be
displayed using the -B option to pkg_info(1).
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/amanda-client/Makefile4
-rw-r--r--sysutils/amanda-common/Makefile4
-rw-r--r--sysutils/amanda-server/Makefile4
3 files changed, 9 insertions, 3 deletions
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