diff --git a/sci-libs/proj/proj-9.3.0.recipe b/sci-libs/proj/proj-9.3.0.recipe index 4f18e5cd3..86f3c49a7 100644 --- a/sci-libs/proj/proj-9.3.0.recipe +++ b/sci-libs/proj/proj-9.3.0.recipe @@ -11,10 +11,9 @@ CHECKSUM_SHA256="91a3695a004ea28db0448a34460bed4cc3b130e5c7d74339ec999efdab0e547 ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" -if [ "$targetArchitecture" != x86_gcc2 ]; then - commandSuffix=$secondaryArchSuffix - commandBinDir=$binDir -else +commandSuffix=$secondaryArchSuffix +commandBinDir=$binDir +if [ "$targetArchitecture" = x86_gcc2 ]; then commandSuffix= commandBinDir=$prefix/bin fi @@ -92,8 +91,8 @@ BUILD() { cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \ $cmakeDirArgs \ - -DBINDIR=$commandBinDir \ - -DDOCDIR=$docDir + -DCMAKE_INSTALL_BINDIR=$commandBinDir + make -C build $jobArgs }