${LOCALBASE}/bin/php is no good any more, use MODPHP_BIN

This commit is contained in:
sthen 2011-09-27 11:56:47 +00:00
parent 34e9f8f465
commit 067e210568
2 changed files with 5 additions and 5 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.30 2011/09/16 12:00:09 espie Exp $
# $OpenBSD: Makefile,v 1.31 2011/09/27 11:56:47 sthen Exp $
COMMENT= web-based payroll and time management suite
V= 3.5.1
REVISION= 2
REVISION= 3
DISTNAME= TimeTrex_Standard_Edition_v${V}
PKGNAME= timetrex-${V}
CATEGORIES= www productivity
@ -32,7 +32,7 @@ PKG_ARCH= *
PREFIX= /var/www
INSTDIR= ${PREFIX}/timetrex
SUBST_VARS= INSTDIR
SUBST_VARS= INSTDIR MODPHP_BIN
do-install:
mv ${WRKSRC} ${INSTDIR}

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-timetrex_ini_php-example_linux,v 1.2 2011/06/23 06:52:32 ajacoutot Exp $
$OpenBSD: patch-timetrex_ini_php-example_linux,v 1.3 2011/09/27 11:56:47 sthen Exp $
--- timetrex.ini.php-example_linux.orig Sun May 15 01:15:08 2011
+++ timetrex.ini.php-example_linux Thu Jun 23 08:44:44 2011
@@ -17,19 +17,19 @@ base_url = /timetrex/interface
@ -20,7 +20,7 @@ $OpenBSD: patch-timetrex_ini_php-example_linux,v 1.2 2011/06/23 06:52:32 ajacout
;
;Linux
-php_cli = /usr/bin/php
+php_cli = ${LOCALBASE}/bin/php
+php_cli = ${MODPHP_BIN}