diff options
Diffstat (limited to 'security/openfwtk/files/patch-Makefile.common')
-rw-r--r-- | security/openfwtk/files/patch-Makefile.common | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/security/openfwtk/files/patch-Makefile.common b/security/openfwtk/files/patch-Makefile.common new file mode 100644 index 000000000000..5b579f191f3d --- /dev/null +++ b/security/openfwtk/files/patch-Makefile.common @@ -0,0 +1,29 @@ +--- Makefile.common.orig 2007-09-25 06:26:36.000000000 +0400 ++++ Makefile.common 2007-10-12 04:55:16.000000000 +0400 +@@ -34,11 +34,11 @@ + install-etc: $(ETCOBJS) + @for CETC in $(ETCOBJS) ""; do \ + if [ "$$CETC" = "" ]; then continue; fi; \ +- if [ -f $(PREFIX)/etc/$$CETC ]; then \ +- echo "NOT installing $(PREFIX)/$$CETC: exists, skipped"; \ ++ if [ -f $(PREFIX)/etc/openfwtk/$$CETC ]; then \ ++ echo "NOT installing $(PREFIX)/openfwtk/$$CETC: exists, skipped"; \ + else \ +- echo "Installing ETC: $$CETC -> $(PREFIX)/etc"; \ +- cp $$CETC $(PREFIX)/etc; \ ++ echo "Installing ETC: $$CETC -> $(PREFIX)/etc/openfwtk"; \ ++ cp $$CETC $(PREFIX)/etc/openfwtk; \ + fi; \ + done; \ + +@@ -57,8 +57,7 @@ + echo "Creating/updating directory: $$CDIR"; \ + mkdir -p $$CDIR; \ + done; \ +- echo "Installing OpenFWTK base path: OFWTKPATH -> /etc/openfwtk.conf"; \ +- echo "OFWTKPATH=\"$(PREFIX)\"" > /etc/openfwtk.conf ++ echo "Installing OpenFWTK base path: OFWTKPATH -> ${PREFIX}/etc/openfwtk.conf"; \ ++ echo "OFWTKPATH=\"$(PREFIX)\"" > ${PREFIX}/etc/openfwtk.conf + + install: all install-common install-bin install-man install-etc +- $(INSTALLADD) |