mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
Fix 4 building failed in x86_64 issues. (#1993)
* Fix bdhcalc * Fix ppviewer * Fix helios * Fix lpairs * Remove autoreconf * Remove 'x' * Update helios-1.7.2.recipe * revision update * Change arch variable * x86_64 issues has been fixed upstream * patches of ppviewer hass been merged to upstream * Patches of BDH-Calc has been merged to upstream
This commit is contained in:
@@ -7,10 +7,10 @@ the calculator supports binary, decimal and hexadecimal conversion."
|
||||
HOMEPAGE="http://github.com/HaikuArchives/BDH-Calc"
|
||||
COPYRIGHT="1999 Scott Hammond"
|
||||
LICENSE="Zlib"
|
||||
REVISION="1"
|
||||
SOURCE_URI="git://github.com/HaikuArchives/BDH-Calc.git#6a3433a5fb558f592dd246b400221f2223770e75"
|
||||
REVISION="2"
|
||||
SOURCE_URI="git+https://github.com/HaikuArchives/BDH-Calc#92df9d48db9e1e684e9d28405e7a05f05e6671aa"
|
||||
|
||||
ARCHITECTURES="x86 x86_gcc2 !x86_64"
|
||||
ARCHITECTURES="x86 x86_gcc2 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
bdhcalc = $portVersion
|
||||
@@ -24,21 +24,19 @@ BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
cmd:make
|
||||
cmd:g++
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
g++ -c src/bdh_main.cpp -o bdh_main.o
|
||||
g++ -c src/bdh_view.cpp -o bdh_view.o
|
||||
g++ -lbe bdh_main.o bdh_view.o -o bdhcalc
|
||||
xres -o bdhcalc Ressources/bdh.rsrc
|
||||
mimeset -f bdhcalc
|
||||
make $jobArgs OBJ_DIR=objects
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
mv bdhcalc $appsDir/bdhcalc
|
||||
cp -a objects/bdhcalc $appsDir
|
||||
addAppDeskbarSymlink $appsDir/bdhcalc "BDH Calc"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user