ports/154760: [patch] port www/mod_uid mark BROKEN if APACHE_VERSION > 13

olli hauer ohauer at FreeBSD.org
Mon Feb 14 00:00:16 UTC 2011


>Number:         154760
>Category:       ports
>Synopsis:       [patch] port www/mod_uid mark BROKEN if APACHE_VERSION > 13
>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 Feb 14 00:00:16 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Olli Hauer
>Release:        
>Organization:
>Environment:


>Description:
Make BROKEN if build against apache > 13

Build against apache13 is fine, but against 20 / 22 the port does not build.

Apache 13 and 20 are sceduled for deletion, maybe set also a DEPRECATED flag.

>How-To-Repeat:
Build the port against apache 20 / 22

Reference: 
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/147009
http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/a.8-exp.20110129080700/ap22-mod_uid-1.1.0.log

>Fix:

--- mod_uid.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/mod_uid/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile	21 May 2009 20:45:34 -0000	1.3
+++ Makefile	13 Feb 2011 23:46:48 -0000
@@ -17,11 +17,14 @@
 
 USE_APACHE=	1.3+
 
+.include <bsd.port.pre.mk>
+
 PORTDOCS=	README.html
 
-.if !defined(APACHE_PORT) || ${APACHE_PORT} == "www/apache13"
+.if !defined(APACHE_PORT) || ${APACHE_PORT} == "www/apache13" || ${APACHE_VERSION} == "13"
 MODULENAME=	mod_uid
 .else
+BROKEN=		does only build with apache13
 MODULENAME=	mod_uid2
 .endif
 
@@ -36,4 +39,4 @@
 .endfor
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/www/mod_uid/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	24 Jan 2006 03:13:31 -0000	1.3
+++ distinfo	13 Feb 2011 23:46:48 -0000
@@ -1,3 +1,2 @@
-MD5 (mod_uid-1.1.0.tar.gz) = 50abf184879a6928f76b5975f6074aff
 SHA256 (mod_uid-1.1.0.tar.gz) = 07edf4f68bede96cb0d90611d08b9ea946a6ea5bdcd174fe47459472682c1b44
 SIZE (mod_uid-1.1.0.tar.gz) = 14821
--- mod_uid.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list