diff options
author | bad <bad@pkgsrc.org> | 1999-09-06 19:30:19 +0000 |
---|---|---|
committer | bad <bad@pkgsrc.org> | 1999-09-06 19:30:19 +0000 |
commit | 3f20add20cfb888be4e4f8331fd0a9656462988d (patch) | |
tree | 0f00e90f59e6e45cc6e961d3d74bffc70c207f75 /sysutils/amanda-common | |
parent | dbd92defc536de9e1534a5a14cf71ca5b90c9d98 (diff) | |
download | pkgsrc-3f20add20cfb888be4e4f8331fd0a9656462988d.tar.gz |
Split out the common code in the amanda make files into
amanda-common/Makefile.common.
Diffstat (limited to 'sysutils/amanda-common')
-rw-r--r-- | sysutils/amanda-common/Makefile | 21 | ||||
-rw-r--r-- | sysutils/amanda-common/Makefile.common | 25 |
2 files changed, 28 insertions, 18 deletions
diff --git a/sysutils/amanda-common/Makefile b/sysutils/amanda-common/Makefile index 2596668aa79..130ee3267c2 100644 --- a/sysutils/amanda-common/Makefile +++ b/sysutils/amanda-common/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 1999/08/20 06:21:29 garbled Exp $ +# $NetBSD: Makefile,v 1.8 1999/09/06 19:30:20 bad Exp $ # FreeBSD Id: Makefile,v 1.9 1997/03/08 05:00:11 gpalmer Exp # @@ -11,32 +11,17 @@ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.amanda.org/ .include "../../mk/bsd.prefs.mk" +.include "../../sysutils/amanda-common/Makefile.common" .if ${OPSYS} == "NetBSD" DEPENDS+= addnerd-1.6:../../sysutils/addnerd ADDUSER_PROG= ${PREFIX}/sbin/addnerd -AMANDA_GROUP= operator .elif ${OPSYS} == "SunOS" ADDUSER_PROG= useradd MAKE_ENV+= CPPFLAGS=-D_LARGEFILE64_SOURCE -AMANDA_GROUP= sysadmin .endif -AMANDA_USER?= backup -AMANDA_VAR?= /var/amanda - -USE_LIBTOOL= yes -GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-user=${AMANDA_USER} \ - --with-group=${AMANDA_GROUP} \ - --with-owner=root \ - --with-mmap --with-amandahosts \ - --with-includes=${PREFIX}/include \ - --with-libraries=${PREFIX}/lib \ - --localstatedir=${AMANDA_VAR} \ - --with-gnutar-listdir=${AMANDA_VAR}/gnutar-lists \ - --with-dump-honor-nodump \ - --without-server --without-restore --without-client +CONFIGURE_ARGS+= --without-server --without-restore --without-client CPPFLAGS= diff --git a/sysutils/amanda-common/Makefile.common b/sysutils/amanda-common/Makefile.common new file mode 100644 index 00000000000..9fd4b9192c9 --- /dev/null +++ b/sysutils/amanda-common/Makefile.common @@ -0,0 +1,25 @@ +# $NetBSD: Makefile.common,v 1.1 1999/09/06 19:30:20 bad Exp $ +# +# common make file fragment shared by all amanda-* pkgs. +# + +.if ${OPSYS} == "NetBSD" +AMANDA_GROUP= operator +.elif ${OPSYS} == "SunOS" +AMANDA_GROUP= sysadmin +.endif + +AMANDA_USER?= backup +AMANDA_VAR?= /var/amanda + +USE_LIBTOOL= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --with-user=${AMANDA_USER} \ + --with-group=${AMANDA_GROUP} \ + --with-owner=root \ + --with-mmap --with-amandahosts \ + --with-includes=${PREFIX}/include \ + --with-libraries=${PREFIX}/lib \ + --localstatedir=${AMANDA_VAR} \ + --with-gnutar-listdir=${AMANDA_VAR}/gnutar-lists \ + --with-dump-honor-nodump |