aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/netdot/files/patch-htdocs_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/netdot/files/patch-htdocs_Makefile')
-rw-r--r--net-mgmt/netdot/files/patch-htdocs_Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/net-mgmt/netdot/files/patch-htdocs_Makefile b/net-mgmt/netdot/files/patch-htdocs_Makefile
new file mode 100644
index 000000000000..6714b4190d0c
--- /dev/null
+++ b/net-mgmt/netdot/files/patch-htdocs_Makefile
@@ -0,0 +1,21 @@
+--- htdocs/Makefile.orig 2014-12-14 15:02:04.000000000 +0000
++++ htdocs/Makefile 2014-12-14 15:02:12.000000000 +0000
+@@ -9,7 +9,7 @@
+
+ all: wipedir dir
+ $(substitute)
+- ln -s $(STAGEDIR)/doc/manual/netdot-manual.htm $(STAGEDIR)/$(DIR)/help/manual.html
++ ln -s $(PREFIX)/doc/manual/netdot-manual.htm $(STAGEDIR)/$(DIR)/help/manual.html
+
+ # Wipe out dir before installing
+ wipedir:
+@@ -21,9 +21,3 @@ dir:
+
+ @echo "Hacking together mason permissions fix..."
+ touch $(STAGEDIR)/$(DIR)/masondata/obj/.__obj_create_marker
+- chown -R $(APACHEUSER):$(APACHEGROUP) $(STAGEDIR)/$(DIR)/masondata
+- chmod 0755 $(STAGEDIR)/$(DIR)/masondata
+-# Graphs can be updated dynamically so apache needs +w
+- chown $(APACHEUSER):$(APACHEGROUP) $(STAGEDIR)/$(DIR)/img/graphs
+- chmod 0750 $(STAGEDIR)/$(DIR)/img/graphs
+-