Date: Fri, 31 Mar 2017 15:15:50 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r50114 - head/en_US.ISO8859-1/books/porters-handbook/makefiles Message-ID: <201703311515.v2VFFoX4011256@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Fri Mar 31 15:15:50 2017 New Revision: 50114 URL: https://svnweb.freebsd.org/changeset/doc/50114 Log: Remove ALWAYS_KEEP_DISTFILES, it is not used by anything. Sponsored by: Absolight Modified: head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Thu Mar 30 23:06:52 2017 (r50113) +++ head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Fri Mar 31 15:15:50 2017 (r50114) @@ -3145,39 +3145,6 @@ PATCHFILES= patch1:test</programlisting> <filename>Makefile</filename>.</para> </note> </sect2> - - <sect2 xml:id="makefile-always_keep_distfiles"> - <title><varname>ALWAYS_KEEP_DISTFILES</varname></title> - - <para>If the port uses binary distfiles and has a license that - requires that the source code is provided with packages - distributed in binary form, like <acronym>GPL</acronym>, - <varname>ALWAYS_KEEP_DISTFILES</varname> will instruct the - &os; build cluster to keep a copy of the files specified in - <varname>DISTFILES</varname>. Users of these ports will - generally not need these files, so it is a good idea to only - add the source distfiles to <varname>DISTFILES</varname> when - <varname>PACKAGE_BUILDING</varname> is defined.</para> - - <example - xml:id="ports-master-sites-n-example-always-keep-distfiles"> - - <title>Use of - <varname>ALWAYS_KEEP_DISTFILES</varname></title> - - <programlisting>.if defined(PACKAGE_BUILDING) -DISTFILES+= <replaceable>foo.tar.gz</replaceable> -ALWAYS_KEEP_DISTFILES= yes -.endif</programlisting> - </example> - - <para>When adding extra files to <varname>DISTFILES</varname>, - make sure to also add them to <filename>distinfo</filename>. - Also, the additional files will normally be extracted into - <varname>WRKDIR</varname> as well, which for some ports may - lead to undesirable side effects and require special - handling.</para> - </sect2> </sect1> <sect1 xml:id="makefile-maintainer">
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703311515.v2VFFoX4011256>