aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.kde4.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.kde4.mk
parent7d11be1f4528de4b5215cf62334ce6e237dac81a (diff)
downloadports-cd90ea475b663a6a9326a3f8e5f893816e70a5a1.tar.gz
ports-cd90ea475b663a6a9326a3f8e5f893816e70a5a1.zip
Notes
Diffstat (limited to 'Mk/bsd.kde4.mk')
-rw-r--r--Mk/bsd.kde4.mk17
1 files changed, 11 insertions, 6 deletions
diff --git a/Mk/bsd.kde4.mk b/Mk/bsd.kde4.mk
index 93552a72d46e..22fdb5e2440c 100644
--- a/Mk/bsd.kde4.mk
+++ b/Mk/bsd.kde4.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)