summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2003-04-14 07:38:42 +0000
committeruebayasi <uebayasi>2003-04-14 07:38:42 +0000
commit7176d6da82a308a8201299559fcc2c863700d7e9 (patch)
treebde400461f9ed71ed92acdcc99cd1ae295b89937 /editors
parent4da307486a87c374ebb27e1d305498b9efb31f7f (diff)
downloadpkgsrc-7176d6da82a308a8201299559fcc2c863700d7e9.tar.gz
Improve a NetBSD version matching pattern in the ld fix conditional
considering future version numbers. Pointed out by tron.
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile
index 562b9b2fea1..7e7a4ff0f83 100644
--- a/editors/emacs/Makefile
+++ b/editors/emacs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2003/04/14 03:39:05 uebayasi Exp $
+# $NetBSD: Makefile,v 1.55 2003/04/14 07:38:42 uebayasi Exp $
# FreeBSD Id: Makefile,v 1.30 1997/12/14 02:03:53 asami Exp
DISTNAME= emacs-21.3
@@ -36,7 +36,8 @@ CONFIGURE_ARGS+= --with-png
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M1.6[Q-Z]*)
+.if ${OPSYS} == "NetBSD" && \
+ (empty(OS_VERSION:M[0-1].[0-5]*) && empty(OS_VERSION:M1.6[A-P]*))
# If using GNU ld 2.13.2.1 or later, avoid creating combined reloc
# sections and .data reloc sections, both of which Emacs can't handle
# properly. Analyzed by Stephen Ma.