aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorSimon Barner <barner@FreeBSD.org>2005-03-13 17:19:14 +0000
committerSimon Barner <barner@FreeBSD.org>2005-03-13 17:19:14 +0000
commit6ad1f462486717bccf6db32a629ab9db468960f5 (patch)
treea2c08545ffc929180a0bb2a7b790c0939092e443 /sysutils
parent83ed6d14136d2f64c9317d2c87991dc64b096e5e (diff)
downloadports-6ad1f462486717bccf6db32a629ab9db468960f5.tar.gz
ports-6ad1f462486717bccf6db32a629ab9db468960f5.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/boxbackup-devel/Makefile5
-rw-r--r--sysutils/boxbackup/Makefile5
2 files changed, 10 insertions, 0 deletions
diff --git a/sysutils/boxbackup-devel/Makefile b/sysutils/boxbackup-devel/Makefile
index ee2994cdd701..9c1eb6d1a1b8 100644
--- a/sysutils/boxbackup-devel/Makefile
+++ b/sysutils/boxbackup-devel/Makefile
@@ -23,6 +23,7 @@ COMMENT= An open source, completely automatic on-line backup system for UNIX
USE_OPENSSL= yes
HAS_CONFIGURE= yes
+CONFIGURE_ARGS= openssl:${OPENSSLBASE}
USE_REINPLACE= yes
USE_RC_SUBR= yes
USE_PERL5= yes
@@ -82,6 +83,10 @@ post-patch:
${WRKSRC}/bbstored.sh
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' <${FILESDIR}/bbackupd.sh >\
${WRKSRC}/bbackupd.sh
+ @${FIND} ${WRKSRC} -name "*.pl" -exec \
+ ${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL},g' {} \;
+ @${REINPLACE_CMD} -e 's, perl , ${PERL} ,' \
+ ${WRKSRC}/infrastructure/makebuildenv.pl
.if defined(CLIENT_ONLY) || !defined(SERVER_ONLY)
@${CAT} ${FILESDIR}/pkg-message.client >> ${PKGMESSAGE}
.endif
diff --git a/sysutils/boxbackup/Makefile b/sysutils/boxbackup/Makefile
index ee2994cdd701..9c1eb6d1a1b8 100644
--- a/sysutils/boxbackup/Makefile
+++ b/sysutils/boxbackup/Makefile
@@ -23,6 +23,7 @@ COMMENT= An open source, completely automatic on-line backup system for UNIX
USE_OPENSSL= yes
HAS_CONFIGURE= yes
+CONFIGURE_ARGS= openssl:${OPENSSLBASE}
USE_REINPLACE= yes
USE_RC_SUBR= yes
USE_PERL5= yes
@@ -82,6 +83,10 @@ post-patch:
${WRKSRC}/bbstored.sh
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' <${FILESDIR}/bbackupd.sh >\
${WRKSRC}/bbackupd.sh
+ @${FIND} ${WRKSRC} -name "*.pl" -exec \
+ ${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL},g' {} \;
+ @${REINPLACE_CMD} -e 's, perl , ${PERL} ,' \
+ ${WRKSRC}/infrastructure/makebuildenv.pl
.if defined(CLIENT_ONLY) || !defined(SERVER_ONLY)
@${CAT} ${FILESDIR}/pkg-message.client >> ${PKGMESSAGE}
.endif