ports/156251: [PATCH] Enable module by default for www/mod_fastcgi

Denny Lin dennylin93 at hs.ntnu.edu.tw
Thu Apr 7 13:50:06 UTC 2011


>Number:         156251
>Category:       ports
>Synopsis:       [PATCH] Enable module by default for www/mod_fastcgi
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 07 13:50:05 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Denny Lin
>Release:        FreeBSD 8.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD cnmc20.hs.ntnu.edu.tw 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Fri Sep 3 15:42:55 CST 2010 root at cnmc20.hs.ntnu.edu.tw:/usr/obj/usr/src/sys/CNMC20 amd64


	
>Description:
The module installed by www/mod_fastcgi is disabled by default, but it would be desirable to have it enabled by default rather than deleting the comment every time it is installed or reinstalled.

Another way to make it enabled by default is to change bsd.apache.mk:
do-install:
        @${APXS} -i -A -n ${SHORTMODNAME} ${WRKSRC}/${MODULENAME}.${AP_BUILDEXT}

and replace -A with -a. This will affect other ports though.
>How-To-Repeat:
	
>Fix:

	

--- Makefile.patch begins here ---
diff -ruN mod_fastcgi.orig/Makefile mod_fastcgi/Makefile
--- mod_fastcgi.orig/Makefile	2011-04-07 21:27:34.000000000 +0800
+++ mod_fastcgi/Makefile	2011-04-07 21:28:36.000000000 +0800
@@ -23,6 +23,9 @@
 SRC_FILE=	*.c
 PORTDOCS=	LICENSE.TERMS mod_fastcgi.html
 
+do-install:
+	@${APXS} -i -a -n ${SHORTMODNAME} ${WRKSRC}/${MODULENAME}.${AP_BUILDEXT}
+
 post-install:
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
--- Makefile.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list