mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Support stage
Fix test for perl threads
This commit is contained in:
parent
39a6282c3c
commit
b8b0a09b5e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350574
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user