From b5cfbf400ee36f9d16aefe0b8ca11304cfa09c28 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sat, 13 Apr 2013 16:08:46 +0000 Subject: [PATCH] * Add symlinks for all binaries into $prefix/bin/, making all the tools available via standard paths. This makes only sense for the default compiler, but we currently can't tell haikuporter if the one being built is such a beast. I suppose we need some kind of feature mechanism for ports in order to be able to enable/disable stuff like this from the outside. --- sys-devel/gcc/gcc-2.95.3_110711.recipe | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sys-devel/gcc/gcc-2.95.3_110711.recipe b/sys-devel/gcc/gcc-2.95.3_110711.recipe index 02d735256..40b95ffba 100644 --- a/sys-devel/gcc/gcc-2.95.3_110711.recipe +++ b/sys-devel/gcc/gcc-2.95.3_110711.recipe @@ -103,7 +103,7 @@ INSTALL() make install base=$gccInstallDir - + ### HTML documentation #################################### html_base=$base/html-docs @@ -160,7 +160,7 @@ INSTALL() rm -f $base/lib/gcc-lib/i586-pc-haiku/2.95.3-haiku-$gccDate/include/math.h - ### C++ includes ###################################### + ### C++ includes ########################################## echo "Install C++ includes & library" @@ -169,6 +169,12 @@ INSTALL() ln -snf /boot/system/lib/libstdc++.r4.so $base/lib/ ln -snf /boot/system/lib/libstdc++.so $base/lib/ + + ### Symlink all binaries to $prefix/bin ################### + + mkdir -p $prefix/bin + cd $prefix/bin + ln -sfn $base/bin/* . } LICENSE="GNU GPL v2