aboutsummaryrefslogtreecommitdiffstats
path: root/editors/xemacs
diff options
context:
space:
mode:
authorgj <gj@FreeBSD.org>2004-04-13 05:47:20 +0800
committergj <gj@FreeBSD.org>2004-04-13 05:47:20 +0800
commit88f902f83864c88827af1f29760ba98baade32a7 (patch)
tree2c010d8df5f7a42e45db934bd34e3790ac38cfb7 /editors/xemacs
parentdd7338aae6d71eff13b17035633e56ac3a018564 (diff)
downloadfreebsd-ports-gnome-88f902f83864c88827af1f29760ba98baade32a7.tar.gz
freebsd-ports-gnome-88f902f83864c88827af1f29760ba98baade32a7.tar.zst
freebsd-ports-gnome-88f902f83864c88827af1f29760ba98baade32a7.zip
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/xemacs')
-rw-r--r--editors/xemacs/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/editors/xemacs/Makefile b/editors/xemacs/Makefile
index 86f202213445..643bf549c822 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} ""