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