svn commit: r306978 - head/www/tt-rss

Thierry Thomas thierry at FreeBSD.org
Sun Nov 4 17:33:44 UTC 2012


Author: thierry
Date: Sun Nov  4 17:33:43 2012
New Revision: 306978
URL: http://svn.freebsd.org/changeset/ports/306978

Log:
  Fix the dæmon with an absolute path.
  
  Feature safe:	yes

Modified:
  head/www/tt-rss/Makefile

Modified: head/www/tt-rss/Makefile
==============================================================================
--- head/www/tt-rss/Makefile	Sun Nov  4 17:00:48 2012	(r306977)
+++ head/www/tt-rss/Makefile	Sun Nov  4 17:33:43 2012	(r306978)
@@ -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|' \


More information about the svn-ports-head mailing list