svn commit: r397636 - in head/mail/mutt14: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Sep 23 19:57:07 UTC 2015
Author: amdmi3
Date: Wed Sep 23 19:57:05 2015
New Revision: 397636
URL: https://svnweb.freebsd.org/changeset/ports/397636
Log:
- Fix build as non-root (similar to what mail/mutt does)
Approved by: portmgr blanket
Added:
head/mail/mutt14/files/patch-staging-Makefile.am (contents, props changed)
Modified:
head/mail/mutt14/pkg-plist
Added: head/mail/mutt14/files/patch-staging-Makefile.am
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/mutt14/files/patch-staging-Makefile.am Wed Sep 23 19:57:05 2015 (r397636)
@@ -0,0 +1,18 @@
+--- Makefile.am.orig 2007-05-23 01:17:52 UTC
++++ Makefile.am
+@@ -121,15 +121,6 @@ patchlist.c: $(srcdir)/PATCHES $(srcdir)
+ $(srcdir)/patchlist.sh < $(srcdir)/PATCHES > patchlist.c
+
+ install-exec-local:
+- if test -f $(DESTDIR)$(bindir)/mutt.dotlock && test -f $(DESTDIR)$(bindir)/mutt_dotlock ; then \
+- rm -f $(DESTDIR)$(bindir)/mutt.dotlock ; \
+- ln -sf $(DESTDIR)$(bindir)/mutt_dotlock $(DESTDIR)$(bindir)/mutt.dotlock ; \
+- fi
+- if test -f $(DESTDIR)$(bindir)/mutt_dotlock && test x at DOTLOCK_GROUP@ != x ; then \
+- chgrp @DOTLOCK_GROUP@ $(DESTDIR)$(bindir)/mutt_dotlock && \
+- chmod @DOTLOCK_PERMISSION@ $(DESTDIR)$(bindir)/mutt_dotlock || \
+- { echo "Can't fix mutt_dotlock's permissions!" >&2 ; exit 1 ; } \
+- fi
+
+ install-data-local: Muttrc
+ $(srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir)
Modified: head/mail/mutt14/pkg-plist
==============================================================================
--- head/mail/mutt14/pkg-plist Wed Sep 23 19:55:00 2015 (r397635)
+++ head/mail/mutt14/pkg-plist Wed Sep 23 19:57:05 2015 (r397636)
@@ -1,5 +1,5 @@
bin/mutt
-bin/mutt_dotlock
+@(,mail,2755) bin/mutt_dotlock
bin/pgpewrap
bin/pgpring
@sample etc/Muttrc.sample
More information about the svn-ports-all
mailing list