From girgen@partitur.se Tue May  4 19:21:30 1999
Return-Path: <girgen@partitur.se>
Received: from mailb.telia.com (mailb.telia.com [194.22.194.6])
	by hub.freebsd.org (Postfix) with ESMTP
	id AC1A714E2C; Tue,  4 May 1999 19:21:28 -0700 (PDT)
	(envelope-from girgen@partitur.se)
Received: from d1o62.telia.com (root@d1o62.telia.com [195.198.198.241])
	by mailb.telia.com (8.8.8/8.8.8) with ESMTP id EAA14085;
	Wed, 5 May 1999 04:21:27 +0200 (CEST)
Received: from stordatan.telia.com (t8o62p31.telia.com [195.198.199.211])
	by d1o62.telia.com (8.8.5/8.8.5) with ESMTP id EAA12336;
	Wed, 5 May 1999 04:21:17 +0200 (CEST)
Received: (from girgen@localhost)
	by stordatan.telia.com (8.9.2/8.9.1) id EAA97479;
	Wed, 5 May 1999 04:20:50 +0200 (CEST)
	(envelope-from girgen@partitur.se)
Message-Id: <199905050220.EAA97479@stordatan.telia.com>
Date: Wed, 5 May 1999 04:20:50 +0200 (CEST)
From: girgen@partitur.se
Reply-To: girgen@partitur.se
To: FreeBSD-gnats-submit@freebsd.org, dirk@freebsd.org
Subject: apache13-php3 doesn't work with WRKDIRPREFIX
X-Send-Pr-Version: 3.2

>Number:         11503
>Category:       ports
>Synopsis:       apache13-php3 doesn't work with WRKDIRPREFIX
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May  4 19:30:01 PDT 1999
>Closed-Date:    Wed May 5 13:16:12 PDT 1999
>Last-Modified:  Wed May  5 13:16:44 PDT 1999
>Originator:     Palle Girgensohn
>Release:        FreeBSD 3.1-STABLE i386
>Organization:
Partitur
>Environment:
in /etc/make.conf:

WRKDIRPREFIX=/tmp

fresh ports tree.

	

>Description:
The WRKDIRPREFIX variable is used in the scripts/configure.php, but doesn't
get it from the Makefile
	

>How-To-Repeat:
cd /usr/ports/apache13-php3 && WRKDIRPREFIX=/tmp make
	

>Fix:
diff -urN apache13-php3/Makefile apache13-php3.new/Makefile
--- apache13-php3/Makefile      Tue May  4 22:52:32 1999
+++ apache13-php3.new/Makefile  Wed May  5 04:15:35 1999
@@ -80,6 +80,7 @@
 
 APACHEDOCDIR=  ${PREFIX}/share/doc/apache
 PHP3DOCDIR=    ${PREFIX}/share/doc/php3
+SCRIPTS_ENV+=  WRKDIRPREFIX=${WRKDIRPREFIX}
 
 PHP3_CONF_ARGS=        --prefix=${PREFIX} \
                ${CONFIGURE_TARGET} \

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: dirk 
State-Changed-When: Wed May 5 13:16:12 PDT 1999 
State-Changed-Why:  
Committed, thanks! 
>Unformatted:
