- Fix build as non-root (similar to what mail/mutt does)
Approved by: portmgr blanket
This commit is contained in:
parent
d9ab5d229a
commit
07557d27c2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397636
18
mail/mutt14/files/patch-staging-Makefile.am
Normal file
18
mail/mutt14/files/patch-staging-Makefile.am
Normal file
@ -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@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)
|
@ -1,5 +1,5 @@
|
||||
bin/mutt
|
||||
bin/mutt_dotlock
|
||||
@(,mail,2755) bin/mutt_dotlock
|
||||
bin/pgpewrap
|
||||
bin/pgpring
|
||||
@sample etc/Muttrc.sample
|
||||
|
Loading…
Reference in New Issue
Block a user