mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
gcc 2: fix recipe
* Use current source revision. * Copy and paste error in INSTALL(): installDir was used instead of gccInstallDir. Notsure why the bootstrap recipe and this one use different variable names. * Fix stdc++ library symlink when built for secondary architecture.
This commit is contained in:
@@ -7,8 +7,8 @@ LICENSE="
|
||||
"
|
||||
COPYRIGHT="1988-2000 Free Software Foundation, Inc."
|
||||
SRC_URI="
|
||||
git+file://$portBaseDir/../binutils/download/BuildtoolsPM.git#2d0a2c6404ffae1a46eb7e74daab08099b45af2c
|
||||
git+git://github.com/haiku/BuildtoolsPM.git#2d0a2c6404ffae1a46eb7e74daab08099b45af2c
|
||||
git+file://$portBaseDir/../binutils/download/BuildtoolsPM.git#6ff546f23b0259bcd27550aa6ad8aaef89fd1bf6
|
||||
git+git://github.com/haiku/BuildtoolsPM.git#6ff546f23b0259bcd27550aa6ad8aaef89fd1bf6
|
||||
"
|
||||
REVISION="2"
|
||||
ARCHITECTURES="x86_gcc2"
|
||||
@@ -123,7 +123,7 @@ INSTALL()
|
||||
# make all tools available via default paths
|
||||
echo "Symlinking binaries into default path"
|
||||
mkdir -p $binDir
|
||||
symlinkRelative -s $installDir/bin/* $binDir
|
||||
symlinkRelative -s $gccInstallDir/bin/* $binDir
|
||||
|
||||
### Strip #################################################
|
||||
|
||||
@@ -150,5 +150,5 @@ INSTALL()
|
||||
rm -rf $gccInstallDir/include/g++
|
||||
ln -snf /boot/system/develop/headers/c++/2.95.3 $gccInstallDir/include/g++
|
||||
|
||||
ln -snf /boot/system/lib/libstdc++.r4.so $gccInstallDir/lib/
|
||||
ln -snf /boot/system/lib$secondaryArchSubDir/libstdc++.r4.so $gccInstallDir/lib/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user