ports/154761: [patch] port www/p5-libapreq mark BROKEN and DEPRECATED

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


>Number:         154761
>Category:       ports
>Synopsis:       [patch] port www/p5-libapreq mark BROKEN and DEPRECATED
>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:50:13 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Olli Hauer
>Release:        
>Organization:
>Environment:


>Description:
Mark BROKEN if build against apache > 13

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

Build with apache13 is fine, but with 20 / 22 set as default the port does not build.

>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/p5-libapreq-1.34.log

>Fix:

--- p5-libapreq.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/p5-libapreq/Makefile,v
retrieving revision 1.25
diff -u -r1.25 Makefile
--- Makefile	22 Jan 2009 19:07:11 -0000	1.25
+++ Makefile	14 Feb 2011 00:35:03 -0000
@@ -15,6 +15,17 @@
 MAINTAINER=	skv at FreeBSD.org
 COMMENT=	Generic Apache Request Library
 
+USE_APACHE=	13
+
+.include <bsd.port.pre.mk>
+
+DEPRECATED=	will be unsupported by ASF when 2.4.0 is release, migrate to 2.2.x+ now
+EXPIRATION_DATE=2011-05-01
+
+.if ${APACHE_VERSION} > 13 || ${APACHE_PORT} != "www/apache13"
+IGNORE=	build only with apache13
+.endif
+
 .if defined(WITH_MODPERL2)
 IGNORE=		this port does not support mod_perl2
 .else
@@ -37,4 +48,4 @@
 	${INSTALL_SCRIPT} ${WRKSRC}/eg/perl/* ${EXAMPLESDIR}/perl
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/www/p5-libapreq/distinfo,v
retrieving revision 1.11
diff -u -r1.11 distinfo
--- distinfo	22 Jan 2009 19:07:11 -0000	1.11
+++ distinfo	14 Feb 2011 00:35:03 -0000
@@ -1,3 +1,2 @@
-MD5 (libapreq-1.34.tar.gz) = 2bee94cf9f36fb156b794bd469fcc550
 SHA256 (libapreq-1.34.tar.gz) = b77fb7d883a06b4f17138ae1611d22e108dce7dc4763fc28e5cbebf25b29f64a
 SIZE (libapreq-1.34.tar.gz) = 314952
--- p5-libapreq.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list