diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2003-04-14 07:38:42 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2003-04-14 07:38:42 +0000 |
commit | 1bbaff14a87c0c07caeec63ad1a9338bb3ffeefa (patch) | |
tree | bde400461f9ed71ed92acdcc99cd1ae295b89937 /editors/emacs | |
parent | 4d0ac3202c5d31cd0ec230b00f8961fa441205fa (diff) | |
download | pkgsrc-1bbaff14a87c0c07caeec63ad1a9338bb3ffeefa.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/emacs')
-rw-r--r-- | editors/emacs/Makefile | 5 |
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. |