summaryrefslogtreecommitdiff
path: root/editors/emacs20
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2016-11-11 09:10:41 +0000
committermaya <maya@pkgsrc.org>2016-11-11 09:10:41 +0000
commit6dde0a5f653a1c8b6271de4420fddc48f8491db6 (patch)
treef5b0e4b85ae403ce7ee98b1041324683a5037a2f /editors/emacs20
parent156abb73e3f13b40d42328801bce3e2c1d2aea94 (diff)
downloadpkgsrc-6dde0a5f653a1c8b6271de4420fddc48f8491db6.tar.gz
emacs20: retire elaborate logic to match versions of NetBSD below 1.7
older binutils worked fine without this option, and it was a performance hit, but it's unrealistic to see anyone using such old binutils today. not matching some operating systems will cause runtime crashes. forgotten to apply patch in PR pkg/43091: emacs20 doesn't work (..on linux, which doesn't match the elaborate logic) bump PKGREVISION as it is only apparent at runtime.
Diffstat (limited to 'editors/emacs20')
-rw-r--r--editors/emacs20/Makefile13
1 files changed, 2 insertions, 11 deletions
diff --git a/editors/emacs20/Makefile b/editors/emacs20/Makefile
index f03edd13d09..95f0ea13e73 100644
--- a/editors/emacs20/Makefile
+++ b/editors/emacs20/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.53 2016/07/09 06:38:14 wiz Exp $
+# $NetBSD: Makefile,v 1.54 2016/11/11 09:10:41 maya Exp $
DISTNAME= emacs-20.7
PKGNAME= ${DISTNAME:S/emacs/emacs20/}
-PKGREVISION= 19
+PKGREVISION= 20
CATEGORIES= editors
MASTER_SITES= http://ftp.gnu.org/pub/old-gnu/emacs/ \
ftp://ftp.gnu.org/pub/old-gnu/emacs
@@ -44,19 +44,10 @@ CHECK_WRKREF_SKIP+= bin/emacs-20.7
.include "../../mk/bsd.prefs.mk"
-# This matches NetBSD <1.7 releases and 1.6A-1.6P, where ld is <2.13.2.1.
-.if (${OPSYS} == "NetBSD" && \
- (empty(OS_VERSION:M1.[0-5]*) && \
- empty(OS_VERSION:M1.6_*) && \
- empty(OS_VERSION:M1.6) && \
- empty(OS_VERSION:M1.6.[0-9]*) && \
- empty(OS_VERSION:M1.6[A-P]*))) || \
- (${OPSYS} == "DragonFly")
# 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.
LDFLAGS+= -Wl,-z,nocombreloc
-.endif
.if (${OPSYS} == "NetBSD") && \
!exists(/usr/lib/libgcc_s.so) && !exists(/usr/lib/libgcc.a)