aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2014-10-30 22:17:05 +0800
committermat <mat@FreeBSD.org>2014-10-30 22:17:05 +0800
commita12c46a7a6ec8583825cd68039780e4506bab2d3 (patch)
treed4f0b4d8357e54e1df209414473c5394c454cc37 /graphics
parentc47de4413652040764be7c1fca5887a40e982c74 (diff)
downloadfreebsd-ports-gnome-a12c46a7a6ec8583825cd68039780e4506bab2d3.tar.gz
freebsd-ports-gnome-a12c46a7a6ec8583825cd68039780e4506bab2d3.tar.zst
freebsd-ports-gnome-a12c46a7a6ec8583825cd68039780e4506bab2d3.zip
Fix building as a user.
Sponsored by: Absolight
Diffstat (limited to 'graphics')
-rw-r--r--graphics/frei0r/files/patch-doc__Makefile.in27
1 files changed, 27 insertions, 0 deletions
diff --git a/graphics/frei0r/files/patch-doc__Makefile.in b/graphics/frei0r/files/patch-doc__Makefile.in
new file mode 100644
index 000000000000..1b82a92825e2
--- /dev/null
+++ b/graphics/frei0r/files/patch-doc__Makefile.in
@@ -0,0 +1,27 @@
+--- doc/Makefile.in.orig 2014-10-30 13:59:09 UTC
++++ doc/Makefile.in
+@@ -211,7 +211,7 @@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ htmldocs_DATA = html
+-htmldocsdir = ${prefix}/share/doc/${PACKAGE}
++htmldocsdir = /usr/local/share/doc/frei0r
+ all: all-am
+
+ .SUFFIXES:
+@@ -418,12 +418,12 @@
+ -cp -ra html $(distdir)/doc/
+
+ install-data:
+- install -c -m 644 -d $(htmldocs_DATA) $(htmldocsdir)
++ install -c -m 644 -d $(htmldocs_DATA) $(DESTDIR)$(htmldocsdir)
+
+ # Modify the install hook, so we can install directories
+ install-htmldocsDATA:
+- mkdir -p $(htmldocsdir)
+- cp -r ./html $(htmldocsdir)/
++ mkdir -p $(DESTDIR)$(htmldocsdir)
++ cp -r ./html $(DESTDIR)$(htmldocsdir)/
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.