summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorfrueauf <frueauf>1998-02-20 12:09:51 +0000
committerfrueauf <frueauf>1998-02-20 12:09:51 +0000
commitbcc7b6d4a3850c15f70de7165300347d6694b98d (patch)
tree707aa5c303ee23625a2db588e5112f598e297c03 /editors
parent34a429e2934fbc939eb5d294ad77bd6f394e7d22 (diff)
downloadpkgsrc-bcc7b6d4a3850c15f70de7165300347d6694b98d.tar.gz
check if /etc/{make.conf,mk.conf} really exist before including.
Diffstat (limited to 'editors')
-rw-r--r--editors/xemacs20/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/editors/xemacs20/Makefile b/editors/xemacs20/Makefile
index 9635419313d..05154cd3233 100644
--- a/editors/xemacs20/Makefile
+++ b/editors/xemacs20/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 August 1997
# Whom: Michael Elbel (me)
#
-# $NetBSD: Makefile,v 1.13 1998/02/15 10:41:05 frueauf Exp $
+# $NetBSD: Makefile,v 1.14 1998/02/20 12:09:51 frueauf Exp $
# FreeBSD Id: Makefile,v 1.1.1.1 1997/09/03 19:27:57 gj Exp
#
@@ -61,10 +61,14 @@ MAN1= ctags.1 etags.1 gnuattach.1 gnuclient.1 gnudoit.1 \
# <bsd.own.mk>, which includes it.
.if (${OPSYS} == "FreeBSD")
+.if exists(/etc/make.conf)
.include "/etc/make.conf"
+.endif
.else
+.if exists(/etc/mk.conf)
.include "/etc/mk.conf"
.endif
+.endif
.if defined(MANZ)
DCOMPRESSUFFIX= .gz