1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

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.
This commit is contained in:
Michael Nottebrock 2007-04-17 14:18:12 +00:00
parent 55b05ac599
commit 6291e82d63
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190189

View File

@ -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}