diff options
author | hans <hans@pkgsrc.org> | 2012-01-12 15:51:14 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-01-12 15:51:14 +0000 |
commit | 1c79551e145502fe968e497ea6ba001c921b1936 (patch) | |
tree | d9e8419f67a10a07ea70f60e88c5f77cbe085f3c /mk | |
parent | d82bb0c8d12855a581fa6764d8bb43d56a990f3b (diff) | |
download | pkgsrc-1c79551e145502fe968e497ea6ba001c921b1936.tar.gz |
Look for /usr/dt only if X11_TYPE == native.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/motif.buildlink3.mk | 5 |
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) || \ |