diff options
author | ghen <ghen@pkgsrc.org> | 2007-01-19 11:48:15 +0000 |
---|---|---|
committer | ghen <ghen@pkgsrc.org> | 2007-01-19 11:48:15 +0000 |
commit | a5445a535006c8e86c9c09801f244cc085ce5d48 (patch) | |
tree | 0e08cdd520c1c63b6538282d0efedf085851e7af /sysutils/bacula | |
parent | cceee8e57793f224f77b0bbb60f257ead6a99d19 (diff) | |
download | pkgsrc-a5445a535006c8e86c9c09801f244cc085ce5d48.tar.gz |
Fix some pkglint warnings: include bsd.prefs.mk before setting defaults (?=)
for user-settable variables, and announce them in BUILD_DEFS.
Diffstat (limited to 'sysutils/bacula')
-rw-r--r-- | sysutils/bacula/Makefile.common | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sysutils/bacula/Makefile.common b/sysutils/bacula/Makefile.common index 5c4ffeb0502..4a075c82e53 100644 --- a/sysutils/bacula/Makefile.common +++ b/sysutils/bacula/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.34 2007/01/04 12:29:26 ghen Exp $ +# $NetBSD: Makefile.common,v 1.35 2007/01/19 11:48:15 ghen Exp $ DISTNAME= bacula-2.0.0 CATEGORIES= sysutils @@ -12,6 +12,8 @@ USE_LANGUAGES= c c++ USE_PKGLOCALEDIR= yes GNU_CONFIGURE= yes +.include "../../mk/bsd.prefs.mk" + BACULA_GROUP?= bacula BACULA_DIR_USER?= bacula-dir BACULA_SD_USER?= bacula-sd @@ -20,6 +22,8 @@ PKG_SYSCONFSUBDIR?= bacula BACULA_PIDDIR?= ${VARBASE}/run BACULA_WORKINGDIR?= ${VARBASE}/spool/bacula +BUILD_DEFS+= VARBASE BACULA_PIDDIR BACULA_WORKINGDIR + FILES_SUBST+= BACULA_ETCDIR=${PKG_SYSCONFDIR:Q} FILES_SUBST+= BACULA_PIDDIR=${BACULA_PIDDIR:Q} FILES_SUBST+= BACULA_GROUP=${BACULA_GROUP:Q} @@ -44,7 +48,6 @@ CONFIGURE_ARGS+= --with-working-dir=${BACULA_WORKINGDIR:Q} CONFIGURE_ARGS+= --with-pid-dir=${BACULA_PIDDIR:Q} CONFIGURE_ARGS+= --with-readline=${PREFIX}/include/readline -.include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "Linux" CONFIGURE_ARGS+= --enable-smartalloc .endif |