From owner-freebsd-ports@FreeBSD.ORG Thu Dec 27 14:21:07 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7A8C71EA; Thu, 27 Dec 2012 14:21:07 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) by mx1.freebsd.org (Postfix) with ESMTP id 882688FC08; Thu, 27 Dec 2012 14:21:06 +0000 (UTC) Received: by mail-we0-f178.google.com with SMTP id x43so4706789wey.9 for ; Thu, 27 Dec 2012 06:21:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=mmrChMR0nmbypLSskCXZdKhHk6yKbDykxcu+IqLjdAA=; b=RWAZuYHZ837DFLLmKDqhdrIhPqsghanZfUYKHhhl+U7UaMmtIPCRyy/hCWp6PfQ4+n 75nmkmRPJXySXIcCjAY0kTkVCa1JN3j0NeCiHmPPSzXQrHhHuDhy5Ji+RKO0YHn4kqa6 yaqr/Oy+Ej/ukKa129rSHBu1XQI9vs0Q6twydauFA8fw+YCC27QVC62spNU4fYC/fS0/ 9GWK5ROlUXBVNPHzACYCR5cGCQ6Vh+ClSHt5HP+Qc4Ust7a3QTnAVjxYRvabx8Pq9I5y 18P73D8HmZGseXYPwtREsHkaS55HipqQYIAQxPQOtXYUXpZ0ZkNfVoPQ3vUf6pRbS0q5 UV5w== MIME-Version: 1.0 Received: by 10.180.24.198 with SMTP id w6mr39985993wif.27.1356618060314; Thu, 27 Dec 2012 06:21:00 -0800 (PST) Received: by 10.216.172.197 with HTTP; Thu, 27 Dec 2012 06:21:00 -0800 (PST) In-Reply-To: <50DC53C9.7020506@FreeBSD.org> References: <1TncE1-0005yN-0m@internal.tormail.org> <87r4mdzoog.wl%hskuhra@eumx.net> <826924ADF5944105BFBC01D6A4AA41A8@black> <50DC53C9.7020506@FreeBSD.org> Date: Thu, 27 Dec 2012 16:21:00 +0200 Message-ID: Subject: Re: Problems with devel/apr1 or options_group From: Kimmo Paasiala To: Olli Hauer Content-Type: text/plain; charset=UTF-8 Cc: Baptiste Daroussin , freebsd-ports@freebsd.org, Dewayne Geraghty X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Dec 2012 14:21:07 -0000 On Thu, Dec 27, 2012 at 3:57 PM, Olli Hauer wrote: > On 2012-12-27 09:38, Dewayne Geraghty wrote: >> While trying to build apache22 with ldap, the dependency apr1 passes a "--without-ldap" flag to apr-util which results in apache >> failing. >> >> * Background * >> Some 450+ packages are built on a 4 monthly cycle, 149 of these are controlled by ports.conf and built using portmaster. This is the >> second time since 2005 that I've been stuck and would appreciate some advice/guidance whether the problem lies with something in apr >> that I am missing, or the use of ${UNIQUENAME}_SET doesn't work with new OPTIONS_GROUP? >> >> We used a script to modify our ports.conf to accommodate the new optionng _SET and _UNSET which worked nicely last time ports were >> built. >> >> These are the relevant options from ports.conf >> devel/apr1: WITH_THREADS | WITH_BDB | WITH_LDAP | WITHOUT_GDBM | APR1_UNSET=GDBM | APR1_SET=THREADS BDB LDAP > [...] > > I suspect here is the mistake > $> cd devel/apr1 > $> make -V UNIQUENAME > apr (-> not apr1) > > I don't work with portmaster (happy tinderbox user ;). > Can you try the following line in your ports.conf > > file ports.conf: devel/apr1: WITH_THREADS | WITH_BDB | WITH_LDAP | WITHOUT_GDBM | APR_UNSET=GDBM | APR_SET=THREADS BDB LDAP > > -- > Regards, > olli Is there any particular reason why the UNIQUENAME couldn't just be the name of the port in all cases? I would make writing the options in optionsng format lot easier. -Kimmo