From owner-freebsd-current@FreeBSD.ORG Wed Feb 13 14:05:43 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 96FFD229; Wed, 13 Feb 2013 14:05:43 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-we0-x234.google.com (we-in-x0234.1e100.net [IPv6:2a00:1450:400c:c03::234]) by mx1.freebsd.org (Postfix) with ESMTP id 0DB9762A; Wed, 13 Feb 2013 14:05:42 +0000 (UTC) Received: by mail-we0-f180.google.com with SMTP id k14so1000250wer.25 for ; Wed, 13 Feb 2013 06:05:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=McK77TgtSjNP7wC2KHzxhn7BWo+jC4axVanr0apQY4Y=; b=pDdVSpWRJ6V5CDE28M6UveMTaDknbfDVXS+jtjohYRMHU1KUS9UkNmpqtIvT4LoP4J M4uAv1wzOguuqe00rI/o8oQpxfoJ6c4MwPo63xLBeWmC2Fx4UX9C10Uak0f2dd8KbxJA Mz1UdmB4LRWidRazSgpEXCIdQUZLmR31RV0oyNb+vbbWh6AqC8dc2nhzv7BjGvVNDjt6 nwVcv69QKMJ2n4F4WSWkxiVfY2dSJI7+X/Yqh/R/GBAwL4pLbwuD89HjtxYhVUxzj9lN A9joIiTbp6x/kU4kVQu8CxH2np2ivuSNmWQ1L15wVUq61/p61fDMfy2Pt0wNYth+SiUF Fhsw== MIME-Version: 1.0 X-Received: by 10.180.8.197 with SMTP id t5mr10186169wia.27.1360764335408; Wed, 13 Feb 2013 06:05:35 -0800 (PST) Received: by 10.216.120.193 with HTTP; Wed, 13 Feb 2013 06:05:35 -0800 (PST) In-Reply-To: References: <511B662C.7030602@zedat.fu-berlin.de> <511B874A.7080901@kbh.biglobe.ne.jp> Date: Wed, 13 Feb 2013 16:05:35 +0200 Message-ID: Subject: Re: ports include /etc/src.conf? i.e. graphics/libfpx From: Kimmo Paasiala To: Tom Evans Content-Type: text/plain; charset=UTF-8 Cc: "free >> Current FreeBSD" , "O. Hartmann" , Ports FreeBSD , Yamaya Takashi X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2013 14:05:43 -0000 On Wed, Feb 13, 2013 at 3:33 PM, Tom Evans wrote: > On Wed, Feb 13, 2013 at 12:30 PM, Yamaya Takashi > wrote: >> On 2013/02/13 19:08, O. Hartmann wrote: >>> Setting only base system source compiler optins in /etc/src.conf, for >>> instance >>> >>> # >>> CXXFLAGS+= -stdlib=libc++ >>> CXXFLAGS+= -std=c++11 >>> >>> >>> which do NOT appear in /etc/make.conf, make building port >>> grahpics/libfpx complaining about unrecognized compiler options. >>> >>> As far a sI know, /etc/src.conf is ONLY for building the source tree of >>> the operating system and make.conf is supposed to contain all stuff >>> necessary for compiling both world and ports, but /etc/src.conf is world >>> only. >>> >>> Am I wrong? >>> >>> Oliver >>> >> Yes. >> Because files/Makefile.bsd includes , >> /etc/src.conf is included. >> >> > > src.conf(5) says: > > The only purpose of src.conf is to control the compilation of the FreeBSD > source code, which is usually located in /usr/src. > > Cheers > > Tom If this is taken literally then could it be said that ports that use bsd.lib.mk are broken because they are using makefile includes from the source tree? -Kimmo