From c34943955276b69fc657981142f8c5da19743a94 Mon Sep 17 00:00:00 2001 From: augiedoggie Date: Fri, 1 Mar 2024 10:28:50 -0700 Subject: [PATCH] rez: switch source to Pe version and enable recipe for 64 bit (#10161) --- haiku-apps/rez/rez-108.recipe | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/haiku-apps/rez/rez-108.recipe b/haiku-apps/rez/rez-108.recipe index 22baef1e2..88184b2ee 100644 --- a/haiku-apps/rez/rez-108.recipe +++ b/haiku-apps/rez/rez-108.recipe @@ -6,12 +6,13 @@ HOMEPAGE="https://github.com/HaikuArchives/Rez/" COPYRIGHT="1996-1998, 2000 Hekkelman Programmatuur B.V. All rights reserved. 1999-2000 Tim Vernum. All rights reserved." LICENSE="BSD (4-clause)" -REVISION="3" -SOURCE_URI="https://github.com/HaikuArchives/Rez/archive/v1.0.tar.gz" -CHECKSUM_SHA256="a2e41044ad34302abef5ccaf2f86b16e7bf658c96ab337935cee5b6228597afa" -SOURCE_DIR="Rez-1.0" +REVISION="4" +srcGitRev="cebd73d236db894c42b65bdb253c99a0a4c3cf71" +SOURCE_URI="https://github.com/HaikuArchives/Pe/archive/$srcGitRev.tar.gz" +CHECKSUM_SHA256="1f287ddd702855c60787320c4398c3c7c1b0a196432bfd38c9e2a0f36e6a0b12" +SOURCE_DIR="Pe-$srcGitRev" -ARCHITECTURES="!x86 x86_gcc2" +ARCHITECTURES="all" PROVIDES=" rez = $portVersion @@ -26,18 +27,25 @@ BUILD_REQUIRES=" " BUILD_PREREQUIRES=" cmd:bison - cmd:cc + cmd:g++ cmd:flex - cmd:make + cmd:jam " +PATCH() +{ + # rez doesn't need pcre, only Pe + sed -i -E 's,(Exit "You need to have pcre installed on your system." ;),# \1,' build/BuildSettings +} + BUILD() { - make $jobArgs + cd rez + jam $jobArgs } INSTALL() { - mkdir -p $binDir - cp rez $binDir + mkdir -pv $binDir + cp -afv rez/rez $binDir }