summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch/ppmd/files/ppmd-p10-makefile.patch')
-rw-r--r--app-arch/ppmd/files/ppmd-p10-makefile.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/app-arch/ppmd/files/ppmd-p10-makefile.patch b/app-arch/ppmd/files/ppmd-p10-makefile.patch
new file mode 100644
index 000000000000..f73a187e613d
--- /dev/null
+++ b/app-arch/ppmd/files/ppmd-p10-makefile.patch
@@ -0,0 +1,29 @@
+--- /root/Makefile 2005-09-27 18:36:20.000000000 -0500
++++ Makefile 2005-09-27 18:55:59.000000000 -0500
+@@ -3,16 +3,12 @@
+ TARGET = PPMd
+ OBJS = PPMd.o Model.o
+
+-prefix = /usr/local
++prefix = /usr
+ bindir = $(prefix)/bin
+
+ INSTALL = install
+ INSTALL_PROGRAM = $(INSTALL) -m 755
+
+-CXXFLAGS = -g -fno-exceptions -fno-rtti -pedantic -Wall \
+- -Wno-unknown-pragmas -Wno-sign-compare -Wno-conversion \
+- -O2 -fomit-frame-pointer -fstrict-aliasing
+-
+ $(TARGET): $(OBJS)
+ $(CXX) -o $@ $^
+
+@@ -24,7 +20,7 @@
+ $(RM) $(TARGET)
+
+ install:
+- $(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(bindir)
++ $(INSTALL_PROGRAM) -D $(TARGET) $(DESTDIR)$(bindir)/$(TARGET)
+
+ .PHONY: clean install
+