summaryrefslogtreecommitdiff
path: root/homebrew/ahcpd/patches.sh
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/ahcpd/patches.sh')
-rwxr-xr-xhomebrew/ahcpd/patches.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/homebrew/ahcpd/patches.sh b/homebrew/ahcpd/patches.sh
new file mode 100755
index 000000000..29ecc7a84
--- /dev/null
+++ b/homebrew/ahcpd/patches.sh
@@ -0,0 +1,26 @@
+echo 'Creating brew-patch.diff'
+cat << EOF >> brew-patch.diff
+diff --git a/Makefile b/Makefile
+index e52eeb7..28e1043 100644
+--- a/Makefile
++++ b/Makefile
+@@ -40,8 +40,8 @@ install.minimal: all
+ chmod +x $(TARGET)/etc/ahcp/ahcp-config.sh
+
+ install: all install.minimal
+- mkdir -p $(TARGET)$(PREFIX)/man/man8/
+- cp -f ahcpd.man $(TARGET)$(PREFIX)/man/man8/ahcpd.8
++ mkdir -p $(TARGET)$(PREFIX)/share/man/man8/
++ cp -f ahcpd.man $(TARGET)$(PREFIX)/share/man/man8/ahcpd.8
+
+ .PHONY: uninstall
+
+@@ -49,7 +49,7 @@ uninstall:
+ -rm -f $(TARGET)$(PREFIX)/bin/ahcpd
+ -rm -f $(TARGET)$(PREFIX)/bin/ahcp-config.sh
+ -rm -f $(TARGET)$(PREFIX)/bin/ahcp-dummy-config.sh
+- -rm -f $(TARGET)$(PREFIX)/man/man8/ahcpd.8
++ -rm -f $(TARGET)$(PREFIX)/share/man/man8/ahcpd.8
+
+ .PHONY: clean
+EOF