7080213 gcc-3 should not deliver /usr/gnu/bin/cc and its man page.
authorRich Burridge <rich.burridge@oracle.com>
Fri, 19 Aug 2011 12:10:01 -0700
changeset 485 9b12cda204fe
parent 484 63ed89d661a3
child 486 00cc0158aa99
7080213 gcc-3 should not deliver /usr/gnu/bin/cc and its man page.
components/bcc/Makefile
components/gcc3/gcc-3.p5m
components/imagemagick/Makefile
components/nethack/Makefile
components/perl512/Makefile
--- a/components/bcc/Makefile	Fri Aug 19 08:33:43 2011 -0700
+++ b/components/bcc/Makefile	Fri Aug 19 12:10:01 2011 -0700
@@ -41,7 +41,7 @@
 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
 
 # Create the Makefile before we build
-COMPONENT_PRE_BUILD_ACTION = (cd $(@D) ; $(GMAKE) make.fil)
+COMPONENT_PRE_BUILD_ACTION = (cd $(@D) ; CC="$(CC)" $(GMAKE) make.fil)
 # build with the created Makefile (make.fil)
 COMPONENT_BUILD_ARGS = -f make.fil
 COMPONENT_BUILD_ARGS += PATH="$(@D)/bin:$(PATH)"
--- a/components/gcc3/gcc-3.p5m	Fri Aug 19 08:33:43 2011 -0700
+++ b/components/gcc3/gcc-3.p5m	Fri Aug 19 12:10:01 2011 -0700
@@ -463,10 +463,7 @@
 link path=usr/bin/gccbug target=../sfw/bin/gccbug
 link path=usr/bin/gcov target=../sfw/bin/gcov
 link path=usr/bin/gcpp target=../sfw/bin/cpp
-link path=usr/gnu/bin/cc target=../../sfw/bin/gcc
 link path=usr/gnu/bin/cpp target=../../sfw/bin/cpp
-link path=usr/gnu/share/man/man1/cc.1 \
-    target=../../../../sfw/share/man/man1/gcc.1
 link path=usr/gnu/share/man/man1/cpp.1 \
     target=../../../../sfw/share/man/man1/cpp.1
 link path=usr/sfw/libexec/gcc/$(GNU_ARCH)/3.4.3/as \
--- a/components/imagemagick/Makefile	Fri Aug 19 08:33:43 2011 -0700
+++ b/components/imagemagick/Makefile	Fri Aug 19 12:10:01 2011 -0700
@@ -61,6 +61,11 @@
 #
 CFLAGS+= -errtags
 
+# Needed to generate a decent RUNPATH for Magick.so
+#
+COMPONENT_BUILD_ARGS += LD="$(CC)"
+COMPONENT_BUILD_ARGS += LD_RUN_PATH="$(CONFIGURE_LIBDIR.$(BITS))"
+
 CONFIGURE_OPTIONS+= CFLAGS="$(CFLAGS)"
 CONFIGURE_OPTIONS+= CXXFLAGS="$(CXXFLAGS)"
 CONFIGURE_OPTIONS+= --with-modules
--- a/components/nethack/Makefile	Fri Aug 19 08:33:43 2011 -0700
+++ b/components/nethack/Makefile	Fri Aug 19 12:10:01 2011 -0700
@@ -25,6 +25,8 @@
 
 include ../../make-rules/shared-macros.mk
 
+PATH=$(dir $(CC)):/usr/bin:/usr/gnu/bin
+
 COMPONENT_NAME=		nethack
 COMPONENT_VERSION=	3.4.3
 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
--- a/components/perl512/Makefile	Fri Aug 19 08:33:43 2011 -0700
+++ b/components/perl512/Makefile	Fri Aug 19 12:10:01 2011 -0700
@@ -22,6 +22,8 @@
 #
 include ../../make-rules/shared-macros.mk
 
+PATH=$(dir $(CC)):/usr/bin:/usr/gnu/bin
+
 # I want to override PERL_VERSION and PERL_ARCH because when building
 # a new version of perl it probably isn't installed so shared-macros.mk
 # can't call it.