diff options
author | Simon Barner <barner@FreeBSD.org> | 2005-03-13 17:19:14 +0000 |
---|---|---|
committer | Simon Barner <barner@FreeBSD.org> | 2005-03-13 17:19:14 +0000 |
commit | 6ad1f462486717bccf6db32a629ab9db468960f5 (patch) | |
tree | a2c08545ffc929180a0bb2a7b790c0939092e443 /sysutils/boxbackup | |
parent | Unbreak: Should be fixed by recent updates to cairo (diff) |
- Avoid hardcoding path to perl binary
- Point port to OpenSSL installation. This fixes the build on systems where
_only_ the OpenSSL library from the ports collection is available.
PR: ports/78192
Submitted by: maintainer
Approved by: arved (mentor),
maintainer timeout (9 days): I replaced the fix from the
PR with an superior one
Notes
Notes:
svn path=/head/; revision=131114
Diffstat (limited to 'sysutils/boxbackup')
-rw-r--r-- | sysutils/boxbackup/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
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 |