Date: Sun, 8 Jun 2014 10:13:34 +0200 From: Kurt Jaeger <pi@FreeBSD.org> To: Frederic Culot <culot@FreeBSD.org>, Philippe =?iso-8859-1?Q?Aud=E9oud?= <jadawin@FreeBSD.org>, apache@freebsd.org Cc: pi@freebsd.org Subject: www/libapreq2: libtool fix, strip libs, pkg-plist followup Message-ID: <20140608081334.GK1427@f10.opsec.eu>
next in thread | raw e-mail | index | archive | help
Hi! In my perl5.20 list of ports to check, I found libapreq2 with small issues, here's a fix: 0) poudriere: http://people.freebsd.org/~pi/misc/libapreq2-2.13_3.log 1) commit log: -------------- www/libapreq2: libtool fix, strip libs, pkg-plist adapted Approved-By: TODO (maintainer), TODO (mentors) -------------- 2) svn diff: -------------- Index: Makefile =================================================================== --- Makefile (revision 356987) +++ Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= libapreq2 PORTVERSION= 2.13 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www devel MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} MASTER_SITE_SUBDIR=libapreq @@ -14,9 +14,9 @@ LICENSE= APACHE20 USE_APACHE= 22+ -USES= gmake +USES= gmake libtool USE_LDCONFIG= yes -USE_AUTOTOOLS= autoconf libtool +USE_AUTOTOOLS= autoconf CONFIGURE_ARGS+= --with-apache2-apxs=${APXS} --with-expat=${LOCALBASE} MAKE_ENV+= MAKE=${GMAKE} ## MakeMaker blows it without this @@ -46,4 +46,8 @@ PLIST_SUB+= WITH_MODPERL2="@comment " .endif +post-stage: + ${STRIP_CMD} ${STAGEDIR}/usr/local/lib/libapreq2.so.3.8.0 + ${STRIP_CMD} ${STAGEDIR}/usr/local/libexec/apache22/mod_apreq2.so + .include <bsd.port.mk> Index: pkg-plist =================================================================== --- pkg-plist (revision 356987) +++ pkg-plist (working copy) @@ -9,9 +9,9 @@ include/apreq2/apreq_util.h include/apreq2/apreq_version.h lib/libapreq2.a -lib/libapreq2.la lib/libapreq2.so -lib/libapreq2.so.%%SHLIB_MAJOR%% +lib/libapreq2.so.3 +lib/libapreq2.so.3.8.0 %%WITH_MODPERL2%%%%PERL5_MAN3%%/APR::Request.3.gz %%WITH_MODPERL2%%%%PERL5_MAN3%%/APR::Request::Apache2.3.gz %%WITH_MODPERL2%%%%PERL5_MAN3%%/APR::Request::CGI.3.gz @@ -59,7 +59,6 @@ %%WITH_MODPERL2%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Request/Request.bs %%WITH_MODPERL2%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Request/Request.so %%APACHEMODDIR%%/mod_apreq2.a -%%APACHEMODDIR%%/mod_apreq2.la %%APACHEMODDIR%%/mod_apreq2.so %%WITH_MODPERL2%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/libapreq2 %%WITH_MODPERL2%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/APR/Request/Parser -------------- -- pi@FreeBSD.org +49 171 3101372 6 years to go !
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140608081334.GK1427>