1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

Add a check for ${X11BASE}/lib/libXm.so so that a dependency can be added

on open-motif.

PR: 		ports/62401
Submitted by:	Vivek Khera <khera@kcilink.com>
This commit is contained in:
Gary Jennejohn 2004-04-12 21:47:20 +00:00
parent 8d66dfa5d8
commit 2abaca8e66
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106829
2 changed files with 8 additions and 0 deletions

View File

@ -67,6 +67,10 @@ pre-fetch:
# @${ECHO_MSG} "If you want to use GTK, please set the environment variable WANT_GTK "
# @${ECHO_MSG} "and recompile."
#.endif
.if exists(${X11BASE}/lib/libXm.so)
USE_MOTIF= yes
HAVE_MOTIF= yes
.endif
.if defined(HAVE_MOTIF)
.if !defined(MOTIF_STATIC)
@${ECHO_MSG} ""

View File

@ -64,6 +64,10 @@ pre-fetch:
@${ECHO_MSG} "If you want to use GTK, please set the environment variable WANT_GTK "
@${ECHO_MSG} "and recompile."
.endif
.if exists(${X11BASE}/lib/libXm.so)
USE_MOTIF= yes
HAVE_MOTIF= yes
.endif
.if defined(HAVE_MOTIF)
.if !defined(MOTIF_STATIC)
@${ECHO_MSG} ""