ports/147637: [PATCH] www/ap22-mod_mod_scgi: Convert to AP_FAST_BUILD / AP_GENPLIST

Philip M. Gollucci pgollucci at p6m7g8.com
Mon Jun 7 06:10:03 UTC 2010


>Number:         147637
>Category:       ports
>Synopsis:       [PATCH] www/ap22-mod_mod_scgi: Convert to AP_FAST_BUILD / AP_GENPLIST
>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:   Mon Jun 07 06:10:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Philip M. Gollucci
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
RideCharge Inc / TaxiMagic
>Environment:
System: FreeBSD frieza.p6m7g8.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Mon Apr 26 16:20:00 EDT 2010
>Description:

Removed file(s):
- pkg-plist

Port maintainer (dryice at dryice.name) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- ap22-mod_mod_scgi-1.12.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/mod_scgi/Makefile,v
retrieving revision 1.20
diff -u -u -r1.20 Makefile
--- Makefile	25 May 2010 20:17:36 -0000	1.20
+++ Makefile	7 Jun 2010 06:05:56 -0000
@@ -5,7 +5,7 @@
 # $FreeBSD: ports/www/mod_scgi/Makefile,v 1.20 2010/05/25 20:17:36 pgollucci Exp $
 #
 
-PORTNAME=	scgi
+PORTNAME=	mod_scgi
 PORTVERSION=	1.12
 CATEGORIES=	www
 MASTER_SITES=	http://quixote.python.ca/releases/ \
@@ -16,11 +16,15 @@
 MAINTAINER=	dryice at dryice.name
 COMMENT=	Apache module that implements the client side of the SCGI protocol
 
-MAKE_JOBS_SAFE=  yes
+MAKE_JOBS_SAFE=	yes
 
-USE_APACHE=	1.3+
 WRKSRC=		${WRKDIR}/${DISTNAME}/${SCGI_DIR}
 
+USE_APACHE=	1.3+
+
+AP_FAST_BUILD=	yes
+AP_GENPLIST=	yes
+
 .include <bsd.port.pre.mk>
 
 .if ${APACHE_VERSION} >= 20
@@ -28,12 +32,6 @@
 .else
 SCGI_DIR=	apache1
 .endif
-PLIST_SUB=	APACHE_DIR=${APACHEMODDIR}
-
-do-build:
-	cd ${WRKSRC} && ${APXS} -c mod_scgi.c
-do-install:
-	cd ${WRKSRC} && ${APXS} -i -c mod_scgi.c
 
 post-install:
 	@${CAT} ${PKGMESSAGE}
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist	28 Aug 2006 15:49:53 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,3 +0,0 @@
-%%APACHE_DIR%%/mod_scgi.so
- at exec %D/sbin/apxs -e -a -n scgi %f
- at unexec %D/sbin/apxs -e -A -n scgi %f
--- ap22-mod_mod_scgi-1.12.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list