summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authormagick <magick>2002-12-01 16:51:16 +0000
committermagick <magick>2002-12-01 16:51:16 +0000
commite8149fc800ea51b33ddb12d49ed3291e87b8ab0c (patch)
treeddddb62a9e0b6ef03becfcb87375c8fcffbf6a34 /editors
parent04d1e89078cb9e87acfe373a25395cd77b94bde4 (diff)
downloadpkgsrc-e8149fc800ea51b33ddb12d49ed3291e87b8ab0c.tar.gz
Use the athena widget set if USE_ATHENA is set.
Patch submitted by Masao Uebayashi in private mail.
Diffstat (limited to 'editors')
-rw-r--r--editors/xemacs/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/editors/xemacs/Makefile b/editors/xemacs/Makefile
index 08cf9738516..c2637cf8479 100644
--- a/editors/xemacs/Makefile
+++ b/editors/xemacs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2002/11/01 16:34:38 wiz Exp $
+# $NetBSD: Makefile,v 1.54 2002/12/01 16:51:16 magick Exp $
DISTNAME= xemacs-21.1.14
PKGREVISION= 4
@@ -35,7 +35,14 @@ PLIST_SUBST+= ELSUFX='.gz'
PLIST_SUBST+= ELSUFX=''
.endif
-WITH_DIALOGS= --with-dialogs=motif
+.if defined(USE_ATHENA)
+ WITH_DIALOGS= --with-menubars=athena\
+ --with-scrollbars=athena\
+ --with-dialogs=athena\
+ --with-xim=xlib
+.else
+ WITH_DIALOGS= --with-dialogs=motif
+.endif
.if defined(USE_LDAP) && (${USE_LDAP} == "YES")
WITH_LDAP= --with-ldap
@@ -63,7 +70,9 @@ WITH_CANNA= --without-canna
.include "../../graphics/png/buildlink2.mk"
.include "../../graphics/tiff/buildlink2.mk"
.include "../../graphics/xpm/buildlink2.mk"
+.if !defined(USE_ATHENA)
.include "../../mk/motif.buildlink2.mk"
+.endif
.include "../../mk/ossaudio.buildlink2.mk"
INFOPATH= ${PREFIX}/info:${X11BASE}/info:/usr/local/info