aboutsummaryrefslogtreecommitdiff
path: root/mail/p5-Sendmail-Milter
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-04-08 07:10:52 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-04-08 07:10:52 +0000
commitb8b0a09b5e8937e35e4a70cc4c0e8dc0820498db (patch)
treeff0540d157583199591c9853cec2de3093fabdb6 /mail/p5-Sendmail-Milter
parent39a6282c3c2fbabfa33d0ef8ede5060c1bad9c38 (diff)
Support stage
Fix test for perl threads
Notes
Notes: svn path=/head/; revision=350574
Diffstat (limited to 'mail/p5-Sendmail-Milter')
-rw-r--r--mail/p5-Sendmail-Milter/Makefile7
-rw-r--r--mail/p5-Sendmail-Milter/pkg-plist1
2 files changed, 3 insertions, 5 deletions
diff --git a/mail/p5-Sendmail-Milter/Makefile b/mail/p5-Sendmail-Milter/Makefile
index 09381ce52293..68b66012562d 100644
--- a/mail/p5-Sendmail-Milter/Makefile
+++ b/mail/p5-Sendmail-Milter/Makefile
@@ -13,14 +13,11 @@ COMMENT= Module to write mail filters in Perl using sendmail's mail filter API
USES= perl5
USE_PERL5= configure
-MAN3= Sendmail::Milter.3
-
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if exists(${PERL5})
-PERLTHREADS!= ${PERL5} -V:usethreads | ${AWK} '/define/ { print "define"; exit } END { exit 1 }' || ${ECHO_CMD}
-.if ${PERLTHREADS} != "define"
+PERLTHREADS!= ${PERL} -V::usethreads
+.if ${PERLTHREADS} != "'define';"
IGNORE= requires perl to be built with -DWITH_THREADS
.endif
.else
diff --git a/mail/p5-Sendmail-Milter/pkg-plist b/mail/p5-Sendmail-Milter/pkg-plist
index 9e50dcab9ae2..d884fd632caf 100644
--- a/mail/p5-Sendmail-Milter/pkg-plist
+++ b/mail/p5-Sendmail-Milter/pkg-plist
@@ -1,3 +1,4 @@
+%%PERL5_MAN3%%/Sendmail::Milter.3.gz
%%SITE_PERL%%/%%PERL_ARCH%%/Sendmail/Milter.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Sendmail/sample.pl
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sendmail/Milter/.packlist