From 37ea47b83a851f42a018b51d0af68bab558c77a5 Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Thu, 11 Jan 2018 17:09:58 +0000 Subject: [PATCH] - Remove unneeded USE_AUTOTOOLS and USES=gmake. - Remove bogus patch that adds -L$(prefix). There are no libraries there. --- www/p5-libapreq2/Makefile | 12 +++++------- www/p5-libapreq2/files/patch-library-Makefile.in | 11 ----------- 2 files changed, 5 insertions(+), 18 deletions(-) delete mode 100644 www/p5-libapreq2/files/patch-library-Makefile.in diff --git a/www/p5-libapreq2/Makefile b/www/p5-libapreq2/Makefile index 34b05f0d0c03..944ac12996d1 100644 --- a/www/p5-libapreq2/Makefile +++ b/www/p5-libapreq2/Makefile @@ -13,16 +13,14 @@ COMMENT= Perl binding for the Generic Apache2 Request Library LICENSE= APACHE20 -USES= gmake libtool perl5 +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-apache2-apxs=${APXS} \ + --with-expat=${LOCALBASE} \ + --enable-perl-glue --with-perl=${PERL} +USES= libtool perl5 USE_APACHE= 22+ USE_PERL5= run USE_LDCONFIG= yes -USE_AUTOTOOLS= autoconf -CONFIGURE_ARGS+= --with-apache2-apxs=${APXS} \ - --with-expat=${LOCALBASE} \ - --enable-perl-glue --with-perl=${PERL} - -MAKE_ENV+= MAKE=${GMAKE} ## MakeMaker blows it without this BUILD_DEPENDS= libapreq2>0:www/libapreq2 \ ${APACHE_PKGNAMEPREFIX}mod_perl2>=0:www/mod_perl2 \ diff --git a/www/p5-libapreq2/files/patch-library-Makefile.in b/www/p5-libapreq2/files/patch-library-Makefile.in deleted file mode 100644 index caa5d3320bed..000000000000 --- a/www/p5-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@