From owner-freebsd-apache@FreeBSD.ORG Mon Feb 24 15:13:35 2014 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 128D6F5B; Mon, 24 Feb 2014 15:13:35 +0000 (UTC) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BF85611D4; Mon, 24 Feb 2014 15:13:34 +0000 (UTC) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id 71856BDC5A; Mon, 24 Feb 2014 16:13:33 +0100 (CET) Received: from gw.in.absolight.net (gw-ecl.in.absolight.net [79.143.241.69]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gw.in.absolight.net", Issuer "CA Cert Signing Authority" (not verified)) by prod2.absolight.net (Postfix) with ESMTPSA id 50C8DBDC30; Mon, 24 Feb 2014 16:13:33 +0100 (CET) Received: from ogg.in.absolight.net (ogg.in.absolight.net [79.143.241.239]) by gw.in.absolight.net (Postfix) with ESMTP id C8C4A6127; Mon, 24 Feb 2014 16:13:32 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by ogg.in.absolight.net (Postfix) with ESMTP id 5BA4B697D3D4; Mon, 24 Feb 2014 16:13:32 +0100 (CET) Date: Mon, 24 Feb 2014 16:13:31 +0100 From: Mathieu Arnold To: Eygene Ryabinkin , Mathieu Arnold Subject: Re: Patch for devel/apr1 Message-ID: <2C491D88016B73ABEE3549BF@ogg.in.absolight.net> In-Reply-To: References: <329E85FD56E28E496CF7A8D1@ogg.in.absolight.net> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: apache@freebsd.org, portmgr@freebsd.org X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Feb 2014 15:13:35 -0000 +--On 24 f=C3=A9vrier 2014 18:59:17 +0400 Eygene Ryabinkin = wrote: | It says "OPTIONS_DEFINE contains a list of OPTIONS to be used. These | are independent of each other and are not grouped". Yes, OPTIONS_DEFINE will get you a list of options to choose from that are not grouped and can be used in any combinations. Some ports, like apr1, prefer to group their options regarding to what they do. You can't put an option in OPTIONS_DEFINE and in some other group, it would not end up doing what you would have wanted to start with. |> If you need to globally set some options, you should put things like = this |> in your make.conf: |>=20 |> OPTIONS_SET=3D LDAP |>=20 |> Or like antoine said, if you need them on the command line, WITH=3DLDAP |=20 | I am setting per-port options via | {{{ |# Apache portable library | .if ${.CURDIR:M/usr/ports/devel/apr1} | BATCH=3Dyes | WITH_THREADS=3Dyes | WITHOUT_IPV6=3Dyes | WITH_BDB=3Dyes | WITH_GDBM=3Dyes | WITHOUT_LDAP=3Dyes | WITHOUT_MYSQL=3Dyes | WITHOUT_NDBM=3Dyes | WITHOUT_PGSQL=3Dyes | WITHOUT_SQLITE=3Dyes | WITH_DEVRANDOM=3Dyes | .endif | }}} |=20 | Probably it should be changed to 'WITH=3DTHREADS BDB GDBM ...', but why | WITH_/WITHOUT_ knobs were eliminated? I have over 100 systems where | I have these settings for over than 200 ports on each. Of course, I can | automate that, but what was the reason? What you need to do in that case is put in your make.conf: devel_apr1_SET=3D THREADS BDB GDBM DEVRANDOM devel_apr1_UNSET=3D IPV6 LDAP MYSQL NDBM PGSQL SQLITE You can get the first part for any port by running make -V CONFIGURE_NAME from the ports directory. As for the reason, I don't remember, I think it was because it was a pain to maintain, forcing you to make things like what you did. --=20 Mathieu Arnold