| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile.common,v 1.65 2014/10/05 16:41:08 wiz Exp $ | | 1 | # $NetBSD: Makefile.common,v 1.66 2015/06/22 16:50:38 jperkin Exp $ |
2 | # | | 2 | # |
3 | # used by sysutils/bacula-clientonly/Makefile | | 3 | # used by sysutils/bacula-clientonly/Makefile |
4 | # used by sysutils/bacula-tray-monitor/Makefile | | 4 | # used by sysutils/bacula-tray-monitor/Makefile |
5 | # used by sysutils/bacula-wx-console/Makefile | | 5 | # used by sysutils/bacula-wx-console/Makefile |
6 | # used by sysutils/bacula-qt-console/Makefile | | 6 | # used by sysutils/bacula-qt-console/Makefile |
7 | | | 7 | |
8 | DISTNAME= bacula-5.2.13 | | 8 | DISTNAME= bacula-5.2.13 |
9 | CATEGORIES= sysutils | | 9 | CATEGORIES= sysutils |
10 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bacula/} | | 10 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bacula/} |
11 | | | 11 | |
12 | #PATCH_SITES= ${MASTER_SITE_SOURCEFORGE:=bacula/} | | 12 | #PATCH_SITES= ${MASTER_SITE_SOURCEFORGE:=bacula/} |
13 | #PATCHFILES= | | 13 | #PATCHFILES= |
14 | #DIST_SUBDIR= ${DISTNAME} | | 14 | #DIST_SUBDIR= ${DISTNAME} |
| @@ -46,26 +46,31 @@ FILES_SUBST+= BACULA_DIR_USER=${BACULA_ | | | @@ -46,26 +46,31 @@ FILES_SUBST+= BACULA_DIR_USER=${BACULA_ |
46 | FILES_SUBST+= BACULA_SD_USER=${BACULA_SD_USER} | | 46 | FILES_SUBST+= BACULA_SD_USER=${BACULA_SD_USER} |
47 | | | 47 | |
48 | SUBST_CLASSES+= egdir | | 48 | SUBST_CLASSES+= egdir |
49 | SUBST_STAGE.egdir= pre-configure | | 49 | SUBST_STAGE.egdir= pre-configure |
50 | SUBST_FILES.egdir= src/dird/Makefile.in | | 50 | SUBST_FILES.egdir= src/dird/Makefile.in |
51 | SUBST_FILES.egdir+= src/console/Makefile.in | | 51 | SUBST_FILES.egdir+= src/console/Makefile.in |
52 | SUBST_FILES.egdir+= src/filed/Makefile.in | | 52 | SUBST_FILES.egdir+= src/filed/Makefile.in |
53 | SUBST_FILES.egdir+= src/stored/Makefile.in | | 53 | SUBST_FILES.egdir+= src/stored/Makefile.in |
54 | SUBST_FILES.egdir+= src/gnome2-console/Makefile.in | | 54 | SUBST_FILES.egdir+= src/gnome2-console/Makefile.in |
55 | SUBST_FILES.egdir+= src/wx-console/Makefile.in | | 55 | SUBST_FILES.egdir+= src/wx-console/Makefile.in |
56 | SUBST_FILES.egdir+= src/tray-monitor/Makefile.in | | 56 | SUBST_FILES.egdir+= src/tray-monitor/Makefile.in |
57 | SUBST_SED.egdir= -e 's,%%EXAMPLESDIR%%,${EXAMPLESDIR},g' | | 57 | SUBST_SED.egdir= -e 's,%%EXAMPLESDIR%%,${EXAMPLESDIR},g' |
58 | | | 58 | |
| | | 59 | SUBST_CLASSES+= fixwrap |
| | | 60 | SUBST_STAGE.fixwrap= post-build |
| | | 61 | SUBST_FILES.fixwrap= scripts/bacula_config |
| | | 62 | SUBST_SED.fixwrap= -e "s,${WRAPPER_BINDIR}/g++,${CXXPATH},g" |
| | | 63 | |
59 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} | | 64 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} |
60 | CONFIGURE_ARGS+= --with-scriptdir=${PREFIX}/libexec/bacula | | 65 | CONFIGURE_ARGS+= --with-scriptdir=${PREFIX}/libexec/bacula |
61 | CONFIGURE_ARGS+= --with-sbin-perm=0755 | | 66 | CONFIGURE_ARGS+= --with-sbin-perm=0755 |
62 | CONFIGURE_ARGS+= --with-working-dir=${BACULA_WORKINGDIR} | | 67 | CONFIGURE_ARGS+= --with-working-dir=${BACULA_WORKINGDIR} |
63 | CONFIGURE_ARGS+= --with-pid-dir=${BACULA_PIDDIR} | | 68 | CONFIGURE_ARGS+= --with-pid-dir=${BACULA_PIDDIR} |
64 | CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.editlinereadline}/include/readline | | 69 | CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.editlinereadline}/include/readline |
65 | | | 70 | |
66 | .if ${OPSYS} == "Linux" | | 71 | .if ${OPSYS} == "Linux" |
67 | CONFIGURE_ARGS+= --enable-smartalloc | | 72 | CONFIGURE_ARGS+= --enable-smartalloc |
68 | .endif | | 73 | .endif |
69 | .if ${OPSYS} == "DragonFly" | | 74 | .if ${OPSYS} == "DragonFly" |
70 | CONFIGURE_ARGS+= --disable-xattr | | 75 | CONFIGURE_ARGS+= --disable-xattr |
71 | .endif | | 76 | .endif |