opnsense-ports/sysutils/cpu/files/patch-doc__Makefile.in
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

19 lines
740 B
Text

--- doc/Makefile.in.orig 2014-06-06 22:53:04.849107374 +0800
+++ doc/Makefile.in 2014-06-06 22:54:12.397081995 +0800
@@ -447,13 +447,9 @@ uninstall-info: uninstall-info-recursive
install-data-local:
- @if test -f $(sysconfdir)/cpu.conf ; then \
- echo "$@ will not overwrite existing $(sysconfdir)/cpu.conf"; \
- else \
- $(mkinstalldirs) $(sysconfdir); \
- echo "$(INSTALL_DATA) cpu.conf $(sysconfdir)/cpu.conf"; \
- $(INSTALL_DATA) cpu.conf $(sysconfdir)/cpu.conf; \
- fi
+ $(mkinstalldirs) $(DESTDIR)$(sysconfdir); \
+ echo "$(INSTALL_DATA) cpu.conf $(DESTDIR)$(sysconfdir)/cpu.conf.sample"; \
+ $(INSTALL_DATA) cpu.conf $(DESTDIR)$(sysconfdir)/cpu.conf.sample;
uninstall-local:
@if test -f $(sysconfdir)/cpu.conf ; then \