From 92ef3f4c43da8e1062f5e59ef59d2aa36064865a Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 21 May 2014 00:50:55 +0000 Subject: [PATCH] - Switch to USES=libtool, drop .la file - Switch to USES=pathfix - Strip library - Use new LIB_DEPENDS syntax PR: 189877 Submitted by: amdmi3 Approved by: Matt Peterson (maintainer) --- net-mgmt/gsnmp/Makefile | 9 +++++---- net-mgmt/gsnmp/pkg-plist | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/net-mgmt/gsnmp/Makefile b/net-mgmt/gsnmp/Makefile index 5a1dba827b97..24a4a80fb82e 100644 --- a/net-mgmt/gsnmp/Makefile +++ b/net-mgmt/gsnmp/Makefile @@ -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,12 @@ MASTER_SITES= ftp://ftp.ibr.cs.tu-bs.de/local/${PORTNAME}/ \ 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= libtool pathfix pkgconfig +USE_GNOME= glib20 GNU_CONFIGURE= yes USE_LDCONFIG= yes +INSTALL_TARGET= install-strip .include diff --git a/net-mgmt/gsnmp/pkg-plist b/net-mgmt/gsnmp/pkg-plist index 073adfa58454..00f6a3dd6b75 100644 --- a/net-mgmt/gsnmp/pkg-plist +++ b/net-mgmt/gsnmp/pkg-plist @@ -9,9 +9,9 @@ include/gsnmp/session.h 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