Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Sep 2012 07:08:46 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303592 - head/devel/ioncube
Message-ID:  <201209030708.q8378kvU039265@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Mon Sep  3 07:08:46 2012
New Revision: 303592
URL: http://svn.freebsd.org/changeset/ports/303592

Log:
  - 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)

Modified:
  head/devel/ioncube/Makefile

Modified: head/devel/ioncube/Makefile
==============================================================================
--- head/devel/ioncube/Makefile	Mon Sep  3 07:05:15 2012	(r303591)
+++ head/devel/ioncube/Makefile	Mon Sep  3 07:08:46 2012	(r303592)
@@ -13,7 +13,7 @@ MASTER_SITES=	http://downloads2.ioncube.
 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:



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