summaryrefslogtreecommitdiff
path: root/editors/xemacs
diff options
context:
space:
mode:
authoragc <agc>1999-08-25 13:37:34 +0000
committeragc <agc>1999-08-25 13:37:34 +0000
commit180af65efcbfb9594cafbaf1302968edfdc791e0 (patch)
tree4e6397ac799b96e60809f2cb1c097771c079275a /editors/xemacs
parent60a78b505626e9b3ea90765f6fe799033a8f8d0f (diff)
downloadpkgsrc-180af65efcbfb9594cafbaf1302968edfdc791e0.tar.gz
Introduce a USE_XAW definition, which is used in package Makefiles, to
denote that the package uses libXaw. Introduce an XAW_TYPE definition, which is defined in /etc/mk.conf by the user, to denote the type of libXaw to use. Possible values are: standard, 3d and xpm. Define USE_XAW in relevant Makefiles. Set default XAW_TYPE in Makefiles which previously did a DEPENDS+= Xaw3d... This means that package builds should not fail because of conflicting Xaw packages being installed on machines.
Diffstat (limited to 'editors/xemacs')
-rw-r--r--editors/xemacs/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/editors/xemacs/Makefile b/editors/xemacs/Makefile
index 2efddd269eb..4865c6a022c 100644
--- a/editors/xemacs/Makefile
+++ b/editors/xemacs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 1999/08/23 08:09:45 tron Exp $
+# $NetBSD: Makefile,v 1.12 1999/08/25 13:37:35 agc Exp $
# FreeBSD Id: Makefile,v 1.1.1.1 1997/09/03 19:27:57 gj Exp
DISTNAME= xemacs-21.1.6
@@ -13,7 +13,8 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}-elc${EXTRACT_SUFX} ${DISTNAME}
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.xemacs.org/
-DEPENDS+= Xaw3d-1.5:../../x11/Xaw3d
+USE_XAW= yes
+
DEPENDS+= gdbm-1.7.3:../../databases/gdbm
DEPENDS+= png-1.0.3:../../graphics/png
DEPENDS+= tiff-3.4:../../graphics/tiff
@@ -29,6 +30,8 @@ BUILD_DEFS+= USE_XFACE
.include "../../mk/bsd.prefs.mk"
+XAW_TYPE?= 3d
+
WITH_DIALOGS= --with-dialogs=athena3d
.if defined(USE_XFACE) && ${USE_XFACE} == YES