ports/189877: [PATCH] net-mgmt/gsnmp: switch to USES=libtool
Dmitry Marakasov
amdmi3 at amdmi3.ru
Sat May 17 00:10:03 UTC 2014
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list