You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-arch/ppmd/files/ppmd-p10-makefile.patch

30 lines
691 B

--- a/Makefile 2005-09-27 18:36:20.000000000 -0500
+++ b/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