aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2004-05-22 06:47:46 +0800
committerlofi <lofi@FreeBSD.org>2004-05-22 06:47:46 +0800
commit4dd6d619da61a73cfc5262eee89356afb7516635 (patch)
treee014af45f573ccb391e3382fe17999c31781f5b4 /Mk
parentf610dd0dc84c1f98fa844453b8807fb957145a53 (diff)
downloadfreebsd-ports-graphics-4dd6d619da61a73cfc5262eee89356afb7516635.tar.gz
freebsd-ports-graphics-4dd6d619da61a73cfc5262eee89356afb7516635.tar.zst
freebsd-ports-graphics-4dd6d619da61a73cfc5262eee89356afb7516635.zip
Move a CONFIGURE_ENV tweak from Makefile.kde to bsd.kde.mk so all ports
which have the working configure bits have a chance to figure out the correct threads libs by themselves.
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.kde.mk1
-rw-r--r--Mk/bsd.kde4.mk1
2 files changed, 2 insertions, 0 deletions
diff --git a/Mk/bsd.kde.mk b/Mk/bsd.kde.mk
index 67e0f3d2e3b..488ca76d257 100644
--- a/Mk/bsd.kde.mk
+++ b/Mk/bsd.kde.mk
@@ -60,6 +60,7 @@ USE_KDELIBS_VER=2
# USE_KDELIBS_VER section
.if defined(USE_KDELIBS_VER)
+CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}"
.if ${USE_KDELIBS_VER} == CVS
LIB_DEPENDS+= kwalletbackend:${PORTSDIR}/x11/kdelibs
USE_QT_VER= CVS
diff --git a/Mk/bsd.kde4.mk b/Mk/bsd.kde4.mk
index 67e0f3d2e3b..488ca76d257 100644
--- a/Mk/bsd.kde4.mk
+++ b/Mk/bsd.kde4.mk
@@ -60,6 +60,7 @@ USE_KDELIBS_VER=2
# USE_KDELIBS_VER section
.if defined(USE_KDELIBS_VER)
+CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}"
.if ${USE_KDELIBS_VER} == CVS
LIB_DEPENDS+= kwalletbackend:${PORTSDIR}/x11/kdelibs
USE_QT_VER= CVS