Date: Tue, 19 Jul 2011 22:15:59 GMT From: Ben Kaduk <kaduk@mit.edu> To: freebsd-gnats-submit@FreeBSD.org Subject: docs/159047: SRC_BASE is in bsd.port.mk and need not be set in port Makefiles Message-ID: <201107192215.p6JMFx8U083137@red.freebsd.org> Resent-Message-ID: <201107192220.p6JMKBxo030372@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 159047 >Category: docs >Synopsis: SRC_BASE is in bsd.port.mk and need not be set in port Makefiles >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 19 22:20:11 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Ben Kaduk >Release: 9-current >Organization: MIT SIPB >Environment: n/a >Description: Since r1.662 (Fri Dec 17 03:21:19 2010 UTC (7 months ago) by linimon), SRC_BASE has been defined in bsd.port.mk; individual port Makefiles need not set it themselves. Update the porter's handbook example for ports that require kernel sources, accordingly. Prodded-by: zi >How-To-Repeat: >Fix: Patch attached with submission follows: --- book.sgml.orig 2011-07-19 18:11:40.000000000 -0400 +++ book.sgml 2011-07-19 18:12:34.000000000 -0400 @@ -8857,9 +8857,7 @@ kernel source files so that the port can compile. Here is the correct way to determine if the user has them installed:</para> - <programlisting>SRC_BASE?= /usr/src - -.if !exists(${SRC_BASE}/sys/Makefile) + <programlisting>.if !exists(${SRC_BASE}/sys/Makefile) IGNORE= requires kernel sources to be installed .endif</programlisting> </sect1> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107192215.p6JMFx8U083137>