Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jun 2013 10:13:33 -0400
From:      Kurt Lidl <lidl@pi-coral.com>
To:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   make delete-old misses files
Message-ID:  <51B9D38D.7020605@pi-coral.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------040405090806040804080708
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I've been working with building an reasonably up-to-date revision of 
stable/9,
and noticed that when I execute the 'make delete-old' command to cleanup
old stuff, it misses a few things, due to my configuration of my src.conf.

In particular, I build with the following in my src.conf:

WITHOUT_BIND_ETC=
WITHOUT_BIND_LIBS_LWRES=
WITHOUT_BIND_MTREE=
WITHOUT_BIND_NAMED=
WITHOUT_GCC=

I had to patch the OptionaObsoleteFiles.inc file with the attached diff 
to fully
cleanup the named and gcc pieces that I do not have/want.

It would be keen if someone could commit this fix.  The same problem appears
(from inspection) to happen with CURRENT.

Thanks.

-Kurt




--------------040405090806040804080708
Content-Type: text/plain; charset=UTF-8; x-mac-type="0"; x-mac-creator="0";
 name="tools.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="tools.diff"

diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -311,16 +311,19 @@ OLD_FILES+=usr/sbin/dnssec-signzone
 .endif
 
 .if ${MK_BIND_ETC} == no || ${MK_BIND} == no
 OLD_FILES+=var/named/etc/namedb/PROTO.localhost-v6.rev
 OLD_FILES+=var/named/etc/namedb/PROTO.localhost.rev
 OLD_FILES+=var/named/etc/namedb/make-localhost
 #OLD_FILES+=var/named/etc/namedb/named.conf	# intentionally left out
 OLD_FILES+=var/named/etc/namedb/named.root
+OLD_FILES+=var/named/etc/namedb/master/empty.db
+OLD_FILES+=var/named/etc/namedb/master/localhost-forward.db
+OLD_FILES+=var/named/etc/namedb/master/localhost-reverse.db
 OLD_DIRS+=var/named/etc/namedb/slave
 OLD_DIRS+=var/named/etc/namedb/master
 OLD_DIRS+=var/named/etc/namedb/dynamic
 #OLD_DIRS+=var/named/etc/namedb
 #OLD_DIRS+=var/named/etc
 .endif
 
 #.if ${MK_BIND_LIBS} == no || ${MK_BIND} == no
@@ -1472,16 +1475,17 @@ OLD_FILES+=usr/bin/gcov
 OLD_FILES+=usr/bin/gcpp
 .if ${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "i386"
 OLD_FILES+=usr/include/gcc/4.2/emmintrin.h
 OLD_FILES+=usr/include/gcc/4.2/mm_malloc.h
 OLD_FILES+=usr/include/gcc/4.2/mmintrin.h
 OLD_FILES+=usr/include/gcc/4.2/pmmintrin.h
 OLD_FILES+=usr/include/gcc/4.2/tmmintrin.h
 OLD_FILES+=usr/include/gcc/4.2/xmmintrin.h
+OLD_FILES+=usr/include/gcc/4.2/mm3dnow.h
 .elif ${TARGET_ARCH} == "ia64"
 OLD_FILES+=usr/include/gcc/4.2/ia64intrin.h
 .elif ${TARGET_ARCH} == "arm"
 OLD_FILES+=usr/include/gcc/4.2/mmintrin.h
 .elif ${TARGET_ARCH} == "powerpc" || ${TARGET_ARCH} == "powerpc64"
 OLD_FILES+=usr/include/gcc/4.2/altivec.h
 OLD_FILES+=usr/include/gcc/4.2/ppc-asm.h
 OLD_FILES+=usr/include/gcc/4.2/spe.h

--------------040405090806040804080708--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51B9D38D.7020605>