summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-news/rsstool/files/rsstool-1.0.0_rc2-Makefile.patch')
-rw-r--r--net-news/rsstool/files/rsstool-1.0.0_rc2-Makefile.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/net-news/rsstool/files/rsstool-1.0.0_rc2-Makefile.patch b/net-news/rsstool/files/rsstool-1.0.0_rc2-Makefile.patch
new file mode 100644
index 000000000000..3ee9486d66a8
--- /dev/null
+++ b/net-news/rsstool/files/rsstool-1.0.0_rc2-Makefile.patch
@@ -0,0 +1,31 @@
+--- ./Makefile.orig 2007-08-25 15:06:58.000000000 -0400
++++ ./Makefile 2007-08-25 12:04:28.000000000 -0400
+@@ -1,8 +1,14 @@
+ .PHONY: all clean distclean install uninstall
+
+ CC=gcc
++ifdef CFLAGS
++CFLAGS+=-I. -DHAVE_CONFIG_H
++else
+ CFLAGS=-I. -Wall -W -O3 -DHAVE_CONFIG_H
+-LDFLAGS=-s
++endif
++#ifndef LDFLAGS
++#LDFLAGS=-s
++#endif
+ TARGET=rsstool
+
+
+@@ -50,8 +56,11 @@
+ $(CC) $(OBJECTS) $(LDFLAGS) -o $@
+
+ install: all
+- cp -vf $(TARGET) $(DESTDIR)$(BINDIR)/
++ mkdir -p $(DESTDIR)$(BINDIR)
++ cp -vf $(TARGET) $(DESTDIR)$(BINDIR)
+
++install-strip: install
++ strip $(DESTDIR)$(BINDIR)/$(TARGET)
+
+ uninstall:
+ rm -f $(DESTDIR)$(BINDIR)/$(TARGET)