summaryrefslogtreecommitdiff
path: root/mail/adcomplain
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1998-09-16 11:45:01 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1998-09-16 11:45:01 +0000
commit4055532e859d36cc9008dd6000a278807bdce3bf (patch)
treeda60c47c990f4164b70263aa114f1a130e06e27c /mail/adcomplain
parentBetter fix for perl5-in-current world. (diff)
Use PERL5 variable
Notes
Notes: svn path=/head/; revision=13169
Diffstat (limited to 'mail/adcomplain')
-rw-r--r--mail/adcomplain/Makefile7
-rw-r--r--mail/adcomplain/files/patch-aa2
2 files changed, 7 insertions, 2 deletions
diff --git a/mail/adcomplain/Makefile b/mail/adcomplain/Makefile
index 8d2dba55405f..83b5e0152a5c 100644
--- a/mail/adcomplain/Makefile
+++ b/mail/adcomplain/Makefile
@@ -4,7 +4,7 @@
# Date created: 13 Sep 1997
# Whom: ache@FreeBSD.org
#
-# $Id: Makefile,v 1.17 1998/07/31 14:46:18 ache Exp $
+# $Id: Makefile,v 1.18 1998/09/15 17:23:26 ache Exp $
#
DISTNAME= adcomplain-4.42
@@ -21,6 +21,11 @@ EXTRACT_BEFORE_ARGS= <
NO_WRKSUBDIR= YES
NO_BUILD= YES
+post-patch:
+ cd ${WRKSRC}; \
+ cp adcomplain.pl adcomplain.pl.old; \
+ sed 's=%PERL5%=${PERL5}=' < adcomplain.pl.old > adcomplain.pl
+
do-install:
cd ${WRKSRC}; \
${INSTALL_SCRIPT} adcomplain.pl ${PREFIX}/bin/adcomplain
diff --git a/mail/adcomplain/files/patch-aa b/mail/adcomplain/files/patch-aa
index 9fe4846caf59..e2d9feed6195 100644
--- a/mail/adcomplain/files/patch-aa
+++ b/mail/adcomplain/files/patch-aa
@@ -3,7 +3,7 @@
***************
*** 1,3 ****
--- 1,4 ----
-+ #!/usr/local/bin/perl
++ #!%PERL5%
#! /bin/sh -- # -*- perl -*-
# first line invokes sh. Some systems may need to refer to perl directly, i.e.: