aboutsummaryrefslogtreecommitdiffstats
path: root/audio/kdemultimedia2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/kdemultimedia2/Makefile')
-rw-r--r--audio/kdemultimedia2/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/audio/kdemultimedia2/Makefile b/audio/kdemultimedia2/Makefile
index ddaa492bc2e..d67ccbedea4 100644
--- a/audio/kdemultimedia2/Makefile
+++ b/audio/kdemultimedia2/Makefile
@@ -28,14 +28,17 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-qt-includes=${X11BASE}/include/qt2 \
--with-qt-libraries=${X11BASE}/lib
-_NO_KDE_FINAL= yes
-.include "${.CURDIR}/../../x11/kde2/Makefile.kde"
-
USE_GMAKE= yes
MAKE_ENV= ${CONFIGURE_ENV}
.include <bsd.port.pre.mk>
+_NO_KDE_FINAL= yes
+.if ${OSVERSION} >= 500029
+_NO_KDE_OBJPRELINK=yes
+.endif
+.include "${.CURDIR}/../../x11/kde2/Makefile.kde"
+
pre-configure:
${PERL} -pi -e "s@all_includes=\"@all_includes=\"-I/usr/include @g" \
${WRKSRC}/acinclude.m4 ${WRKSRC}/aclocal.m4