Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 May 2002 12:42:47 -0400 (EDT)
From:      Alan Eldridge <ports@geeksrus.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        dirk@FreeBSD.org
Subject:   ports/37769: www/mod_php4: can't make package because PLIST_SUB gets smashed after MOD_DIR is added
Message-ID:  <200205051642.g45GglOA085081@wwweasel.geeksrus.net>

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

>Number:         37769
>Category:       ports
>Synopsis:       www/mod_php4: can't make package because PLIST_SUB gets smashed after MOD_DIR is added
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 05 09:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Alan Eldridge
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
Geeksrus.NET
>Environment:
System: FreeBSD wwweasel.geeksrus.net 4.5-STABLE FreeBSD 4.5-STABLE #1: Tue Apr 30 11:24:21 EDT 2002 root@wwweasel.geeksrus.net:/usr/obj/usr/src/sys/WWWEASEL i386

>Description:

An unconditional assignment (=, not +=) blows away PLIST_SUB after 
MOD_DIR has been added, so %%MOD_DIR%% isn't substituted in plist and
package fails to make.

>How-To-Repeat:

make package

>Fix:

==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<==
Index: www/mod_php4/Makefile
===================================================================
RCS file: /home/ncvs/ports/www/mod_php4/Makefile,v
retrieving revision 1.168
diff -u -3 -r1.168 Makefile
--- www/mod_php4/Makefile	1 May 2002 10:56:02 -0000	1.168
+++ www/mod_php4/Makefile	5 May 2002 16:37:21 -0000
@@ -79,7 +79,7 @@
 
 AP_LIBEXEC=	${PREFIX}/libexec/apache
 
-PLIST_SUB=	AP_LIBEXEC=${AP_LIBEXEC:S/^${PREFIX}\///}
+PLIST_SUB+=	AP_LIBEXEC=${AP_LIBEXEC:S/^${PREFIX}\///}
 
 pre-fetch:
 	@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php
==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<==


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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