aboutsummaryrefslogtreecommitdiffstats
path: root/x11/kde4-runtime
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2009-08-10 19:47:36 +0800
committermakc <makc@FreeBSD.org>2009-08-10 19:47:36 +0800
commit535fdd55d1e1a1c33b3cf476095fc0ca55a2fa2a (patch)
treeacc82b024802c87837dd90521b3991bd7c3b2ce5 /x11/kde4-runtime
parent0f3e4afecbce328fa8a996731b691e68dbaef539 (diff)
downloadfreebsd-ports-gnome-535fdd55d1e1a1c33b3cf476095fc0ca55a2fa2a.tar.gz
freebsd-ports-gnome-535fdd55d1e1a1c33b3cf476095fc0ca55a2fa2a.tar.zst
freebsd-ports-gnome-535fdd55d1e1a1c33b3cf476095fc0ca55a2fa2a.zip
Mk/bsd.kde4.mk:
- rework KDE4_BUILDENV All ports: - remove needless post-extract target - make patches relative to ${PATCH_WRKSRC} - clean up - bump PORTREVISION when required databases/akonadi: - replace dependency on boost-python-libs with boost-libs (finally, boost-pyhton does not conflict with boost \o/) deskutils/kdepim*: - replace boost-python-libs with boost-libs - reduce dependencies - respect PREFIX - fix build with qt3 installed misc/kdeedu4: - add dependency on astro/xplanet (for KStars) misc/kdeutils4: - add dependency on devel/qca (for okteta) - make dependency on kdebase non-optional multimedia/kdemultimedia4: - add optional support for PulseAudio x11/kdebase4: - remove needless dependency on kdebase4-runtime x11/kdebase4-runtime, x11/kdebase4-workspace - remove extra CMAKE_ARGS to fix build for qt3/kde3 users x11/kdelibs4 - remove needless dependencies - remove extra CMAKE_ARGS to fix build for qt3/kde3 users
Diffstat (limited to 'x11/kde4-runtime')
-rw-r--r--x11/kde4-runtime/Makefile19
-rw-r--r--x11/kde4-runtime/files/patch-khelpcenter_searchhandlers-khc_mansearch.pl4
2 files changed, 8 insertions, 15 deletions
diff --git a/x11/kde4-runtime/Makefile b/x11/kde4-runtime/Makefile
index 9706e61b9eb7..4f60533ca2ba 100644
--- a/x11/kde4-runtime/Makefile
+++ b/x11/kde4-runtime/Makefile
@@ -16,7 +16,7 @@ DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= Basic applications for the KDE system
-LIB_DEPENDS+= lzma.0:${PORTSDIR}/archivers/lzmautils-devel \
+LIB_DEPENDS= lzma.0:${PORTSDIR}/archivers/lzmautils-devel \
xine.1:${PORTSDIR}/multimedia/libxine \
slp.1:${PORTSDIR}/net/openslp
@@ -32,7 +32,7 @@ MAKE_JOBS_SAFE= yes
MAN1= kdesu.1
MAN8= nepomukserver.8 nepomukservicestub.8
-OPTIONS= PULSEAUDIO "Enable playback via PulseAudio soundserver" off
+OPTIONS= PULSEAUDIO "Enable playback via PulseAudio soundserver" off
.include <bsd.port.pre.mk>
@@ -43,18 +43,11 @@ LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio
CMAKE_ARGS+= -DWITH_PulseAudio:BOOL=OFF
.endif
-CMAKE_ARGS+= -DCMAKE_REQUIRED_FLAGS:STRING="-L${LOCALBASE}/lib"
-CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH:STRING="${LOCALBASE}/include"
-CMAKE_ARGS+= -DCMAKE_EXE_LINKER_FLAGS:STRING="-L${LOCALBASE}/lib"
-
-post-extract:
- ${MKDIR} ${WRKSRC}
-
post-patch:
@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
- ${WRKSRC}/../khelpcenter/infotree.cpp \
- ${WRKSRC}/../kioslave/info/kde-info2html.conf \
- ${WRKSRC}/../kioslave/man/kio_man.cpp \
- ${WRKSRC}/../kioslave/man/man2html.cpp
+ ${PATCH_WRKSRC}/khelpcenter/infotree.cpp \
+ ${PATCH_WRKSRC}/kioslave/info/kde-info2html.conf \
+ ${PATCH_WRKSRC}/kioslave/man/kio_man.cpp \
+ ${PATCH_WRKSRC}/kioslave/man/man2html.cpp
.include <bsd.port.post.mk>
diff --git a/x11/kde4-runtime/files/patch-khelpcenter_searchhandlers-khc_mansearch.pl b/x11/kde4-runtime/files/patch-khelpcenter_searchhandlers-khc_mansearch.pl
index 34c61416467e..c52c60e287b1 100644
--- a/x11/kde4-runtime/files/patch-khelpcenter_searchhandlers-khc_mansearch.pl
+++ b/x11/kde4-runtime/files/patch-khelpcenter_searchhandlers-khc_mansearch.pl
@@ -1,5 +1,5 @@
---- ../khelpcenter/searchhandlers/khc_mansearch.pl.orig 2008-08-02 17:06:48.000000000 +0200
-+++ ../khelpcenter/searchhandlers/khc_mansearch.pl 2008-08-02 17:07:03.000000000 +0200
+--- ./khelpcenter/searchhandlers/khc_mansearch.pl.orig 2008-08-02 17:06:48.000000000 +0200
++++ ./khelpcenter/searchhandlers/khc_mansearch.pl 2008-08-02 17:07:03.000000000 +0200
@@ -55,7 +55,7 @@
while( <MAN> ) {
# print "RAW:$_";