aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2018-01-11 15:21:07 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2018-01-11 15:21:07 +0000
commit9cdb26e02219ae19264bcf2492eeff034fedd542 (patch)
tree59daf302bf441676833a5923406f6658875ad851
parentb73e358acb002223b0d5cd59a27374ce28c338d8 (diff)
downloadports-9cdb26e02219ae19264bcf2492eeff034fedd542.tar.gz
ports-9cdb26e02219ae19264bcf2492eeff034fedd542.zip
Notes
-rw-r--r--www/libapreq2/Makefile12
-rw-r--r--www/libapreq2/files/patch-library-Makefile.in11
2 files changed, 3 insertions, 20 deletions
diff --git a/www/libapreq2/Makefile b/www/libapreq2/Makefile
index c91ed0f749a0..6d30c04f2936 100644
--- a/www/libapreq2/Makefile
+++ b/www/libapreq2/Makefile
@@ -12,17 +12,11 @@ COMMENT= Generic Apache2 Request Library
LICENSE= APACHE20
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-apache2-apxs=${APXS} --with-expat=${LOCALBASE}
+INSTALL_TARGET= install-strip
USES= libtool
USE_APACHE= 22+
USE_LDCONFIG= yes
-USE_AUTOTOOLS= autoconf
-CONFIGURE_ARGS+= --with-apache2-apxs=${APXS} --with-expat=${LOCALBASE}
-
-SHLIB_MAJOR= 11
-PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
-
-post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libapreq2.so.3.8.0
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_apreq2.so
.include <bsd.port.mk>
diff --git a/www/libapreq2/files/patch-library-Makefile.in b/www/libapreq2/files/patch-library-Makefile.in
deleted file mode 100644
index caa5d3320bed..000000000000
--- a/www/libapreq2/files/patch-library-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- library/Makefile.in.orig
-+++ library/Makefile.in
-@@ -133,7 +133,7 @@
- INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
- LDFLAGS = @LDFLAGS@
- LIBOBJS = @LIBOBJS@
--LIBS = @LIBS@
-+LIBS = @LIBS@ -L$(prefix)
- LIBTOOL = @LIBTOOL@
- LN_S = @LN_S@
- LTLIBOBJS = @LTLIBOBJS@