summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authormarkd <markd>2003-06-05 12:09:17 +0000
committermarkd <markd>2003-06-05 12:09:17 +0000
commit1547a9583872ce1ccf230134b40ae06fb066a2a3 (patch)
treefa239998bdfeda3819799a717c6833de43d4f5e9 /editors
parent3e418b03778469fda9e3a27fb20517344c1fa44d (diff)
downloadpkgsrc-1547a9583872ce1ccf230134b40ae06fb066a2a3.tar.gz
Add EMACS_USE_XAW3D variable to control whether emacs builds against
Xaw3D to have a "pretty" scrollbar.
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile
index 40f0474dce5..075c7a068b4 100644
--- a/editors/emacs/Makefile
+++ b/editors/emacs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2003/06/02 01:20:10 jschauma Exp $
+# $NetBSD: Makefile,v 1.58 2003/06/05 12:09:17 markd Exp $
# FreeBSD Id: Makefile,v 1.30 1997/12/14 02:03:53 asami Exp
DISTNAME= emacs-21.3
@@ -34,6 +34,10 @@ CONFIGURE_ARGS+= --with-gif
.include "../../graphics/png/buildlink2.mk"
CONFIGURE_ARGS+= --with-png
+.if defined(EMACS_USE_XAW3D) && !empty(EMACS_USE_XAW3D:M[Yy][Ee][Ss])
+.include "../../x11/Xaw3d/buildlink2.mk"
+.endif
+
.include "../../mk/bsd.prefs.mk"
# This matches NetBSD <1.7 releases and 1.6A-1.6P, where ld is <2.13.2.1.