1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-08 12:01:56 +00:00

Fix the dæmon with an absolute path.

Feature safe:	yes
This commit is contained in:
Thierry Thomas 2012-11-04 17:33:43 +00:00
parent c916791a6a
commit 0b9265bf06
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306978

View File

@ -4,6 +4,7 @@
PORTNAME= tt-rss
PORTVERSION= 1.6.0
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://tt-rss.org/download/
@ -38,7 +39,7 @@ SUB_LIST= DB=${DB} WWWOWN=${WWWOWN}
PLIST_SUB= WWWOWN=${WWWOWN}:${WWWGRP}
PKGMESSAGE= ${WRKDIR}/pkg-message
PHP2FIX= config.php-dist update.php
PHP2FIX= config.php-dist update.php update_daemon2.php
SCRIPTS= update.php update_daemon2.php
@ -54,6 +55,7 @@ pre-everything::
pre-configure:
.for script in ${PHP2FIX}
${REINPLACE_CMD} -e 's|/usr/bin/php|${LOCALBASE}/bin/php|' \
-e 's|/usr/bin/env php| ${LOCALBASE}/bin/php|' \
${WRKSRC}/${script}
.endfor
${REINPLACE_CMD} -e 's|/usr/bin/curl|${LOCALBASE}/bin/curl|' \