From 1d94299d92367530a001221f5505de55a6811c09 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Thu, 5 Jun 2014 18:37:25 +0000 Subject: [PATCH] - Switch to USES=libtool, drop .la files Approved by: portmgr blanket --- audio/gnomoradio/Makefile | 7 ++++--- audio/gnomoradio/pkg-plist | 12 ++++-------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/audio/gnomoradio/Makefile b/audio/gnomoradio/Makefile index bfc6bed3e82c..f26dfcb6e05e 100644 --- a/audio/gnomoradio/Makefile +++ b/audio/gnomoradio/Makefile @@ -3,7 +3,7 @@ PORTNAME= gnomoradio PORTVERSION= 0.15.1 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= audio net MASTER_SITES= ${MASTER_SITE_SAVANNAH} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -18,13 +18,14 @@ LIB_DEPENDS= libsigc-2.0.so:${PORTSDIR}/devel/libsigc++20 \ libvorbis.so:${PORTSDIR}/audio/libvorbis \ libao.so:${PORTSDIR}/audio/libao -USES= pathfix pkgconfig +USES= pathfix pkgconfig libtool +GNU_CONFIGURE= yes USE_GNOME= gnomeprefix -USE_AUTOTOOLS= libtool USE_LDCONFIG= yes LIBTOOLFLAGS= --tag=CXX CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +CONFIGURE_ENV= LIBS="`pkg-config --libs glibmm-2.4`" post-patch: @${REINPLACE_CMD} -e 's|CCLD = $$(CC)|CCLD = $$(CXX)|' \ diff --git a/audio/gnomoradio/pkg-plist b/audio/gnomoradio/pkg-plist index 8460d0adc111..5bf8e641163e 100644 --- a/audio/gnomoradio/pkg-plist +++ b/audio/gnomoradio/pkg-plist @@ -24,22 +24,18 @@ include/roboradio/song.h include/roboradio/sort-songs.h include/roboradio/state.h include/roboradio/xspf.h -lib/librainbow.a -lib/librainbow.la lib/librainbow.so lib/librainbow.so.0 -lib/libroboradio-audio.a -lib/libroboradio-audio.la +lib/librainbow.so.0.0.0 lib/libroboradio-audio.so lib/libroboradio-audio.so.0 -lib/libroboradio-mp3.a -lib/libroboradio-mp3.la +lib/libroboradio-audio.so.0.0.0 lib/libroboradio-mp3.so lib/libroboradio-mp3.so.0 -lib/libroboradio.a -lib/libroboradio.la +lib/libroboradio-mp3.so.0.0.0 lib/libroboradio.so lib/libroboradio.so.0 +lib/libroboradio.so.0.0.0 sbin/rainbow-hub share/applications/gnomoradio.desktop share/pixmaps/gnomoradio.png