mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Updated bzr bep file to build with gcc2, the gcc4 build should still work as well, but untested.
This commit is contained in:
@@ -8,12 +8,20 @@ DEPEND=""
|
||||
|
||||
BUILD {
|
||||
cd bzr-2.2b4
|
||||
make
|
||||
if [ -n "$(setgcc | grep '2')" ]; then
|
||||
python setup.py build_ext --allow-python-fallback
|
||||
else
|
||||
python setup.py build
|
||||
fi
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd bzr-2.2b4
|
||||
python setup.py install --prefix=`finddir B_COMMON_DIRECTORY` --root=${DESTDIR}
|
||||
if [ -n "$(setgcc | grep '2')" ]; then
|
||||
python setup.py build_ext --allow-python-fallback install --prefix=`finddir B_COMMON_DIRECTORY` --root=${DESTDIR}
|
||||
else
|
||||
python setup.py install --prefix=`finddir B_COMMON_DIRECTORY` --root=${DESTDIR}
|
||||
fi
|
||||
## Now put the man file(s) in the correct directory
|
||||
mkdir -p ${DESTDIR}$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man/man1
|
||||
mv ${DESTDIR}/$(finddir B_COMMON_DIRECTORY)/man/man1/bzr* ${DESTDIR}/$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man/man1/
|
||||
|
||||
Reference in New Issue
Block a user