diff options
author | lofi <lofi@FreeBSD.org> | 2006-09-13 05:49:38 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2006-09-13 05:49:38 +0800 |
commit | 694ef3d81ef78cec229dadb6b6f4e994b5787de2 (patch) | |
tree | 328b62afe0369870f051c7eb8b5e2e5a98d5d714 /audio/kid3 | |
parent | 2ec79100cc53e54a002683c02a1ce7994345767c (diff) | |
download | freebsd-ports-gnome-694ef3d81ef78cec229dadb6b6f4e994b5787de2.tar.gz freebsd-ports-gnome-694ef3d81ef78cec229dadb6b6f4e994b5787de2.tar.zst freebsd-ports-gnome-694ef3d81ef78cec229dadb6b6f4e994b5787de2.zip |
Prevent libtunepimp and libtunepimp-old from clobbering each other's
libraries and includes and bump PORTREVISION for both. Hack the two remaining
users of libtunepimp-old into compiling.
Diffstat (limited to 'audio/kid3')
-rw-r--r-- | audio/kid3/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/audio/kid3/Makefile b/audio/kid3/Makefile index db00fb96062d..04c9e9d69e2d 100644 --- a/audio/kid3/Makefile +++ b/audio/kid3/Makefile @@ -18,7 +18,7 @@ LIB_DEPENDS= id3-3.8.3:${PORTSDIR}/audio/id3lib \ FLAC.7:${PORTSDIR}/audio/flac \ ogg.5:${PORTSDIR}/audio/libogg \ vorbis.3:${PORTSDIR}/audio/libvorbis \ - tunepimp.3:${PORTSDIR}/audio/libtunepimp-old + tunepimp-0.4.3:${PORTSDIR}/audio/libtunepimp-old USE_KDELIBS_VER=3 USE_GMAKE= yes @@ -26,6 +26,14 @@ USE_AUTOTOOLS= libtool:15 USE_GETTEXT= yes GNU_CONFIGURE= yes INSTALLS_ICONS= yes +CONFIGURE_ARGS+=CFLAGS=-I${LOCALBASE}/include/tunepimp-0.4 \ + LDFLAGS=-L${LOCALBASE}/lib/tunepimp-0.4 + +post-patch: + @${REINPLACE_CMD} -e 's|-ltunepimp|-ltunepimp-0.4|g' \ + -e 's|<tunepimp/tp_c.h>|<tunepimp-0.4/tunepimp/tp_c.h>|g' \ + ${WRKSRC}/configure ${WRKSRC}/kid3/musicbrainzclient.h \ + ${WRKSRC}/admin/Makefile .include <bsd.port.pre.mk> |