aboutsummaryrefslogtreecommitdiff
path: root/audio/juk
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2007-04-17 14:18:12 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2007-04-17 14:18:12 +0000
commit6291e82d638ade9e42d4168f953cbbeea27327ce (patch)
treec237191df1276adfa47f24f3989e5b3f902e71fd /audio/juk
parent55b05ac5998deedd3857e6549d8797a7f99f9f4c (diff)
downloadports-6291e82d638ade9e42d4168f953cbbeea27327ce.tar.gz
ports-6291e82d638ade9e42d4168f953cbbeea27327ce.zip
Revert change from PR 111440 - juk in fact still does not support
libtunepimp 0.5. Pointy hats to: lwhsu, for not testing properly lofi (myself), for also not testing properly Props to: Dima Panov <fluffy@ael.ru> for paying attention and noticing the error.
Notes
Notes: svn path=/head/; revision=190189
Diffstat (limited to 'audio/juk')
-rw-r--r--audio/juk/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/audio/juk/Makefile b/audio/juk/Makefile
index 26b21f16b261..64ce50cbf427 100644
--- a/audio/juk/Makefile
+++ b/audio/juk/Makefile
@@ -7,7 +7,7 @@
PORTNAME= juk
PORTVERSION= ${KDE_VERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
@@ -21,7 +21,7 @@ COMMENT= KDE audio player
LIB_DEPENDS= akode:${PORTSDIR}/audio/akode \
musicbrainz:${PORTSDIR}/audio/libmusicbrainz \
tag:${PORTSDIR}/audio/taglib \
- tunepimp:${PORTSDIR}/audio/libtunepimp
+ tunepimp-0.4.3:${PORTSDIR}/audio/libtunepimp-old
CONFLICTS= kdemultimedia-3.3*
@@ -36,6 +36,8 @@ USE_GMAKE= yes
WRKSRC= ${WRKDIR}/kdemultimedia-${PORTVERSION}
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
+CONFIGURE_ARGS+=CFLAGS=-I${LOCALBASE}/include/tunepimp-0.4 \
+ LDFLAGS=-L${LOCALBASE}/lib/tunepimp-0.4
.include <bsd.port.pre.mk>
@@ -64,6 +66,9 @@ pre-everything::
post-patch:
@${REINPLACE_CMD} -e 's|LIBS="-ltunepimp $$LIBS"|LIBS="-ltunepimp -liconv $$LIBS"|g' \
${WRKSRC}/configure
+ @${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}/juk/ktrm.cpp ${WRKSRC}/juk/Makefile.in
do-build:
cd ${WRKSRC}/arts/runtime && ${SETENV} ${MAKE_ENV} ${GMAKE}