aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ioncube
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2012-09-03 15:08:46 +0800
committerbdrewery <bdrewery@FreeBSD.org>2012-09-03 15:08:46 +0800
commit10fbcd0ce10ec5e21c77010fd1c09e0af347bcc4 (patch)
treef9820ba47ae20f0982ea427999dced09bbaf957c /devel/ioncube
parent469b656f8539d79daa2668fa4d05f8f2cc5e2dd5 (diff)
downloadfreebsd-ports-gnome-10fbcd0ce10ec5e21c77010fd1c09e0af347bcc4.tar.gz
freebsd-ports-gnome-10fbcd0ce10ec5e21c77010fd1c09e0af347bcc4.tar.zst
freebsd-ports-gnome-10fbcd0ce10ec5e21c77010fd1c09e0af347bcc4.zip
- Fix install inside of a clean jail by setting PHP_VERSION
to the selected PHP port's PHP_VERSION PR: ports/171263 Submitted by: bdrewery Approved by: Svyatoslav Lempert <svyatoslav.lempert@gmail.com> (maintainer) Approved by: bapt (mentor)
Diffstat (limited to 'devel/ioncube')
-rw-r--r--devel/ioncube/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/ioncube/Makefile b/devel/ioncube/Makefile
index 0f6851e0894d..e8dbe8913ef5 100644
--- a/devel/ioncube/Makefile
+++ b/devel/ioncube/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= http://downloads2.ioncube.com/loader_downloads/ \
DISTNAME= ${PORTNAME}_loaders_fre_${VER}_${ARCH:S,i386,x86,:S,amd64,x86-64,}
MAINTAINER= svyatoslav.lempert@gmail.com
-COMMENT= An ionCube loader for PHP code
+COMMENT= ionCube loader for PHP code
ONLY_FOR_ARCHS= i386 amd64
NO_BUILD= yes
@@ -35,6 +35,10 @@ VER= 8
VER= 9
.endif
+.if empty(PHP_VERSION)
+PHP_VERSION!= ${MAKE} -C ${PORTSDIR}/${PHP_PORT} -V PORTVERSION
+.endif
+
PHP_INSTVER= ${PHP_VERSION:C/^([0-9]+\.[0-9]+).*/\1/}
do-install: