aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2012-11-05 01:33:43 +0800
committerthierry <thierry@FreeBSD.org>2012-11-05 01:33:43 +0800
commitd8056ad88a8a5bff1669b04527615b3a88a9a96d (patch)
tree2c3e878b5ca24e7db70c9173a25437c3a50d01f0 /www
parent2d0c630ea24f506ef5a19bec1691048d5a08474b (diff)
downloadfreebsd-ports-gnome-d8056ad88a8a5bff1669b04527615b3a88a9a96d.tar.gz
freebsd-ports-gnome-d8056ad88a8a5bff1669b04527615b3a88a9a96d.tar.zst
freebsd-ports-gnome-d8056ad88a8a5bff1669b04527615b3a88a9a96d.zip
Fix the dæmon with an absolute path.
Feature safe: yes
Diffstat (limited to 'www')
-rw-r--r--www/tt-rss/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/tt-rss/Makefile b/www/tt-rss/Makefile
index 3b843aefdc2d..29a4457a09c6 100644
--- a/www/tt-rss/Makefile
+++ b/www/tt-rss/Makefile
@@ -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|' \