aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libmusicbrainz4
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libmusicbrainz4')
-rw-r--r--audio/libmusicbrainz4/Makefile7
-rw-r--r--audio/libmusicbrainz4/pkg-plist2
2 files changed, 8 insertions, 1 deletions
diff --git a/audio/libmusicbrainz4/Makefile b/audio/libmusicbrainz4/Makefile
index 7ee272c0477..6d01e152f7a 100644
--- a/audio/libmusicbrainz4/Makefile
+++ b/audio/libmusicbrainz4/Makefile
@@ -7,19 +7,26 @@
PORTNAME= libmusicbrainz
PORTVERSION= 2.0.2
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ftp://ftp.musicbrainz.org/pub/musicbrainz/
MAINTAINER= ports@FreeBSD.org
COMMENT= 2nd generation incarnation of the CD Index - audio metadata
+LIB_DEPENDS= expat.4:${PORTSDIR}/textproc/expat2
+
USE_GMAKE= yes
USE_GNOME= gnomehack gnometarget pkgconfig
GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g ; \
s|^CXXFLAGS=|#CXXFLAGS=|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-version-info 2:|-version-info 3:|g' \
+ ${WRKSRC}/lib/Makefile.in
.include <bsd.port.mk>
diff --git a/audio/libmusicbrainz4/pkg-plist b/audio/libmusicbrainz4/pkg-plist
index 4bd75cc41bd..0fbbd752d8e 100644
--- a/audio/libmusicbrainz4/pkg-plist
+++ b/audio/libmusicbrainz4/pkg-plist
@@ -10,7 +10,7 @@ include/musicbrainz/musicbrainz.h
include/musicbrainz/queries.h
lib/libmusicbrainz.a
lib/libmusicbrainz.so
-lib/libmusicbrainz.so.2
+lib/libmusicbrainz.so.3
libdata/pkgconfig/libmusicbrainz.pc
@dirrm include/musicbrainz/bitzi
@dirrm include/musicbrainz