ports/mail/opensmtpd-devel/files/patch-mk_smtpd_Makefile.in
Ashish SHUKLA cec8c4fe51 - Update to 201606062303
- Add fix for issue #702 (in OpenSMTPD) which was resulting in build
  error on FreeBSD 9.x
2016-06-07 09:20:07 +00:00

17 lines
831 B
Text

--- mk/smtpd/Makefile.in.orig 2016-06-06 21:03:28 UTC
+++ mk/smtpd/Makefile.in
@@ -1366,13 +1366,7 @@ install-exec-hook: $(CONFIGFILES) $(MANP
$(MKDIR_P) $(DESTDIR)$(bindir)
$(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)5
$(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)8
-
- @if [ ! -f $(DESTDIR)$(sysconfdir)/smtpd.conf ]; then \
- $(INSTALL) -m 644 smtpd.conf.out $(DESTDIR)$(sysconfdir)/smtpd.conf; \
- else \
- echo "$(DESTDIR)$(sysconfdir)/smtpd.conf already exists, install will not overwrite"; \
- fi
-
+ $(INSTALL) -m 644 smtpd.conf.out $(DESTDIR)$(sysconfdir)/smtpd.conf.sample
$(INSTALL) -m 644 aliases.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/aliases.5
$(INSTALL) -m 644 forward.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/forward.5
$(INSTALL) -m 644 table.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/table.5