svn commit: r389081 - head/www/mod_perl2
Mathieu Arnold
mat at FreeBSD.org
Wed Jun 10 17:15:33 UTC 2015
Author: mat
Date: Wed Jun 10 17:15:32 2015
New Revision: 389081
URL: https://svnweb.freebsd.org/changeset/ports/389081
Log:
Check that PERL exists before running it.
With hat: perl@
Sponsored by: Absolight
Modified:
head/www/mod_perl2/Makefile
Modified: head/www/mod_perl2/Makefile
==============================================================================
--- head/www/mod_perl2/Makefile Wed Jun 10 17:13:51 2015 (r389080)
+++ head/www/mod_perl2/Makefile Wed Jun 10 17:15:32 2015 (r389081)
@@ -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
More information about the svn-ports-all
mailing list