summaryrefslogtreecommitdiff
path: root/textproc/texi2mdoc/patches/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/texi2mdoc/patches/patch-Makefile')
-rw-r--r--textproc/texi2mdoc/patches/patch-Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/textproc/texi2mdoc/patches/patch-Makefile b/textproc/texi2mdoc/patches/patch-Makefile
new file mode 100644
index 00000000000..419fda5d64c
--- /dev/null
+++ b/textproc/texi2mdoc/patches/patch-Makefile
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2017/07/07 11:30:45 wiz Exp $
+
+Honor LDFLAGS.
+
+--- Makefile.orig 2015-02-25 15:16:14.000000000 +0000
++++ Makefile 2017-07-07 11:29:39.858873095 +0000
+@@ -13,7 +13,7 @@
+ afl: afl/texi2mdoc
+
+ texi2mdoc: $(OBJS)
+- $(CC) -o $@ $(OBJS)
++ $(CC) $(LDFLAGS) -o $@ $(OBJS)
+
+ install: all
+ mkdir -p $(DESTDIR)$(PREFIX)/bin