From owner-freebsd-current@FreeBSD.ORG Wed Feb 13 13:34:04 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 126B8486; Wed, 13 Feb 2013 13:34:04 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from mail-ve0-f176.google.com (mail-ve0-f176.google.com [209.85.128.176]) by mx1.freebsd.org (Postfix) with ESMTP id 8057E233; Wed, 13 Feb 2013 13:34:03 +0000 (UTC) Received: by mail-ve0-f176.google.com with SMTP id cz10so1015996veb.7 for ; Wed, 13 Feb 2013 05:33:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=FXXdUO59Pi2bYxqg33WK9FQe2YqqaFCUJZgafEeIJu8=; b=Ii1jchjP5k6IT7b98F0vqXU09MPz4fZjLPhpwARLsl4O6JmtIAmsZsy4oFgufcUVYU pXVHJ3F4FX8a6dAk4zdUkRXWcPzcSUuxYmSGWsFh5vUg6EeQ5qPKEM+PGodIFZtuGjLu rYR4nk90SgC1MiMuxuTozlefCV9fkSO4dSlJTFVbGNjw0BnxJzShVvvo3e6ncQLk3HAc Q2dXGTWscHEunXU5zr8RIXb3IkBrktXIyzPTeRBe5CTayNpGzAIa10cZH/nIf8OoUtMV 6Alh6OpDQSyfF+SSzcaMPlbxV/3wdnZX8Jw9DM4RDdbQNSubStHkjyhj0JEDsGHUmSRS dLQw== MIME-Version: 1.0 X-Received: by 10.52.33.68 with SMTP id p4mr15054259vdi.125.1360762436695; Wed, 13 Feb 2013 05:33:56 -0800 (PST) Received: by 10.58.100.147 with HTTP; Wed, 13 Feb 2013 05:33:56 -0800 (PST) In-Reply-To: <511B874A.7080901@kbh.biglobe.ne.jp> References: <511B662C.7030602@zedat.fu-berlin.de> <511B874A.7080901@kbh.biglobe.ne.jp> Date: Wed, 13 Feb 2013 13:33:56 +0000 Message-ID: Subject: Re: ports include /etc/src.conf? i.e. graphics/libfpx From: Tom Evans To: Yamaya Takashi Content-Type: text/plain; charset=UTF-8 Cc: "free >> Current FreeBSD" , "O. Hartmann" , Ports FreeBSD 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 13:34:04 -0000 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