$OpenBSD: patch-Makefile_in,v 1.1 2011/07/08 11:19:35 jasper Exp $ --- Makefile.in.orig Wed Oct 3 00:00:02 2001 +++ Makefile.in Fri Jul 8 13:14:14 2011 @@ -10,10 +10,10 @@ pure: $(OBJECTS) purify $(CC) -o $(PROGNAME) $(OBJECTS) .C.o: - $(CC) -c -DDATA_DIR=$(INSTALL_DATADIR) $(EXTRA_FLAGS) ${OPTIMIZATION} $< + $(CC) $(CFLAGS) -c -DDATA_DIR=$(INSTALL_DATADIR) $< .c.o: - $(CC) -c $(EXTRA_FLAGS) $(OPTIMIZATION) $< + $(CC) $(CFLAGS) -c -DDATA_DIR=$(INSTALL_DATADIR) $< remake: clean all @@ -22,12 +22,12 @@ clean: spotless: clean -rm -rf Makefile .* install: - $(INSTALL) -d $(INSTALL_BINDIR) - $(INSTALL) $(PROGNAME) $(INSTALL_BINDIR) - $(INSTALL) -d $(INSTALL_DATADIR) - $(INSTALL) vulns.i4d $(INSTALL_DATADIR) - $(INSTALL) -d $(INSTALL_MANDIR)/man1 - $(INSTALL) docs/its4.1 $(INSTALL_MANDIR)/man1/ + $(INSTALL) -d $(DESTDIR)$(INSTALL_BINDIR) + $(INSTALL) $(PROGNAME) $(DESTDIR)$(INSTALL_BINDIR) + $(INSTALL) -d $(DESTDIR)$(INSTALL_DATADIR) + $(INSTALL) vulns.i4d $(DESTDIR)$(INSTALL_DATADIR) + $(INSTALL) -d $(DESTDIR)$(INSTALL_MANDIR)/man1 + $(INSTALL) docs/its4.1 $(DESTDIR)$(INSTALL_MANDIR)/man1/ echo "Installation complete." # Dependencies generated by g++ -M *.C | dependstrip >> Makefile.in