diff options
author | jschauma <jschauma> | 2003-01-20 22:55:43 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2003-01-20 22:55:43 +0000 |
commit | a989c8298e7e2047464bc46bf384810978ad6103 (patch) | |
tree | 313a8e830f7a7c812f8133ef2e85296c56ea9e08 /mail/procmail/patches | |
parent | 5a094f6ea75b48657a7ff019f099d75b437088a7 (diff) | |
download | pkgsrc-a989c8298e7e2047464bc46bf384810978ad6103.tar.gz |
Make this use ${CHMOD} rather than 'chmod', which may be in different
locations (and thus not even in the PATH), depending on the platform.
This partly adresses PR pkg/19804.
Diffstat (limited to 'mail/procmail/patches')
-rw-r--r-- | mail/procmail/patches/patch-ae | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/mail/procmail/patches/patch-ae b/mail/procmail/patches/patch-ae index c8f28e382e8..bb4cd9aebda 100644 --- a/mail/procmail/patches/patch-ae +++ b/mail/procmail/patches/patch-ae @@ -1,9 +1,18 @@ -$NetBSD: patch-ae,v 1.5 2001/06/29 17:19:08 wiz Exp $ +$NetBSD: patch-ae,v 1.6 2003/01/20 22:55:44 jschauma Exp $ -If these lines stay, `make install; make deinstall; make install' fails. +If the ``Housekeeping'' lines stay, `make install; make deinstall; make install' fails. ---- Makefile.1.orig Fri Jun 29 04:20:17 2001 -+++ Makefile.1 +--- Makefile.1.orig Tue Sep 11 00:53:09 2001 ++++ Makefile.1 Mon Jan 20 17:21:22 2003 +@@ -88,7 +88,7 @@ + @-$(MKDIRS) $(MAN1DIR) 2>$(DEVNULL); exit 0 + @-test -d $(MAN5DIR) || $(RM) $(MAN5DIR); exit 0 + @-$(MKDIRS) $(MAN5DIR) 2>$(DEVNULL); exit 0 +- @chmod 0644 $(MANS) ++ @${CHMOD} 0644 $(MANS) + @for a in $(MANS1S); \ + do $(INSTALL) new/$$a.1 $(MAN1DIR)/$$a.$(MAN1SUFFIX) || exit 1; \ + if test "X$(MANCOMPRESS)" != "X"; \ @@ -101,14 +101,12 @@ then $(MANCOMPRESS) -c new/$$a.5 >$(MAN5DIR)/$$a.$(MAN5SUFFIX); \ else :; fi; \ @@ -12,7 +21,8 @@ If these lines stay, `make install; make deinstall; make install' fails. install.bin: $(BINS) $(BASENAME) @-$(MKDIRS) $(BINDIR) 2>$(DEVNULL); exit 0 - @chmod 0755 $(BINS) +- @chmod 0755 $(BINS) ++ @${CHMOD} 0755 $(BINS) $(INSTALL) $(BINS) $(BINDIR) @-dirname / >$(DEVNULL) || $(INSTALL) examples/dirname $(BINDIR) - echo Housekeeping file >install.bin |