diff options
author | linimon <linimon@FreeBSD.org> | 2006-12-11 01:49:59 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2006-12-11 01:49:59 +0800 |
commit | 97c0628578f52c64e1d7a5ec129d905b77ef2734 (patch) | |
tree | 4c222000a9934ca00a97b485f71a89eeeaf156ec /mail/p5-Sendmail-Milter | |
parent | 912ab2d67c54e70323b3f6c06619755574295d02 (diff) | |
download | freebsd-ports-gnome-97c0628578f52c64e1d7a5ec129d905b77ef2734.tar.gz freebsd-ports-gnome-97c0628578f52c64e1d7a5ec129d905b77ef2734.tar.zst freebsd-ports-gnome-97c0628578f52c64e1d7a5ec129d905b77ef2734.zip |
Set to require perl built with threads to save from deprecation. I don't
know of any better way to detect this.
PR: ports/104928
Submitted by: marc@pilgerer.org (new maintainer)
Diffstat (limited to 'mail/p5-Sendmail-Milter')
-rw-r--r-- | mail/p5-Sendmail-Milter/Makefile | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/mail/p5-Sendmail-Milter/Makefile b/mail/p5-Sendmail-Milter/Makefile index c34b18b503ec..6ba66ca778f6 100644 --- a/mail/p5-Sendmail-Milter/Makefile +++ b/mail/p5-Sendmail-Milter/Makefile @@ -12,15 +12,20 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Sendmail PKGNAMEPREFIX= p5- -MAINTAINER= ports@FreeBSD.org -COMMENT= A module to write mail filters in Perl using sendmail's mail filter API - -IGNORE= "Requires perl compiled manually with threads." -DEPRECATED= ${IGNORE} -EXPIRATION_DATE=2006-12-01 +MAINTAINER= marc@pilgerer.org +COMMENT= Module to write mail filters in Perl using sendmail's mail filter API PERL_CONFIGURE= yes MAN3= Sendmail::Milter.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if exists(${PERL5}) +PERLTHREADS!= ${PERL5} -V:usethreads | ${AWK} '/define/ { print "define"; exit }' +.if ${PERLTHREADS} != "define" +IGNORE= requires perl to be built with -DWITH_THREADS +.endif +.endif + +.include <bsd.port.post.mk> |