From owner-svn-ports-all@FreeBSD.ORG Wed Jun 10 17:15:33 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3AD639CE; Wed, 10 Jun 2015 17:15:33 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 295B2129B; Wed, 10 Jun 2015 17:15:33 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t5AHFXUd042826; Wed, 10 Jun 2015 17:15:33 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t5AHFXW3042825; Wed, 10 Jun 2015 17:15:33 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201506101715.t5AHFXW3042825@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Wed, 10 Jun 2015 17:15:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r389081 - head/www/mod_perl2 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2015 17:15:33 -0000 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