From owner-freebsd-ports@freebsd.org Fri Nov 20 03:07:56 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AB074A32491 for ; Fri, 20 Nov 2015 03:07:56 +0000 (UTC) (envelope-from junovitch@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 9F7D81A14 for ; Fri, 20 Nov 2015 03:07:56 +0000 (UTC) (envelope-from junovitch@FreeBSD.org) Received: from Silverstone.nc-us.unovitch.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id 58CE71028 for ; Fri, 20 Nov 2015 03:07:56 +0000 (UTC) (envelope-from junovitch@FreeBSD.org) Date: Thu, 19 Nov 2015 22:07:56 -0500 From: Jason Unovitch To: freebsd-ports@freebsd.org Subject: ${PYTHON_CMD}/${PERL} in _CONFIGURE_WITH not working Message-ID: <20151120030756.GA28016@Silverstone.nc-us.unovitch.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2015 03:07:56 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hello, I seem to be missing something simple found while converting net-mgmt/collectd5 over to option helpers. I've been using the following Makefile entries. PERL_USES= perl5 PERL_CONFIGURE_ENABLE= perl PERL_CONFIGURE_WITH= perl=${PERL} perl-bindings PYTHON_USES= python:2 PYTHON_CONFIGURE_ENABLE= python PYTHON_CONFIGURE_WITH= python=${PYTHON_CMD} Everything looks good for the _WITH variables. The correct variable expansion appears to be taking place: % make -VPERL_CONFIGURE_WITH perl=/usr/local/bin/perl perl-bindings % make -VPYTHON_CONFIGURE_WITH python=/usr/local/bin/python2.7 However, for CONFIGURE_ARGS the ${PERL} and ${PYTHON_CMD} variables are getting swallowed up. The port will fail to compile because of this. % make -VCONFIGURE_ARGS "--enable-python --with-python= " "--enable-perl --with-perl= --with-perl-bindings" Any ideas or suggestions on where to look for this? Thanks! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJWTo6CXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0NURGNTQ1OTkzQkJFMzc3OTNDQUNERUU2 RkQ0OUMzMDE2MUNBQTZFAAoJEG/UnDAWHKpuUGkH/3Cl+zox7vdGnA382G+BjtdU R7ChX/QM92Ml3LZsrmnJZO7rqGoK7V8hgd2LYxDJtlPF5f6lVpDFtFYfd0HSqnvR aAxBkN0zX/qcS2J2f9sxtT9/H8DVQ0NIdVAYe3yypqXsPp3T25zO8i63nyy4v1UI gdt5alEc+9CJAtyt7EQ41NDT6IUsQFoGF7k+0VPo7cppnnX1QxL4J2Vs1nZyGd2l OXyL5Xclz5biAuYX8zVy7RbuTe5NEhm3twbo2/+TmcJyiNdhcXBTBcpPRWnEf9Ew XncFKMJ0Og7RE6zRC9Cw6PbP4MB6zdRnQc7VKlx+fjsoy8rAXLSJFWcn+k4wasg= =B+EW -----END PGP SIGNATURE-----