summaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorgj <gj@FreeBSD.org>2004-04-12 21:47:20 +0000
committergj <gj@FreeBSD.org>2004-04-12 21:47:20 +0000
commit88f902f83864c88827af1f29760ba98baade32a7 (patch)
tree2c010d8df5f7a42e45db934bd34e3790ac38cfb7 /editors
parentdd7338aae6d71eff13b17035633e56ac3a018564 (diff)
downloadFreeBSD-ports-88f902f83864c88827af1f29760ba98baade32a7.zip
FreeBSD-ports-88f902f83864c88827af1f29760ba98baade32a7.tar.gz
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>
Diffstat (limited to 'editors')
-rw-r--r--editors/xemacs-devel/Makefile4
-rw-r--r--editors/xemacs/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/editors/xemacs-devel/Makefile b/editors/xemacs-devel/Makefile
index 318b04d..46cff2b 100644
--- a/editors/xemacs-devel/Makefile
+++ b/editors/xemacs-devel/Makefile
@@ -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} ""
diff --git a/editors/xemacs/Makefile b/editors/xemacs/Makefile
index 86f2022..643bf54 100644
--- a/editors/xemacs/Makefile
+++ b/editors/xemacs/Makefile
@@ -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} ""
OpenPOWER on IntegriCloud