summaryrefslogtreecommitdiff
path: root/Mk/bsd.kde.mk
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2004-05-24 00:34:38 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2004-05-24 00:34:38 +0000
commitcd90ea475b663a6a9326a3f8e5f893816e70a5a1 (patch)
tree580845666fcab3cfcc09e964d138c6a984e31231 /Mk/bsd.kde.mk
parentFix typo in pkg-plist. (diff)
Move the conftargethack into the USE_KDELIBS_VER section so users of
USE_QT_VER won't get it. Breakage of doxygen reported by: pointyhat via kris
Notes
Notes: svn path=/head/; revision=109829
Diffstat (limited to 'Mk/bsd.kde.mk')
-rw-r--r--Mk/bsd.kde.mk17
1 files changed, 11 insertions, 6 deletions
diff --git a/Mk/bsd.kde.mk b/Mk/bsd.kde.mk
index 93552a72d46e..22fdb5e2440c 100644
--- a/Mk/bsd.kde.mk
+++ b/Mk/bsd.kde.mk
@@ -60,7 +60,18 @@ USE_KDELIBS_VER=2
# USE_KDELIBS_VER section
.if defined(USE_KDELIBS_VER)
+
+## This is needed for configure scripts to figure out
+## which threads lib to use
+
CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}"
+
+## XXX - This really belongs into bsd.port.mk
+.if !defined(_NO_KDE_CONFTARGET_HACK)
+CONFIGURE_TARGET=
+CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+.endif
+
.if ${USE_KDELIBS_VER} == CVS
LIB_DEPENDS+= kwalletbackend:${PORTSDIR}/x11/kdelibs
USE_QT_VER= CVS
@@ -164,12 +175,6 @@ CONFIGURE_ENV+= MOC="${MOC}" LIBQT="-l${QTNAME}" \
# End of USE_QT_VER section
-# XXX - This really belongs into bsd.port.mk
-.if !defined(_NO_KDE_CONFTARGET_HACK)
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-.endif
-
# Assemble plist from parts
# <alane@freebsd.org> 2002-12-06
.if defined(KDE_BUILD_PLIST)