Bug 189876 - [PATCH] net/gnet2: switch to USES=libtool
Summary: [PATCH] net/gnet2: switch to USES=libtool
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-17 01:10 UTC by Dmitry Marakasov
Modified: 2014-05-21 02:00 UTC (History)
1 user (show)

See Also:


Attachments
gnet2-2.0.8.patch (1.38 KB, patch)
2014-05-17 01:10 UTC, Dmitry Marakasov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov 2014-05-17 01:10:01 UTC
- 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)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-05-17 01:10:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Dmitry Marakasov freebsd_committer freebsd_triage 2014-05-20 17:55:25 UTC
Responsible Changed
From-To: gnome->amdmi3

Approved by kwm@ (with minor changes) on IRC. Take back my PR.
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-05-21 01:50:41 UTC
Author: amdmi3
Date: Wed May 21 00:50:36 2014
New Revision: 354697
URL: http://svnweb.freebsd.org/changeset/ports/354697
QAT: https://qat.redports.org/buildarchive/r354697/

Log:
  - Switch to USES=libtool, drop .la file
  - Properly support DOCS option
  - Strip library
  
  PR:		189876
  Submitted by:	amdmi3
  Approved by:	kwm

Modified:
  head/net/gnet2/Makefile
  head/net/gnet2/pkg-plist

Modified: head/net/gnet2/Makefile
==============================================================================
--- head/net/gnet2/Makefile	Tue May 20 23:24:53 2014	(r354696)
+++ head/net/gnet2/Makefile	Wed May 21 00:50:36 2014	(r354697)
@@ -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,17 @@ PKGNAMESUFFIX=	2
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	A simple network library built upon Glib-2
 
-USES=		pkgconfig pathfix
-USE_AUTOTOOLS=	libtool
-USE_GNOME=	gnomehack glib20
+USES=		libtool pathfix pkgconfig
+USE_GNOME=	glib20
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
 
-.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

Modified: head/net/gnet2/pkg-plist
==============================================================================
--- head/net/gnet2/pkg-plist	Tue May 20 23:24:53 2014	(r354696)
+++ head/net/gnet2/pkg-plist	Wed May 21 00:50:36 2014	(r354697)
@@ -17,9 +17,9 @@ include/gnet-2.0/unix.h
 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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Dmitry Marakasov freebsd_committer freebsd_triage 2014-05-21 01:51:00 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!