summaryrefslogtreecommitdiff
path: root/sysutils/news/patches/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/news/patches/patch-Makefile')
-rw-r--r--sysutils/news/patches/patch-Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/news/patches/patch-Makefile b/sysutils/news/patches/patch-Makefile
new file mode 100644
index 00000000000..44d1b244746
--- /dev/null
+++ b/sysutils/news/patches/patch-Makefile
@@ -0,0 +1,13 @@
+$NetBSD: patch-Makefile,v 1.1 2012/03/01 16:30:31 hans Exp $
+
+--- Makefile.orig 2004-09-12 19:09:17.000000000 +0200
++++ Makefile 2012-03-01 16:29:15.402613772 +0100
+@@ -6,7 +6,7 @@ INSTALL= install
+ all: ${PROG}
+
+ ${PROG}: ${OFILES}
+- ${CC} ${CFLAGS} -o ${PROG} ${OFILES}
++ ${CC} ${CFLAGS} -o ${PROG} ${OFILES} ${LDFLAGS} ${LIBS}
+
+ install:
+ install -c -m 755 ${PROG} ${PREFIX}/bin/${PROG}