mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
@@ -18,11 +18,11 @@ LICENSE="BSD (3-clause)"
|
||||
HOMEPAGE="https://public.msli.com/lcs/muscle/index.html"
|
||||
SRC_URI="https://public.msli.com/lcs/muscle/muscle6.00.zip"
|
||||
CHECKSUM_SHA256="b12abe12b5cc4aa93126f86ae07a4bcd02ee8d89d692789435debd5becc53437"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
|
||||
#TODO:enable multithreading for the devel package!
|
||||
|
||||
ARCHITECTURES="x86 ?x86_64"
|
||||
ARCHITECTURES="x86 x86_64"
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
# x86_gcc2 is fine as primary target architecture as long as we're building
|
||||
# for a different secondary architecture.
|
||||
@@ -37,6 +37,8 @@ PROVIDES="
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libstdc++$secondaryArchSuffix
|
||||
lib:libgcc_s$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
@@ -54,6 +56,10 @@ PATCHES="muscle-6.00.patchset"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
if [ $effectiveTargetArchitecture == x86_64 ]; then
|
||||
CXXFLAGS="-DMUSCLE_64_BIT_PLATFORM"
|
||||
fi
|
||||
export CXXFLAGS="-D_BSD_SOURCE $CXXFLAGS"
|
||||
cd server
|
||||
make $jobArgs all libmuscle.a
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user