summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorhans <hans>2012-01-12 15:51:14 +0000
committerhans <hans>2012-01-12 15:51:14 +0000
commit87cf6c7faca1fe454e16ef1cc974a87254be2589 (patch)
treed9e8419f67a10a07ea70f60e88c5f77cbe085f3c /mk
parent5b822662d6d877d57fa1065171e2d3dfff30d005 (diff)
downloadpkgsrc-87cf6c7faca1fe454e16ef1cc974a87254be2589.tar.gz
Look for /usr/dt only if X11_TYPE == native.
Diffstat (limited to 'mk')
-rw-r--r--mk/motif.buildlink3.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/motif.buildlink3.mk b/mk/motif.buildlink3.mk
index c69fc456323..144674de1d6 100644
--- a/mk/motif.buildlink3.mk
+++ b/mk/motif.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: motif.buildlink3.mk,v 1.14 2011/12/07 16:58:54 drochner Exp $
+# $NetBSD: motif.buildlink3.mk,v 1.15 2012/01/12 15:51:14 hans Exp $
#
# Package-settable variables:
#
@@ -29,7 +29,8 @@ BUILD_DEFS+= MOTIF_TYPE MOTIFBASE
# Otherwise, if ${X11BASE} is valid, then use it. Otherwise, use the
# Motif-2.0 specified by ${MOTIF_TYPE_DEFAULT}.
#
-.if exists(/usr/dt/include/Xm/Xm.h) && \
+.if ${X11_TYPE} == "native" && \
+ exists(/usr/dt/include/Xm/Xm.h) && \
exists(/usr/dt/include/Xm/Gadget.h)
_MOTIF_TYPE= dt
.elif exists(${X11BASE}/lib/X11/config/OpenMotif.tmpl) || \