ports/135474: [PATCH] Mk/bsd.php.mk: add possibility to redefine PHP_PORT
Alexander Kriventsov
avk at vl.ru
Thu Jun 11 12:30:02 UTC 2009
>Number: 135474
>Category: ports
>Synopsis: [PATCH] Mk/bsd.php.mk: add possibility to redefine PHP_PORT
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Jun 11 12:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Alexander Kriventsov
>Release: FreeBSD 7.2
>Organization:
.masterhost
>Environment:
FreeBSD dstest1.akriventsov.dev.masterhost.ru 7.2-i386-20090314-RELENG_7 FreeBSD 7.2-i386-20090314-RELENG_7 #0: Sat Mar 14 08:25:52 UTC 2009 root at svc12.masterhost.ru:/usr/obj/usr/src/sys/GENERICDEBUG i386
>Description:
This patch to add possibility to redefine PHP_PORT.
In our projects we need to create slave port of original lang/php5 with some extra patches.
At this moment I can't redefine php port, and have some broken deps.
For example:
I installed php-mysql and it has dep of lang/php5, but php5 I built from another port.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
--- /usr/ports/Mk/bsd.php.mk.orig 2009-06-11 11:48:03.000000000 +0000
+++ /usr/ports/Mk/bsd.php.mk 2009-06-11 12:04:49.000000000 +0000
@@ -136,7 +136,7 @@
.endif
-PHP_PORT= ${PORTSDIR}/lang/php${PHP_VER}
+PHP_PORT?= ${PORTSDIR}/lang/php${PHP_VER}
.if defined(USE_PHP_BUILD)
BUILD_DEPENDS+= ${PHPBASE}/include/php/main/php.h:${PHP_PORT}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list