Date: Wed, 10 Jun 2015 17:15:33 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r389081 - head/www/mod_perl2 Message-ID: <201506101715.t5AHFXW3042825@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506101715.t5AHFXW3042825>