summaryrefslogtreecommitdiff
path: root/www/mod_cplusplus/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_cplusplus/Makefile')
-rw-r--r--www/mod_cplusplus/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/www/mod_cplusplus/Makefile b/www/mod_cplusplus/Makefile
index 084da5bb3d0f..8e912e7f17b7 100644
--- a/www/mod_cplusplus/Makefile
+++ b/www/mod_cplusplus/Makefile
@@ -3,7 +3,7 @@
PORTNAME= mod_cplusplus
PORTVERSION= 1.5.4
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= www
MASTER_SITES= SF/modcplusplus/modcplusplus/${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
@@ -11,6 +11,9 @@ PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
MAINTAINER= apache@FreeBSD.org
COMMENT= Apache module for loading C++ objects as handlers
+DEPRECATED= written for apache 2.0, no longer maintained upstream
+EXPIRATION_DATE= 2015-02-28
+
USES= libtool
USE_APACHE= 22
USE_AUTOTOOLS= libtoolize aclocal autoconf autoheader automake
@@ -25,6 +28,12 @@ SUB_LIST= "APACHEMODDIR=${APACHEMODDIR}"
WRKSRC= ${WRKDIR}/${PORTNAME}
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == "FreeBSD" && ${OSVERSION} > 1001000
+BROKEN= does not build with new clang
+.endif
+
post-patch:
${REINPLACE_CMD} -e 's,-Werror,,' ${WRKSRC}/configure.in
@@ -36,4 +45,4 @@ do-install:
${INSTALL_LIB} ${WRKSRC}/src/.libs/libmod_cplusplus.so \
${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_cplusplus.so
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>