aboutsummaryrefslogtreecommitdiff
path: root/www/libapreq2
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2012-08-18 14:29:08 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2012-08-18 14:29:08 +0000
commit63f3e3b0d43bb0b1197cbb5e4c4dfc3a34adb25b (patch)
treedb78183546bb8049f66df049872ab54fe9939c31 /www/libapreq2
parentdd195ccb65e4fa43789bd6207b16edef95e01297 (diff)
Notes
Diffstat (limited to 'www/libapreq2')
-rw-r--r--www/libapreq2/Makefile13
1 files changed, 3 insertions, 10 deletions
diff --git a/www/libapreq2/Makefile b/www/libapreq2/Makefile
index c92299fddefc..6cf4dc5d69f0 100644
--- a/www/libapreq2/Makefile
+++ b/www/libapreq2/Makefile
@@ -15,7 +15,7 @@ MASTER_SITE_SUBDIR=libapreq
MAINTAINER= apache@FreeBSD.org
COMMENT= Generic Apache2 Request Library
-USE_APACHE= 20+
+USE_APACHE= 22+
USE_GMAKE= yes
USE_LDCONFIG= yes
USE_AUTOTOOLS= autoconf libtool
@@ -23,6 +23,7 @@ CONFIGURE_ARGS+= --with-apache2-apxs=${APXS} --with-expat=${LOCALBASE}
MAKE_ENV+= MAKE=${GMAKE} ## MakeMaker blows it without this
+SHLIB_MAJOR= 11
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
.if defined (WITH_MODPERL2)
@@ -59,12 +60,4 @@ post-patch:
PLIST_SUB+= WITH_MODPERL2="@comment "
.endif
-.include <bsd.port.pre.mk>
-
-.if ${APACHE_VERSION} == 20
-SHLIB_MAJOR= 10
-.else
-SHLIB_MAJOR= 11
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>