mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
ruby: Bump to 3.2.7 and actually build with optimizations.
I tested one basic benchmark, it went from ~613ms to ~89ms, so this is quite the difference.
This commit is contained in:
@@ -15,7 +15,7 @@ LICENSE="Ruby
|
||||
BSD (3-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://cache.ruby-lang.org/pub/ruby/3.2/ruby-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="ef0610b498f60fb5cfd77b51adb3c10f4ca8ed9a17cb87c61e5bea314ac34a16"
|
||||
CHECKSUM_SHA256="8488fa620ff0333c16d437f2b890bba3b67f8745fdecb1472568a6114aad9741"
|
||||
SOURCE_DIR="ruby-$portVersion"
|
||||
PATCHES="ruby-$portVersion.patchset"
|
||||
ADDITIONAL_FILES="gemrc"
|
||||
@@ -104,7 +104,7 @@ defineDebugInfoPackage ruby$secondaryArchSuffix \
|
||||
|
||||
BUILD()
|
||||
{
|
||||
CFLAGS="-D_BSD_SOURCE" \
|
||||
CFLAGS="-O2 -g -D_BSD_SOURCE" \
|
||||
LDFLAGS="-lbsd" \
|
||||
runConfigure --omit-dirs binDir ./configure \
|
||||
--bindir=$prefix/bin \
|
||||
Reference in New Issue
Block a user