aboutsummaryrefslogtreecommitdiffstats
path: root/x11/kdebase4-runtime/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kdebase4-runtime/Makefile')
-rw-r--r--x11/kdebase4-runtime/Makefile19
1 files changed, 6 insertions, 13 deletions
diff --git a/x11/kdebase4-runtime/Makefile b/x11/kdebase4-runtime/Makefile
index 9706e61b9eb7..4f60533ca2ba 100644
--- a/x11/kdebase4-runtime/Makefile
+++ b/x11/kdebase4-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>