freebsd-ports/net/netatalk/files/patch-config_Makefile.in
Joe Marcus Clarke 30af9f9d1b Update to 2.0.0. See http://netatalk.sourceforge.net/2.0/ReleaseNotes.html
for all the new features, and
http://netatalk.sourceforge.net/2.0/htmldocs/upgrade.html for important
upgrade instructions when moving from 1.6.x.
2004-10-12 02:09:27 +00:00

27 lines
1.3 KiB
Text

--- config/Makefile.in.orig Mon Mar 22 19:22:45 2004
+++ config/Makefile.in Sat Jun 5 22:08:04 2004
@@ -386,22 +386,11 @@
install-config-files: $(CONFFILES) $(GENFILES)
$(mkinstalldirs) $(DESTDIR)$(pkgconfdir)
for f in $(CONFFILES) $(GENFILES); do \
- if test "x$(OVERWRITE_CONFIG)" = "xyes" -o ! -f $(DESTDIR)$(pkgconfdir)/$$f; then \
- echo "$(INSTALL_DATA) $$f $(DESTDIR)$(pkgconfdir)"; \
- $(INSTALL_DATA) $$f $(DESTDIR)$(pkgconfdir); \
- else \
- echo "not overwriting $$f"; \
- fi; \
+ echo "$(INSTALL_DATA) $$f $(DESTDIR)$(pkgconfdir)/$$f.dist"; \
+ $(INSTALL_DATA) $$f $(DESTDIR)$(pkgconfdir)/$$f.dist; \
done
@USE_PAM_TRUE@install-data-local: install-config-files $(PAMFILES)
-@USE_PAM_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pamdir)
-@USE_PAM_TRUE@ if test "x$(OVERWRITE_CONFIG)" = "xyes" -o ! -f $(DESTDIR)$(pamdir)/netatalk; then \
-@USE_PAM_TRUE@ echo "$(INSTALL_DATA) $$f $(DESTDIR)$(pamdir)/netatalk"; \
-@USE_PAM_TRUE@ $(INSTALL_DATA) netatalk.pamd $(DESTDIR)$(pamdir)/netatalk || echo "WARNING: Can't install PAM files"; \
-@USE_PAM_TRUE@ else \
-@USE_PAM_TRUE@ echo "not overwriting $(DESTDIR)$(pamdir)/netatalk"; \
-@USE_PAM_TRUE@ fi;
@USE_PAM_FALSE@install-data-local: install-config-files
# Tell versions [3.59,3.63) of GNU make to not export all variables.