Date: Sat, 17 May 2014 04:08:48 +0400 (MSK) From: Dmitry Marakasov <amdmi3@amdmi3.ru> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gnome@FreeBSD.org Subject: [PATCH] net/gnet2: switch to USES=libtool Message-ID: <20140517000848.D511E1FE6F@hades.panopticon>
next in thread | raw e-mail | index | archive | help
>Submitter-Id: current-users >Originator: Dmitry Marakasov >Organization: >Confidential: no >Synopsis: [PATCH] net/gnet2: switch to USES=libtool >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 10.0-RELEASE amd64 >Environment: System: FreeBSD hades.panopticon 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260807: Fri Jan 17 13:14:28 MSK >Description: - Switch to USES=libtool - Remove USE=gnomehack (deprecated by USES=pathfix) - Properly support DOCS option - Strip library All dependent ports confirmed to build fine. ATTN: Please do not commit this directly but reassign it to me, as it needs to be committed with net-mgmt/gsnmp switch to libtool (see previous PR) Port maintainer (gnome@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 1.02 (mode: change, diff: SVN) >How-To-Repeat: >Fix: --- gnet2-2.0.8.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 354272) +++ Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= gnet PORTVERSION= 2.0.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net ipv6 MASTER_SITES= GNOME PKGNAMESUFFIX= 2 @@ -11,13 +11,16 @@ MAINTAINER= gnome@FreeBSD.org COMMENT= A simple network library built upon Glib-2 -USES= pkgconfig pathfix -USE_AUTOTOOLS= libtool -USE_GNOME= gnomehack glib20 +USES= pkgconfig libtool pathfix +USE_GNOME= glib20 USE_LDCONFIG= yes GNU_CONFIGURE= yes -.if !defined(NOPORTDOCS) +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MDOCS} CONFIGURE_ARGS+= --with-html-dir=${DOCSDIR} .else CONFIGURE_ARGS+= --without-html-dir @@ -27,4 +30,7 @@ @${REINPLACE_CMD} -e 's|GNET_INTERFACE_AGE=0|GNET_INTERFACE_AGE=8|g' \ ${WRKSRC}/configure +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgnet-2.0.so + .include <bsd.port.mk> Index: pkg-plist =================================================================== --- pkg-plist (revision 354272) +++ pkg-plist (working copy) @@ -17,9 +17,9 @@ include/gnet-2.0/uri.h lib/gnet-2.0/include/gnetconfig.h lib/libgnet-2.0.a -lib/libgnet-2.0.la lib/libgnet-2.0.so lib/libgnet-2.0.so.0 +lib/libgnet-2.0.so.0.0.8 libdata/pkgconfig/gnet-2.0.pc share/aclocal/gnet-2.0.m4 %%PORTDOCS%%%%DOCSDIR%%/gnet/gnet-base64.html --- gnet2-2.0.8.patch ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140517000848.D511E1FE6F>