summaryrefslogtreecommitdiff
path: root/editors/emacs
diff options
context:
space:
mode:
authorcgd <cgd>1999-06-13 00:22:53 +0000
committercgd <cgd>1999-06-13 00:22:53 +0000
commitb72d205166a715b4d2b99eff9d461c81ea496df1 (patch)
treed58bdef6176818e8e57fc52fd9a9aade0c74d653 /editors/emacs
parentccf84db714947deaec372984c7794954a029cd48 (diff)
downloadpkgsrc-b72d205166a715b4d2b99eff9d461c81ea496df1.tar.gz
When doing ELF, use ORDINARY_LINK instead of START_FILES+LIB_STANDARD.
This works on e.g. NetBSD/i386 (and probably other new-to-ELF ports), as well as NetBSD/alpha. It also looks like it'll work on powerpc, though mips may have problems. If possible, this is probably the 'right' way to do this.
Diffstat (limited to 'editors/emacs')
-rw-r--r--editors/emacs/patches/patch-bf5
1 files changed, 2 insertions, 3 deletions
diff --git a/editors/emacs/patches/patch-bf b/editors/emacs/patches/patch-bf
index b6d79112833..97b047a9044 100644
--- a/editors/emacs/patches/patch-bf
+++ b/editors/emacs/patches/patch-bf
@@ -9,15 +9,14 @@
#define HAVE_WAIT_HEADER
#define WAIT_USE_INT
-@@ -71,6 +71,11 @@
+@@ -71,6 +71,10 @@
says where to find X windows at run time. We convert it to a -rpath option
which is what OSF1 uses. */
#define LD_SWITCH_SYSTEM `echo LD_SWITCH_X_SITE_AUX | sed -e 's/-R/-Wl,-rpath,/'`
+
+#define HAVE_TEXT_START /* No need to define `start_of_text'. */
+#define UNEXEC unexelf.c
-+#define START_FILES pre-crt0.o /usr/lib/crt0.o /usr/lib/crtbegin.o
-+#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o
++#define ORDINARY_LINK
#endif /* __ELF__ */
/* On post 1.3 releases of NetBSD, gcc -nostdlib also clears