mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 23:18:58 +02:00
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
From 183d6f4d38564039f3fcef33957df6e05b07889b Mon Sep 17 00:00:00 2001
|
|
From: Jerome Duval <jerome.duval@gmail.com>
|
|
Date: Fri, 9 Feb 2024 13:34:00 +0100
|
|
Subject: Haiku patch
|
|
|
|
|
|
diff --git a/configure b/configure
|
|
index dae76d5..3eb5bac 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -514,6 +514,7 @@ else
|
|
linux|uclinux) TARGET_OS=Linux ;;
|
|
freebsd*) TARGET_OS=FreeBSD ;;
|
|
gnu/kfreebsd) TARGET_OS=FreeBSD ;;
|
|
+ haiku) TARGET_OS=Haiku ;;
|
|
netbsd) TARGET_OS=NetBSD ;;
|
|
bsd/os) TARGET_OS=BSD/OS ;;
|
|
openbsd) TARGET_OS=OpenBSD ;;
|
|
@@ -553,6 +554,7 @@ darwin() { test "$OS_LC" = "darwin"; }
|
|
dragonfly() { test "$OS_LC" = "dragonfly"; }
|
|
freebsd() { test "$OS_LC" = "freebsd" || test "$OS_LC" = "gnu/kfreebsd"; }
|
|
gnu() { test "$OS_LC" = "gnu"; }
|
|
+haiku() { test "$OS_LC" = "haiku"; }
|
|
hpux() { test "$OS_LC" = "hp-ux"; }
|
|
irix() { test "$OS_LC" = "irix"; }
|
|
linux() { test "$OS_LC" = "linux"; }
|
|
@@ -716,6 +718,9 @@ elif darwin; then
|
|
elif linux; then
|
|
# use the full library version for the library file extension
|
|
SHARED_EXT=".so.${RHASH_VERSION}"
|
|
+elif haiku; then
|
|
+ # use the full library version for the library file extension
|
|
+ SHARED_EXT=".so.${RHASH_VERSION}"
|
|
fi
|
|
|
|
#####################################################################
|
|
--
|
|
2.42.1
|
|
|