Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Nov 2012 17:33:43 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306978 - head/www/tt-rss
Message-ID:  <201211041733.qA4HXhKw037044@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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|' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211041733.qA4HXhKw037044>