diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2011-10-29 16:16:57 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2011-10-29 16:16:57 +0000 |
commit | 3e600d31e7bd4ff328061f7b9bd0035aac058054 (patch) | |
tree | 6d498bced0acaad8f714fb17e5a98d0ac7aae7fc /audio | |
parent | fae65ec05d2078c29b3728af7a87728a2b0d0fd6 (diff) | |
download | ports-3e600d31e7bd4ff328061f7b9bd0035aac058054.tar.gz ports-3e600d31e7bd4ff328061f7b9bd0035aac058054.zip |
Notes
Diffstat (limited to 'audio')
-rw-r--r-- | audio/kid3-kde4/Makefile | 7 | ||||
-rw-r--r-- | audio/kid3-kde4/files/patch-CMakeLists.txt | 10 |
2 files changed, 15 insertions, 2 deletions
diff --git a/audio/kid3-kde4/Makefile b/audio/kid3-kde4/Makefile index 83dfd3554a99..9b5a96d562b0 100644 --- a/audio/kid3-kde4/Makefile +++ b/audio/kid3-kde4/Makefile @@ -7,16 +7,16 @@ PORTNAME= kid3 PORTVERSION= 2.0 +PORTREVISION= 1 CATEGORIES= audio kde MASTER_SITES= SF -PKGNAMESUFFIX= -kde4 MAINTAINER= makc@FreeBSD.org COMMENT= MP3/Ogg/FLAC tag editor for KDE LICENSE= GPLv2 -BUILD_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml +LATEST_LINK= ${PORTNAME}-kde4 USE_KDE4= kdelibs kdeprefix kdehier automoc4 USE_QT_VER= 4 @@ -78,4 +78,7 @@ CMAKE_ARGS+= -DWITH_TUNEPIMP=ON LIB_DEPENDS+= tunepimp.5:${PORTSDIR}/audio/libtunepimp .endif +pre-configure: + ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/CMakeLists.txt + .include <bsd.port.mk> diff --git a/audio/kid3-kde4/files/patch-CMakeLists.txt b/audio/kid3-kde4/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..975927e01b2b --- /dev/null +++ b/audio/kid3-kde4/files/patch-CMakeLists.txt @@ -0,0 +1,10 @@ +--- ./CMakeLists.txt.orig 2011-09-05 16:44:56.000000000 +0000 ++++ ./CMakeLists.txt 2011-10-29 02:35:52.472296337 +0000 +@@ -278,6 +278,7 @@ + find_library(TUNEPIMP_LIBRARIES NAMES tunepimp) + if(TUNEPIMP_INCLUDE_DIR AND TUNEPIMP_LIBRARIES) + message(STATUS "TunePimp found: ${TUNEPIMP_LIBRARIES}") ++ set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_THREAD_LIBS_INIT}) + CHECK_LIBRARY_EXISTS(${TUNEPIMP_LIBRARIES} tp_SetFileNameEncoding "" TUNEPIMP_FOUND_VERSION_4) + CHECK_LIBRARY_EXISTS(${TUNEPIMP_LIBRARIES} tr_GetPUID "" TUNEPIMP_FOUND_VERSION_5) + if(TUNEPIMP_FOUND_VERSION_5) |