Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 2009 12:12:15 GMT
From:      Alexander Kriventsov <avk@vl.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/135473: add possibility to redefine PHP_PORT
Message-ID:  <200906111212.n5BCCFCx096160@www.freebsd.org>
Resent-Message-ID: <200906111220.n5BCK1dg053642@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         135473
>Category:       misc
>Synopsis:       add possibility to redefine PHP_PORT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 11 12:20: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@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:



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