summaryrefslogtreecommitdiff
path: root/sysutils/bacula
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-06-22 16:50:38 +0000
committerjperkin <jperkin@pkgsrc.org>2015-06-22 16:50:38 +0000
commitb588fa1b4d1ca8cc577aabaafe7d2f15ad982311 (patch)
tree28c597ef1a31b3e8628ea9127d2528e538d873e7 /sysutils/bacula
parent67ccd62749dfd30e1cef64fa40ec2d99dbf9b5ae (diff)
downloadpkgsrc-b588fa1b4d1ca8cc577aabaafe7d2f15ad982311.tar.gz
Substitute hardcoded path to the C++ wrapper. Fixes CHECK_WRKREF builds.
Diffstat (limited to 'sysutils/bacula')
-rw-r--r--sysutils/bacula/Makefile.common7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysutils/bacula/Makefile.common b/sysutils/bacula/Makefile.common
index af444e64c38..f1cf93b820e 100644
--- a/sysutils/bacula/Makefile.common
+++ b/sysutils/bacula/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.65 2014/10/05 16:41:08 wiz Exp $
+# $NetBSD: Makefile.common,v 1.66 2015/06/22 16:50:38 jperkin Exp $
#
# used by sysutils/bacula-clientonly/Makefile
# used by sysutils/bacula-tray-monitor/Makefile
@@ -56,6 +56,11 @@ SUBST_FILES.egdir+= src/wx-console/Makefile.in
SUBST_FILES.egdir+= src/tray-monitor/Makefile.in
SUBST_SED.egdir= -e 's,%%EXAMPLESDIR%%,${EXAMPLESDIR},g'
+SUBST_CLASSES+= fixwrap
+SUBST_STAGE.fixwrap= post-build
+SUBST_FILES.fixwrap= scripts/bacula_config
+SUBST_SED.fixwrap= -e "s,${WRAPPER_BINDIR}/g++,${CXXPATH},g"
+
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-scriptdir=${PREFIX}/libexec/bacula
CONFIGURE_ARGS+= --with-sbin-perm=0755