From owner-freebsd-ports@FreeBSD.ORG Sun Feb 2 10:14:37 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B18B8696 for ; Sun, 2 Feb 2014 10:14:37 +0000 (UTC) Received: from nschwqsrv02p.mx.bigpond.com (nschwqsrv02p.mx.bigpond.com [61.9.189.234]) by mx1.freebsd.org (Postfix) with ESMTP id 481E510A5 for ; Sun, 2 Feb 2014 10:14:37 +0000 (UTC) Received: from nschwcmgw06p ([61.9.190.166]) by nschwmtas03p.mx.bigpond.com with ESMTP id <20140202091322.EDZX23681.nschwmtas03p.mx.bigpond.com@nschwcmgw06p> for ; Sun, 2 Feb 2014 09:13:22 +0000 Received: from hermes.heuristicsystems.com.au ([121.210.107.115]) by nschwcmgw06p with BigPond Outbound id MMDM1n0022VR1hD01MDMMn; Sun, 02 Feb 2014 09:13:22 +0000 X-Authority-Analysis: v=2.0 cv=Pdd9d1dd c=1 sm=1 a=kPFzL+aQTxRlsBNBWdEb+Q==:17 a=1YbsQLIiAAQA:10 a=xfHbY_hv-AsA:10 a=8nJEP1OIZ-IA:10 a=GHIR_BbyAAAA:8 a=R6Y6VhXn2w0A:10 a=6I5d2MoRAAAA:8 a=pLxFEec_3gQp-_54n6gA:9 a=wPNLvfGTeEIA:10 a=kPFzL+aQTxRlsBNBWdEb+Q==:117 Received: from [10.0.5.3] (ewsw01.hs [10.0.5.3]) (authenticated bits=0) by hermes.heuristicsystems.com.au (8.14.5/8.13.6) with ESMTP id s129BvHg008971 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 2 Feb 2014 20:11:58 +1100 (EST) (envelope-from dewayne.geraghty@heuristicsystems.com.au) Message-ID: <52EE0BD3.8000006@heuristicsystems.com.au> Date: Sun, 02 Feb 2014 20:11:47 +1100 From: Dewayne Geraghty User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: "freebsd-ports@freebsd.org" Subject: bsd.apache.mk Malformed conditional when APACHE_VERSION defined Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Feb 2014 10:14:37 -0000 I filed a PR against textproc/htdig which should really be against the ports systems. Would someone be kind enough to advise the current method to specify the apache version. In ports.conf, I currently use USE_APACHE=22 | APACHE_VERSION=22 to specify the required version of apache for: textproc/htdig www/mod_security lang/php5 I believe this PR http://www.freebsd.org/cgi/query-pr.cgi?pr=186364 which probably should be routed to the ports system, and not textproc/htdig The error is: cd /usr/ports/textproc/htdig && make -V UNIQUENAME "/usr/ports/Mk/bsd.apache.mk", line 306: warning: String comparison operator should be either == or != "/usr/ports/Mk/bsd.apache.mk", line 306: Malformed conditional (!empty(_APACHE_VERSION_MINIMUM) && (${_APACHE_VERSION} < ${_APACHE_VERSION_MINIMUM})) "/usr/ports/Mk/bsd.port.mk", line 6603: if-less endif make: fatal errors encountered -- cannot continue which goes away if APACHE_VERSION isn't used, eg. cd /usr/ports/textproc/htdig && make __MAKE_CONF=/dev/null -V UNIQUENAME htdig Regards, Dewayne.