* 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.
This commit is contained in:
Oliver Tappe
2013-04-13 16:08:46 +00:00
parent 2fb46053f1
commit b5cfbf400e

View File

@@ -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