From hsw@hsw.generalresources.com  Thu Apr 13 18:16:17 2000
Return-Path: <hsw@hsw.generalresources.com>
Received: from hsw.generalresources.com (z12.generalresources.com [210.242.169.12])
	by hub.freebsd.org (Postfix) with ESMTP id 5A10E37B58B
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 13 Apr 2000 18:16:16 -0700 (PDT)
	(envelope-from hsw@hsw.generalresources.com)
Received: (from hsw@localhost)
	by hsw.generalresources.com (8.9.3/8.9.3) id JAA45291;
	Fri, 14 Apr 2000 09:16:15 +0800 (CST)
	(envelope-from hsw)
Message-Id: <200004140116.JAA45291@hsw.generalresources.com>
Date: Fri, 14 Apr 2000 09:16:15 +0800 (CST)
From: hsw@acm.org
Sender: hsw@hsw.generalresources.com
Reply-To: hsw@acm.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: apache13-php scripts/configure.php has PKGNAME
X-Send-Pr-Version: 3.2

>Number:         17998
>Category:       ports
>Synopsis:       apache13-php scripts/configure.php has PKGNAME
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 13 18:20:01 PDT 2000
>Closed-Date:    Fri Apr 14 13:26:36 JST 2000
>Last-Modified:  Fri Apr 14 13:28:08 JST 2000
>Originator:     Christopher Hall
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
>Environment:

	ports were CVSUPed again to check that I had not
	missed the changes to the scripts/configure.php

>Description:

	ports/apache13-php(3 or 4) fails if MOD_SSL is selected
	The generated Makefile.inc is incorrect


>How-To-Repeat:

	cd /usr/ports/apache13-php(3 or 4)
	make
	...Ensure MOD_SSL is checked in the selection box
	error messages
	look at Makefile.inc and see the PKGNAME=...

        if edit Makefile.inc to split into PORTNAME/PORTVERSION
        then can continue the build.


>Fix:

	Here are the diffs to fix the configure script


apache13-php3 diff
==================
--- scripts/configure.php.orig  Thu Apr  6 03:59:26 2000
+++ scripts/configure.php       Thu Apr 13 10:42:01 2000
@@ -155,7 +155,8 @@
                        ;;
                \"modssl\")
                        cat << EOF
-PKGNAME=       apache+php+mod_ssl-\${VERSION_APACHE}+\${VERSION_PHP}+\${VERSION_MODSSL}
+PORTNAME=      apache+php+mod_ssl
+PORTVERSION=   \${VERSION_APACHE}+\${VERSION_PHP}+\${VERSION_MODSSL}
 DISTFILES+=    mod_ssl-\${VERSION_MODSSL}-\${VERSION_APACHE}\${EXTRACT_SUFX}

 USE_OPENSSL=   RSA



apache13-php4 diff
==================
--- scripts/configure.php.orig  Thu Apr  6 03:59:30 2000
+++ scripts/configure.php       Thu Apr 13 10:51:24 2000
@@ -139,7 +139,8 @@
                        ;;
                \"modssl\")
                        cat << EOF
-PKGNAME=       apache+php+mod_ssl-\${VERSION_APACHE}+\${VERSION_PHP}+\${VERSION_MODSSL}
+PORTNAME=      apache+php+mod_ssl
+PORTVERSION=   \${VERSION_APACHE}+\${VERSION_PHP}+\${VERSION_MODSSL}
 DISTFILES+=    mod_ssl-\${VERSION_MODSSL}-\${VERSION_APACHE}\${EXTRACT_SUFX}

 USE_OPENSSL=   RSA

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: knu 
State-Changed-When: Fri Apr 14 13:26:36 JST 2000 
State-Changed-Why:  
Caught `it', thanks! 
>Unformatted:
