summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-05-23 07:05:31 +0000
committerdholland <dholland@pkgsrc.org>2012-05-23 07:05:31 +0000
commitcef30286e823186125f9f7bc43cb921460f1c629 (patch)
treead70dde9a38a0a2c3ebc1165528aac110c40ea1f /misc
parente93e53de4ec331d0e2b8c0e8a34c92f428cb8317 (diff)
downloadpkgsrc-cef30286e823186125f9f7bc43cb921460f1c629.tar.gz
Honor pkgsrc CFLAGS and LDFLAGS. Should fix Linux build.
Diffstat (limited to 'misc')
-rw-r--r--misc/reed/distinfo3
-rw-r--r--misc/reed/patches/patch-Makefile_in13
2 files changed, 15 insertions, 1 deletions
diff --git a/misc/reed/distinfo b/misc/reed/distinfo
index 1e2a59125fd..a6cf932fd2e 100644
--- a/misc/reed/distinfo
+++ b/misc/reed/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 11:02:57 agc Exp $
+$NetBSD: distinfo,v 1.4 2012/05/23 07:05:31 dholland Exp $
SHA1 (reed-5.4.tar.gz) = e8c43add662576590597c8989e06011a3e80e93f
RMD160 (reed-5.4.tar.gz) = d1987fc347dc4dcc537112bec9a774a235ae9ffa
Size (reed-5.4.tar.gz) = 32414 bytes
+SHA1 (patch-Makefile_in) = f53eabb6ea6bbd623dafd833c58765f78b4e96b2
SHA1 (patch-aa) = b35a3066d11e8926834f492c425652c59fef1335
diff --git a/misc/reed/patches/patch-Makefile_in b/misc/reed/patches/patch-Makefile_in
new file mode 100644
index 00000000000..95dba26cb62
--- /dev/null
+++ b/misc/reed/patches/patch-Makefile_in
@@ -0,0 +1,13 @@
+$NetBSD: patch-Makefile_in,v 1.1 2012/05/23 07:05:31 dholland Exp $
+
+Honor pkgsrc CFLAGS and LDFLAGS.
+
+--- Makefile.in~ 2002-11-09 00:59:08.000000000 +0000
++++ Makefile.in
+@@ -1,5 +1,5 @@
+ all:
+- $(CC) -O2 -o reed reed.c filemode.c -lcurses
++ $(CC) $(CFLAGS) $(LDFLAGS) -o reed reed.c filemode.c -lcurses
+
+ debug:
+ $(CC) -o reed reed.c filemode.c -lcurses -Wall -g