From owner-freebsd-current@FreeBSD.ORG Thu Feb 14 13:12:15 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 667CA88A; Thu, 14 Feb 2013 13:12:15 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 06866151; Thu, 14 Feb 2013 13:12:14 +0000 (UTC) Received: from mr17.lnh.mail.rcn.net ([207.172.157.37]) by smtp02.lnh.mail.rcn.net with ESMTP; 14 Feb 2013 08:12:15 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr17.lnh.mail.rcn.net (MOS 4.3.4-GA) with ESMTP id BXW76255; Thu, 14 Feb 2013 08:12:14 -0500 X-Auth-ID: anat Received: from pool-71-187-31-131.nwrknj.fios.verizon.net (HELO [192.168.1.8]) ([71.187.31.131]) by smtp01.lnh.mail.rcn.net with ESMTP; 14 Feb 2013 08:12:14 -0500 Message-ID: <511CE2AD.8050506@aldan.algebra.com> Date: Thu, 14 Feb 2013 08:12:13 -0500 From: "Mikhail T." User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130209 Thunderbird/17.0.2 MIME-Version: 1.0 To: Tom Evans Subject: Re: ports include /etc/src.conf? i.e. graphics/libfpx References: <511B662C.7030602@zedat.fu-berlin.de> <511B874A.7080901@kbh.biglobe.ne.jp> <511BBDAD.1080806@zedat.fu-berlin.de> <511CD83C.107@aldan.algebra.com> In-Reply-To: X-Mailman-Approved-At: Thu, 14 Feb 2013 13:21:02 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Kimmo Paasiala , "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: Thu, 14 Feb 2013 13:12:15 -0000 14.02.2013 08:02, Tom Evans написав(ла): > I think src.conf is meant only to be included when building src. For > example, bsd.port.mk sets _WITHOUT_SRCCONF before including bsd.own.mk > (which is the makefile that includes src.conf). It's done this since > src.conf was added in 2006, so evidently ports are, by design, not > supposed to include src.conf. Awesome. All that's missing then, is for _WITHOUT_SRCCONF to be automatically added to MAKE_ENV... >>> I would consider them broken! >> On the contrary. I wish, more ports were using the system's bsd.*.mk >> collection -- instead of the godawful autoconf, for example. > Er? What port uses autoconf for driving the building the port? A lot > of ports have build systems that use autoconf, but determining how to > build is always driven by *.mk. > > I don't think part of porting to FreeBSD should be rewriting how the > package builds itself. Hundreds of ports rely on auto-something bundled with the vendor's sources, that's what I meant. As for how to build a particular package, that's up to the port-maintainer. > Either the documentation is wrong, and should be changed, or this > singular port is not behaving as it should. I may sound defensive here, but I'll still repeat, that "this singular port" (and I do, in fact, have other ones like it) started using bsd.lib.mk 5 years before src.conf (and its man-page) was added to the tree. -mi