mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
62 lines
2.8 KiB
Plaintext
62 lines
2.8 KiB
Plaintext
From a5412e8c0b0223ac84aca3707f77b86b8b9bd89d Mon Sep 17 00:00:00 2001
|
|
From: Jerome Duval <jerome.duval@gmail.com>
|
|
Date: Tue, 5 Aug 2014 17:14:07 +0000
|
|
Subject: haiku patch
|
|
|
|
|
|
diff --git a/Makefile b/Makefile
|
|
index 86613fd..4afd03f 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -89,7 +89,7 @@ clean:
|
|
#-----------------------------------------------------------------------------
|
|
# make install is validated only for Linux, OSX, BSD, Hurd and Solaris targets
|
|
#-----------------------------------------------------------------------------
|
|
-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS))
|
|
+ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS Haiku))
|
|
HOST_OS = POSIX
|
|
|
|
.PHONY: install uninstall
|
|
diff --git a/lib/Makefile b/lib/Makefile
|
|
index abb6c07..d2ce31d 100644
|
|
--- a/lib/Makefile
|
|
+++ b/lib/Makefile
|
|
@@ -123,7 +123,7 @@ clean:
|
|
#-----------------------------------------------------------------------------
|
|
# make install is validated only for Linux, OSX, BSD, Hurd and Solaris targets
|
|
#-----------------------------------------------------------------------------
|
|
-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS))
|
|
+ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS Haiku))
|
|
|
|
.PHONY: listL120
|
|
listL120: # extract lines >= 120 characters in *.{c,h}, by Takayuki Matsuoka (note : $$, for Makefile compatibility)
|
|
diff --git a/programs/Makefile b/programs/Makefile
|
|
index 72bdcaa..655efbc 100644
|
|
--- a/programs/Makefile
|
|
+++ b/programs/Makefile
|
|
@@ -109,7 +109,7 @@ clean:
|
|
#-----------------------------------------------------------------------------
|
|
# make install is validated only for Linux, OSX, BSD, Hurd and Solaris targets
|
|
#-----------------------------------------------------------------------------
|
|
-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS))
|
|
+ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS Haiku))
|
|
|
|
unlz4: lz4
|
|
ln -s lz4 unlz4
|
|
diff --git a/tests/Makefile b/tests/Makefile
|
|
index d238561..ac86c3e 100644
|
|
--- a/tests/Makefile
|
|
+++ b/tests/Makefile
|
|
@@ -129,7 +129,7 @@ checkTag: checkTag.c $(LZ4DIR)/lz4.h
|
|
#-----------------------------------------------------------------------------
|
|
# validated only for Linux, OSX, BSD, Hurd and Solaris targets
|
|
#-----------------------------------------------------------------------------
|
|
-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS))
|
|
+ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS Haiku))
|
|
|
|
MD5:=md5sum
|
|
ifneq (,$(filter $(shell uname), Darwin ))
|
|
--
|
|
2.7.0
|
|
|