From 6bd69072f42f09f1f213716793b625defffa7782 Mon Sep 17 00:00:00 2001 From: max Date: Thu, 16 May 2002 08:37:33 +0000 Subject: Remove patches whose sole purpose was to provide the full path to Perl, and take care of this by a simple perl line in post-patch. Submitted by: Alex Kapranoff --- mail/mailagent/Makefile | 10 ++++++++++ mail/mailagent/files/patch-ag | 17 ----------------- mail/mailagent/files/patch-ah | 17 ----------------- mail/mailagent/files/patch-ai | 17 ----------------- mail/mailagent/files/patch-aj | 17 ----------------- mail/mailagent/files/patch-ak | 17 ----------------- mail/mailagent/files/patch-al | 17 ----------------- mail/mailagent/files/patch-am | 19 ------------------- 8 files changed, 10 insertions(+), 121 deletions(-) delete mode 100644 mail/mailagent/files/patch-ag delete mode 100644 mail/mailagent/files/patch-ah delete mode 100644 mail/mailagent/files/patch-ai delete mode 100644 mail/mailagent/files/patch-aj delete mode 100644 mail/mailagent/files/patch-ak delete mode 100644 mail/mailagent/files/patch-al delete mode 100644 mail/mailagent/files/patch-am (limited to 'mail') diff --git a/mail/mailagent/Makefile b/mail/mailagent/Makefile index 3c3ce65..6c8aee8 100644 --- a/mail/mailagent/Makefile +++ b/mail/mailagent/Makefile @@ -40,6 +40,16 @@ pre-extract: ${ECHO} "Do not build mailagent as root or it won't pass the sanity tests."; \ ${FALSE}; fi +post-patch: + @(cd ${WRKSRC}; \ + ${PERL} -pi.bak \ + -e 's|exec perl -S|exec ${PERL} -S|' \ + agent/edusers.SH agent/magent.sh agent/maildist.SH \ + agent/mailhelp.SH agent/maillist.SH agent/mailpatch.SH \ + agent/package.SH agent/test/TEST agent/test/atail \ + bin/perload misc/getcost/getcost misc/mime/unmime \ + misc/news/newsgate) + post-install: @${MKDIR} ${PREFIX}/share/examples/mailagent @${MKDIR} ${PREFIX}/share/examples/mailagent/misc diff --git a/mail/mailagent/files/patch-ag b/mail/mailagent/files/patch-ag deleted file mode 100644 index eec23ec..0000000 --- a/mail/mailagent/files/patch-ag +++ /dev/null @@ -1,17 +0,0 @@ -*** agent/edusers.SH.orig Thu Aug 10 15:34:55 1995 ---- agent/edusers.SH Thu Jul 25 19:55:26 1996 -*************** -*** 17,22 **** - echo "Extracting agent/edusers (with variable substitutions)" - $spitshell >edusers <edusers <maildist <maildist <mailhelp <mailhelp <maillist <maillist <mailpatch <mailpatch <package <package <magent <magent <