mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Ruby: Fix recipe on x86.
- Add cflags define for _BSD_SOURCE, as the build would otherwise fail in the socket module due to detecting the presence of the ifaddrs header, but lacking the actual functions.
This commit is contained in:
@@ -19,7 +19,7 @@ PATCHES="ruby-$portVersion.patchset"
|
||||
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 !x86_64"
|
||||
ARCHITECTURES="!x86_gcc2 x86 !x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
@@ -78,6 +78,7 @@ BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
autoconf
|
||||
export CFLAGS=-D_BSD_SOURCE
|
||||
runConfigure --omit-dirs binDir ./configure --enable-shared \
|
||||
--disable-silent-rules \
|
||||
--bindir=$prefix/bin
|
||||
|
||||
Reference in New Issue
Block a user