mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
Check that PERL exists before running it.
With hat: perl@ Sponsored by: Absolight
This commit is contained in:
parent
82511685d5
commit
44cc399ed8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=389081
@ -48,7 +48,12 @@ PLIST_SUB+= AP22=""
|
||||
|
||||
# PR 200697
|
||||
# Test whether the system uses a multithreaded perl
|
||||
.if exists(${PERL})
|
||||
HAS_ITHREADS!= ${PERL} -e 'use Config; print $$Config{useithreads} ? 1 : 0'
|
||||
.else
|
||||
# ASsume true when building packages5.
|
||||
HAS_ITHREADS= 1
|
||||
.endif
|
||||
.if ${HAS_ITHREADS:M1}
|
||||
PLIST_SUB+= ITHREADS=""
|
||||
.else
|
||||
|
Loading…
Reference in New Issue
Block a user