Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Apr 2007 02:05:32 -0500
From:      "Josh Paetzel" <josh@tcbug.org>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/111255: [patch] fix devel/php-dbg and take maintainership
Message-ID:  <1175756732.40772@homebase.tcbug.org>
Resent-Message-ID: <200704050710.l357A5IW085110@freefall.freebsd.org>

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

>Number:         111255
>Category:       ports
>Synopsis:       [patch] fix devel/php-dbg and take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 05 07:10:05 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Josh Paetzel
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:


System: FreeBSD 6.2-STABLE #2: Fri Mar 16 20:46:47 CDT 2007
    jpaetzel@homebase.tcbug.org:/usr/obj/usr/src/sys/HOMEBASE



>Description:


devel/php-dbg is a debugger for php4 but the Makefile doesn't have the proper goo to keep it from trying to build php5 by default if no php is installed, or dying gracefully if php5 is already installed.  If php4 is installed it builds fine.  This patch fixes these behaviors, so it can be unmarked broken.


>How-To-Repeat:


install php5 and then try to install php-dbg and it will fail.  Remove php5, install php4 and install php-dbg and it builds fine.


>Fix:


--- Makefile.old        Thu Apr  5 01:59:37 2007
+++ Makefile    Thu Apr  5 02:04:25 2007
@@ -12,16 +12,14 @@
 PKGNAMEPREFIX= php-
 DISTNAME=      ${PORTNAME}-${PORTVERSION}-src
 
-MAINTAINER=    ports@FreeBSD.org
+MAINTAINER=    josh@tcbug.org
 COMMENT=       Debugger for PHP4
 
-#BROKEN=               Does not compile
-#DEPRECATED=   ${BROKEN}
-#EXPIRATION_DATE=2007-04-10
-
 WRKSRC=                ${WRKDIR}/${PORTNAME}-${PORTVERSION}
 USE_PHP=       yes
 USE_PHPIZE=    yes
+DEFAULT_PHP_VER=4
+IGNORE_WITH_PHP=5
 CONFIGURE_ARGS=        --enable-dbg=shared --with-dbg-profiler
 #CONFIGURE_ENV=        with_dbg_trace=1
 PKGMESSAGE=    ${WRKDIR}/pkg-message



>Release-Note:
>Audit-Trail:
>Unformatted:



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