freebsd-ports/math/fxt/files/patch-makefile
Kurt Jaeger 511adaff84 math/fxt: upgrade 2012.06.18 -> 2015.07.17
A substantial number of algorithms have been added, much in the
combinatorial section, but also quite a few others.
Very many routines have been improved (optimizations and
handling corner cases).

Everything (well, all demos) pass valgrind, so a handful of bugs have
been squished that are next to impossible to find otherwise.

Apart from that, a real and ongoing effort has been made for readability.
2015-07-18 16:10:39 +00:00

22 lines
993 B
Text

--- makefile.orig 2015-07-18 10:34:30 UTC
+++ makefile
@@ -197,13 +197,13 @@ install: lib
: '[$@]'
@echo 'PREFIX=$(PREFIX) LIBDIR=$(LIBDIR) INCDIR=$(INCDIR)'
@:
- @test -d $(INCDIR) || mkdir $(INCDIR)
- @$(FXT_INSTALL) $(FXTIDIR)/*.h $(INCDIR)/
- @cd src && for f in $(SHFXTSRCDIRS); do mkdir -p $(INCDIR)/$$f; done
- @cd src && for f in $(SHFXTSRCDIRS); do $(FXT_INSTALL) $$f/*.h $(INCDIR)/$$f; done
+ @test -d $(DESTDIR)$(INCDIR) || mkdir $(DESTDIR)$(INCDIR)
+ @$(FXT_INSTALL) $(FXTIDIR)/*.h $(DESTDIR)$(INCDIR)/
+ @cd src && for f in $(SHFXTSRCDIRS); do mkdir -p $(DESTDIR)$(INCDIR)/$$f; done
+ @cd src && for f in $(SHFXTSRCDIRS); do $(FXT_INSTALL) $$f/*.h $(DESTDIR)$(INCDIR)/$$f; done
@:
- @test -d $(LIBDIR) || mkdir $(LIBDIR)
- @$(FXT_INSTALL) $(FXTLIB) $(LIBDIR)/
+ @test -d $(DESTDIR)$(LIBDIR) || mkdir $(DESTDIR)$(LIBDIR)
+ @$(FXT_INSTALL) $(FXTLIB) $(DESTDIR)$(LIBDIR)/
: '[$@ OK]'
.PHONY: chk-install ##x print whether installed header files are up to date