summaryrefslogtreecommitdiff
path: root/math/fxt/files/patch-makefile
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-18 13:03:49 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-18 13:03:49 +0000
commit168dfd58b7e1ccd2f60ffc09e3d8f53590e16869 (patch)
treefbb86edf657eb2b5429f05b02a13702062f3cad0 /math/fxt/files/patch-makefile
parentFix USES=drupal usage (diff)
Stagify.
Approved by: portmgr@
Notes
Notes: svn path=/head/; revision=358270
Diffstat (limited to 'math/fxt/files/patch-makefile')
-rw-r--r--math/fxt/files/patch-makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/math/fxt/files/patch-makefile b/math/fxt/files/patch-makefile
new file mode 100644
index 000000000000..293d5c5a2516
--- /dev/null
+++ b/math/fxt/files/patch-makefile
@@ -0,0 +1,22 @@
+--- makefile.orig 2014-06-18 20:52:27.430827185 +0800
++++ makefile 2014-06-18 20:53:06.009833368 +0800
+@@ -127,13 +127,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