summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgarbled <garbled>1998-09-14 21:04:22 +0000
committergarbled <garbled>1998-09-14 21:04:22 +0000
commit161dfdab0a48ad90dbbf938de442487792c06510 (patch)
tree6d9f890791079f23cc9fcddea0c67e630d6ed739
parentaae62c8419b08b095800e7eebef534c84c027af8 (diff)
downloadpkgsrc-161dfdab0a48ad90dbbf938de442487792c06510.tar.gz
Make this package honor LDFLAGS and *poof* it works on ELF.
-rw-r--r--editors/nedit/patches/patch-ad16
1 files changed, 16 insertions, 0 deletions
diff --git a/editors/nedit/patches/patch-ad b/editors/nedit/patches/patch-ad
new file mode 100644
index 00000000000..594ba85f214
--- /dev/null
+++ b/editors/nedit/patches/patch-ad
@@ -0,0 +1,16 @@
+$NetBSD: patch-ad,v 1.1 1998/09/14 21:04:22 garbled Exp $
+--- source/Makefile.common.orig Mon Sep 14 13:33:02 1998
++++ source/Makefile.common Mon Sep 14 13:33:29 1998
+@@ -12,10 +12,10 @@
+ all: nedit nc
+
+ nedit: $(OBJS) ../util/libNUtil.a
+- $(CC) $(CFLAGS) $(OBJS) ../util/libNUtil.a $(LIBS) -o $@
++ $(CC) $(CFLAGS) $(OBJS) ../util/libNUtil.a $(LDFLAGS) $(LIBS) -o $@
+
+ nc: nc.o
+- $(CC) $(CFLAGS) nc.o ../util/libNUtil.a $(LIBS) -o $@
++ $(CC) $(CFLAGS) nc.o ../util/libNUtil.a $(LDFLAGS) $(LIBS) -o $@
+
+ help.o: help.c
+ $(CC) $(CFLAGS) $(BIGGER_STRINGS) -c help.c -o $@