Author: emaste
Date: Thu Oct  9 23:05:31 2014
New Revision: 272849
URL: https://svnweb.freebsd.org/changeset/base/272849

Log:
  Build gperf only if we're using g++ (not clang++)
  
  gperf is used as a build tool for g++ and is not needed for Clang
  architectures. Ports and third-party software that need it can use the
  up-to-date devel/gperf port.
  
  PR:           194103 (exp-run)
  Reviewed by:  bapt
  Sponsored by: The FreeBSD Foundation
  Differential Revision: https://reviews.freebsd.org/D886

Modified:
  head/UPDATING
  head/gnu/usr.bin/Makefile
  head/tools/build/mk/OptionalObsoleteFiles.inc

Modified: head/UPDATING
==============================================================================
--- head/UPDATING       Thu Oct  9 22:58:33 2014        (r272848)
+++ head/UPDATING       Thu Oct  9 23:05:31 2014        (r272849)
@@ -31,6 +31,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11
        disable the most expensive debugging functionality run
        "ln -s 'abort:false,junk:false' /etc/malloc.conf".)
 
+20141009:
+       gperf has been removed from the base system for architectures
+       that use clang. Ports that require gperf will obtain it from the
+       devel/gperf port.
+
 20140923:
        pjdfstest has been moved from tools/regression/pjdfstest to
        contrib/pjdfstest .

Modified: head/gnu/usr.bin/Makefile
==============================================================================
--- head/gnu/usr.bin/Makefile   Thu Oct  9 22:58:33 2014        (r272848)
+++ head/gnu/usr.bin/Makefile   Thu Oct  9 23:05:31 2014        (r272849)
@@ -18,7 +18,9 @@ SUBDIR= ${_binutils} \
        ${_texinfo}
 
 .if ${MK_CXX} != "no"
+.if ${MK_GCC} != "no"
 _gperf=                gperf
+.endif
 .if ${MK_GROFF} != "no"
 _groff=                groff
 .endif

Modified: head/tools/build/mk/OptionalObsoleteFiles.inc
==============================================================================
--- head/tools/build/mk/OptionalObsoleteFiles.inc       Thu Oct  9 22:58:33 
2014        (r272848)
+++ head/tools/build/mk/OptionalObsoleteFiles.inc       Thu Oct  9 23:05:31 
2014        (r272849)
@@ -591,13 +591,18 @@ OLD_FILES+=usr/share/man/man1/ctm_smail.
 OLD_FILES+=usr/share/man/man5/ctm.5.gz
 .endif
 
-# devd(8) and gperf(1) not listed here on purpose
+# devd(8) not listed here on purpose
 .if ${MK_CXX} == no
 OLD_FILES+=usr/bin/CC
 OLD_FILES+=usr/bin/c++
 OLD_FILES+=usr/bin/c++filt
 OLD_FILES+=usr/bin/g++
 OLD_FILES+=usr/libexec/cc1plus
+.if ${MK_GCC} == no
+OLD_FILES+=usr/bin/gperf
+OLD_FILES+=usr/share/info/gperf.info.gz
+OLD_FILES+=usr/share/man/man1/gperf.1.gz
+.endif
 .endif
 
 .if ${MK_FMTREE} == no
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to