1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Requires a Perl compiled without threads to build.

PR:		ports/99100
Submitted by:	Tim Welch <ports@thepentagon.org>
Approved by:	ahze (mentor)
This commit is contained in:
Shaun Amott 2006-07-05 23:12:23 +00:00
parent 04a2c39f6d
commit ed067eeba5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=167017

View File

@ -29,7 +29,17 @@ CFLAGS+= -DPERL_POLLUTE
MAN1= pnvi.1
MLINKS= pnvi.1 pnex.1 pnvi.1 pnview.1
.include <bsd.port.pre.mk>
post-depends:
.if exists(${PERL})
PERL_THREADED!= ${PERL} -V | ${GREP} -- -Dusethreads=y || ${TRUE}
. if ${PERL_THREADED} != ""
IGNORE= must be built with a NON-threaded Perl
. endif
.endif
post-patch:
${LN} -s /usr/include/sys/queue.h ${WRKSRC}/../include/sys/queue_dist.h
.include <bsd.port.mk>
.include <bsd.port.post.mk>