Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 May 2014 04:08:32 +0400 (MSK)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        matt@peterson.org
Subject:   ports/189877: [PATCH] net-mgmt/gsnmp: switch to USES=libtool
Message-ID:  <20140517000832.6092B1FE6D@hades.panopticon>
Resent-Message-ID: <201405170010.s4H0A2IS015268@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         189877
>Category:       ports
>Synopsis:       [PATCH] net-mgmt/gsnmp: switch to USES=libtool
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 17 00:10:02 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
>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,pathfix
- Use new LIB_DEPENDS syntax
- Strip library

Port maintainer (matt@peterson.org) is cc'd.

Generated with FreeBSD Port Tools 1.02 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- gsnmp-0.2.0.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 354272)
+++ Makefile	(working copy)
@@ -3,7 +3,7 @@
 
 PORTNAME=	gsnmp
 PORTVERSION=	0.2.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net-mgmt
 MASTER_SITES=	ftp://ftp.ibr.cs.tu-bs.de/local/${PORTNAME}/ \
 		http://ftp-ext.osuosl.org/pub/nslu2/sources/ \
@@ -12,11 +12,14 @@
 MAINTAINER=	matt@peterson.org
 COMMENT=	SNMP library written on top of glib and gnet2
 
-LIB_DEPENDS=	gnet:${PORTSDIR}/net/gnet2
+LIB_DEPENDS=	libgnet-2.0.so:${PORTSDIR}/net/gnet2
 
-USES=		pkgconfig
-USE_GNOME=	gnomehack glib20
+USES=		pkgconfig pathfix libtool
+USE_GNOME=	glib20
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgsnmp.so
+
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 354272)
+++ pkg-plist	(working copy)
@@ -9,9 +9,9 @@
 include/gsnmp/transport.h
 include/gsnmp/utils.h
 lib/libgsnmp.a
-lib/libgsnmp.la
 lib/libgsnmp.so
 lib/libgsnmp.so.0
+lib/libgsnmp.so.0.0.0
 libdata/pkgconfig/gsnmp.pc
 share/aclocal/gsnmp.m4
 man/man1/gsnmp-get.1.gz
--- gsnmp-0.2.0.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140517000832.6092B1FE6D>