aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2018-01-11 23:21:07 +0800
committertijl <tijl@FreeBSD.org>2018-01-11 23:21:07 +0800
commit93a48aabd3bb2fca444d15fb6310aa7000465299 (patch)
tree59daf302bf441676833a5923406f6658875ad851 /www
parent5c64b7ca2d89a0adc2bb250b49e6d327d5a6e7f2 (diff)
downloadfreebsd-ports-graphics-93a48aabd3bb2fca444d15fb6310aa7000465299.tar.gz
freebsd-ports-graphics-93a48aabd3bb2fca444d15fb6310aa7000465299.tar.zst
freebsd-ports-graphics-93a48aabd3bb2fca444d15fb6310aa7000465299.zip
- Remove unneeded USE_AUTOTOOLS.
- Remove unused SHLIB_MAJOR. - Remove bogus patch that adds -L$(prefix). There are no libraries there. - Use INSTALL_TARGET=install-strip.
Diffstat (limited to 'www')
-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 c91ed0f749a..6d30c04f293 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 caa5d3320be..00000000000
--- 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@