summaryrefslogtreecommitdiff
path: root/audio/amarok
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-03-26 13:59:01 +0000
committerjoerg <joerg@pkgsrc.org>2012-03-26 13:59:01 +0000
commit3d8a078d8f62d887ba6fd5b91be5ab8f14176de3 (patch)
tree1d0f88def62b4548b97ad5e74b6c3936daebf4ba /audio/amarok
parent0cd6c1be0e7941d76f7fba1214ad631349460c14 (diff)
downloadpkgsrc-3d8a078d8f62d887ba6fd5b91be5ab8f14176de3.tar.gz
Fix path to perl. Bump revision.
Diffstat (limited to 'audio/amarok')
-rw-r--r--audio/amarok/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/audio/amarok/Makefile b/audio/amarok/Makefile
index 01bae886261..5cacaaf967c 100644
--- a/audio/amarok/Makefile
+++ b/audio/amarok/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.106 2012/03/20 10:28:29 markd Exp $
+# $NetBSD: Makefile,v 1.107 2012/03/26 13:59:01 joerg Exp $
#
DISTNAME= amarok-${VERS}
VERS= 2.5.0
+PKGREVISION= 1
CATEGORIES= audio multimedia
MASTER_SITES= ftp://ftp.kde.org/pub/kde/stable/amarok/${VERS}/src/
EXTRACT_SUFX= .tar.bz2
@@ -18,7 +19,7 @@ DEPENDS+= moodbar-[0-9]*:../../audio/moodbar
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c c++
-USE_TOOLS+= msgfmt pkg-config
+USE_TOOLS+= msgfmt pkg-config perl:run
CMAKE_ARGS+= -DMYSQL_INCLUDE_DIR:PATH=${BUILDLINK_PREFIX.mysql-client}/include/mysql
CMAKE_ARGS+= -DMYSQL_EMBEDDED_LIBRARIES:PATH=${BUILDLINK_PREFIX.mysql-server}/lib/mysql/libmysqld.a
@@ -26,6 +27,8 @@ CMAKE_ARGS+= -DMYSQL_EMBEDDED_FOUND:BOOL=TRUE
CMAKE_ARGS+= -DHAVE_MYSQL_OPT_EMBEDDED_CONNECTION:BOOL=TRUE
CMAKE_ARGS+= -DMYSQL_LIBRARIES:PATH=${BUILDLINK_PREFIX.mysql-client}/lib/mysql/libmysqlclient.so
+REPLACE_PERL+= src/kconf_update/amarok-2.4.1-tokens_syntax_update.pl
+
SUBST_CLASSES+= mysql
SUBST_STAGE.mysql= post-patch
SUBST_MESSAGE.mysql= Fixup paths for MySQL embedded