summaryrefslogtreecommitdiff
path: root/editors/ssam/patches/patch-aa
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-09-16 09:05:27 +0000
committeragc <agc@pkgsrc.org>1998-09-16 09:05:27 +0000
commit3afbd7a81002403d7c81006d11991df3780aa5f0 (patch)
tree408a8d58dd3b04543b3c6451e04145fa20badd2b /editors/ssam/patches/patch-aa
parent3fec6b5a7be9186a72e3a9ceef1d0adf5e45c905 (diff)
downloadpkgsrc-3afbd7a81002403d7c81006d11991df3780aa5f0.tar.gz
Add patch to Makefile.in to use LDFLAGS when linking.
Diffstat (limited to 'editors/ssam/patches/patch-aa')
-rw-r--r--editors/ssam/patches/patch-aa15
1 files changed, 15 insertions, 0 deletions
diff --git a/editors/ssam/patches/patch-aa b/editors/ssam/patches/patch-aa
new file mode 100644
index 00000000000..4d1a461f575
--- /dev/null
+++ b/editors/ssam/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 1998/09/16 09:05:27 agc Exp $
+
+Use LDFLAGS when linking, just in case we're ELF.
+
+--- Makefile.in 1998/09/16 08:48:04 1.1
++++ Makefile.in 1998/09/16 08:48:10
+@@ -22,7 +22,7 @@
+ RANLIB= @RANLIB@
+
+ $(EXE) : $(OBJS)
+- $(CC) $(OBJS) $(LIBS) -o $(EXE)
++ $(CC) ${LDFLAGS} $(OBJS) $(LIBS) -o $(EXE)
+
+ tst: $(EXE)
+ test -d tests || ln -s $(srcdir)/tests .