diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2003-04-14 03:39:05 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2003-04-14 03:39:05 +0000 |
commit | c69589a8e61e7906effb82e932d8d1d6b7710fb6 (patch) | |
tree | cc515427ba1db42a0051b5d20dd6ec353268bee6 /editors | |
parent | 72b8046267997b2717726eab242b906bc60848bd (diff) | |
download | pkgsrc-c69589a8e61e7906effb82e932d8d1d6b7710fb6.tar.gz |
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 <stephenm at employees dot org>.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/emacs/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile index 5c20ecc4a66..562b9b2fea1 100644 --- a/editors/emacs/Makefile +++ b/editors/emacs/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.53 2003/04/12 10:16:39 uebayasi Exp $ +# $NetBSD: Makefile,v 1.54 2003/04/14 03:39:05 uebayasi Exp $ # FreeBSD Id: Makefile,v 1.30 1997/12/14 02:03:53 asami Exp DISTNAME= emacs-21.3 +PKGREVISION= 1 CATEGORIES= editors MASTER_SITES= ${MASTER_SITE_GNU:=emacs/} @@ -33,6 +34,15 @@ CONFIGURE_ARGS+= --with-gif .include "../../graphics/png/buildlink2.mk" CONFIGURE_ARGS+= --with-png +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M1.6[Q-Z]*) +# 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 + INFO_FILES= emacs vip viper forms gnus mh-e cl sc dired-x ediff \ ccmode message widget reftex forms |