${LOCALBASE}/bin/php is no good any more, use MODPHP_BIN
This commit is contained in:
parent
87d697fd01
commit
7621905da1
@ -1,9 +1,9 @@
|
|||||||
# $OpenBSD: Makefile,v 1.8 2011/09/16 11:13:39 espie Exp $
|
# $OpenBSD: Makefile,v 1.9 2011/09/27 10:02:02 sthen Exp $
|
||||||
|
|
||||||
COMMENT= graphical network traffic map
|
COMMENT= graphical network traffic map
|
||||||
|
|
||||||
DISTNAME= php-weathermap-0.97a
|
DISTNAME= php-weathermap-0.97a
|
||||||
REVISION= 3
|
REVISION= 4
|
||||||
EXTRACT_SUFX= .zip
|
EXTRACT_SUFX= .zip
|
||||||
|
|
||||||
CATEGORIES= net www
|
CATEGORIES= net www
|
||||||
@ -35,7 +35,7 @@ INSTDIR= ${PREFIX}/weathermap
|
|||||||
SUBST_VARS= INSTDIR
|
SUBST_VARS= INSTDIR
|
||||||
|
|
||||||
do-configure:
|
do-configure:
|
||||||
perl -pi -e 's,^#!/usr/bin/php,#!${LOCALBASE}/bin/php,;' \
|
perl -pi -e 's,^#!/usr/bin/php,#!${MODPHP_BIN},;' \
|
||||||
-e 's,/usr/bin/rrdtool,${LOCALBASE}/bin/rrdtool,;' \
|
-e 's,/usr/bin/rrdtool,${LOCALBASE}/bin/rrdtool,;' \
|
||||||
${WRKSRC}/weathermap
|
${WRKSRC}/weathermap
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user