diff options
author | max <max@FreeBSD.org> | 2002-05-16 16:37:33 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 2002-05-16 16:37:33 +0800 |
commit | 6bd69072f42f09f1f213716793b625defffa7782 (patch) | |
tree | 1310c1bc303b4c52c839f45e5ecc870a156a6e50 /mail/mailagent/Makefile | |
parent | 24d86540170ee0f00fe1e27b977c5effcd005e40 (diff) | |
download | freebsd-ports-gnome-6bd69072f42f09f1f213716793b625defffa7782.tar.gz freebsd-ports-gnome-6bd69072f42f09f1f213716793b625defffa7782.tar.zst freebsd-ports-gnome-6bd69072f42f09f1f213716793b625defffa7782.zip |
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 <kapr@acm.org>
Diffstat (limited to 'mail/mailagent/Makefile')
-rw-r--r-- | mail/mailagent/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mail/mailagent/Makefile b/mail/mailagent/Makefile index 3c3ce65fe030..6c8aee89e871 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 |