aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/phonon
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2013-10-16 01:56:08 +0800
committerrakuco <rakuco@FreeBSD.org>2013-10-16 01:56:08 +0800
commiteef1b39645c32a927dc4aaa7c7eae4f28044dfd4 (patch)
tree58665dc2ba306b878308ec3cdb2355e1d363098e /multimedia/phonon
parent576f7c95aab3d726afbcd960b2f7b64ccf8a6eaf (diff)
downloadfreebsd-ports-gnome-eef1b39645c32a927dc4aaa7c7eae4f28044dfd4.tar.gz
freebsd-ports-gnome-eef1b39645c32a927dc4aaa7c7eae4f28044dfd4.tar.zst
freebsd-ports-gnome-eef1b39645c32a927dc4aaa7c7eae4f28044dfd4.zip
- Explicitly depend on qt4-corelib, which was otherwise pulled indirectly by
the other Qt dependencies. - Support staging. Commits by makc@ and Schaich Alonso <alonsoschaich@fastmail.fm>, pulled from our area51 repository.
Diffstat (limited to 'multimedia/phonon')
-rw-r--r--multimedia/phonon/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/multimedia/phonon/Makefile b/multimedia/phonon/Makefile
index 46cbb394b077..4cfa82e6d8e5 100644
--- a/multimedia/phonon/Makefile
+++ b/multimedia/phonon/Makefile
@@ -19,7 +19,7 @@ CONFLICTS= qt4-phonon-4*
PHONON_BRANCH= stable
USE_KDE4= kdehier kdeprefix automoc4
-USE_QT4= dbus gui \
+USE_QT4= corelib dbus gui \
qmake_build moc_build rcc_build uic_build
USE_XZ= yes
USES= cmake
@@ -30,7 +30,6 @@ USE_LDCONFIG= yes
OPTIONS_DEFINE= PULSEAUDIO
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPULSEAUDIO}
@@ -49,13 +48,14 @@ pre-configure:
${PATCH_WRKSRC}/CMakeLists.txt
post-install:
- ${LN} -sf ${PREFIX}/include/phonon ${QT_INCDIR}/phonon
- ${LN} -sf ${PREFIX}/include/phonon ${QT_INCDIR}/Phonon
- ${LN} -sf ${PREFIX}/include/KDE/Phonon ${PREFIX}/include/phonon/Phonon
+ ${MKDIR} ${STAGEDIR}${QT_INCDIR}
+ ${MKDIR} ${STAGEDIR}${QT_LIBDIR}
+ ${LN} -sf ${PREFIX}/include/phonon ${STAGEDIR}${QT_INCDIR}/phonon
+ ${LN} -sf ${PREFIX}/include/phonon ${STAGEDIR}${QT_INCDIR}/Phonon
+ ${LN} -sf ${PREFIX}/include/KDE/Phonon ${STAGEDIR}${PREFIX}/include/phonon/Phonon
.for lib in phonon phononexperimental
- ${LN} -sf ${PREFIX}/lib/lib${lib}.so.${PORTVERSION} ${QT_LIBDIR}/lib${lib}.so
- ${LN} -sf ${PREFIX}/lib/lib${lib}.so.${PORTVERSION} ${QT_LIBDIR}/lib${lib}.so.4
+ ${LN} -sf ${PREFIX}/lib/lib${lib}.so.${PORTVERSION} ${STAGEDIR}${QT_LIBDIR}/lib${lib}.so
+ ${LN} -sf ${PREFIX}/lib/lib${lib}.so.${PORTVERSION} ${STAGEDIR}${QT_LIBDIR}/lib${lib}.so.4
.endfor
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>