Support stage

Fix test for perl threads
This commit is contained in:
Baptiste Daroussin 2014-04-08 07:10:52 +00:00
parent 39a6282c3c
commit b8b0a09b5e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350574
2 changed files with 3 additions and 5 deletions

View file

@ -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

View file

@ -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