- 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
This commit is contained in:
Simon Barner 2005-03-13 17:19:14 +00:00
parent 83ed6d1413
commit 6ad1f46248
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131114
2 changed files with 10 additions and 0 deletions

View file

@ -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

View file

@ -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