mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
96 lines
2.0 KiB
Plaintext
96 lines
2.0 KiB
Plaintext
From 8738841646cfb2f1a00ea5a676d31295b13d2d39 Mon Sep 17 00:00:00 2001
|
|
From: raefaldhia <raefaldhiamartya@gmail.com>
|
|
Date: Wed, 14 Dec 2016 12:56:02 +0700
|
|
Subject: Add compatibility to build with haikuporter
|
|
|
|
|
|
diff --git a/Makefile b/Makefile
|
|
index 79d7089..ab7e494 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -457,8 +457,8 @@ ALIGN32=
|
|
#
|
|
# When in doubt, leave HAVE_STDLIB_H empty.
|
|
#
|
|
-HAVE_STDLIB_H=
|
|
-#HAVE_STDLIB_H= YES
|
|
+#HAVE_STDLIB_H=
|
|
+HAVE_STDLIB_H= YES
|
|
#HAVE_STDLIB_H= NO
|
|
|
|
# Determine if we have the <string.h> include file.
|
|
@@ -471,8 +471,8 @@ HAVE_STDLIB_H=
|
|
#
|
|
# When in doubt, leave HAVE_STRING_H empty.
|
|
#
|
|
-HAVE_STRING_H=
|
|
-#HAVE_STRING_H= YES
|
|
+#HAVE_STRING_H=
|
|
+HAVE_STRING_H= YES
|
|
#HAVE_STRING_H= NO
|
|
|
|
# Determine if we have the <times.h> include file.
|
|
@@ -499,8 +499,8 @@ HAVE_TIMES_H=
|
|
#
|
|
# When in doubt, leave HAVE_SYS_TIMES_H empty.
|
|
#
|
|
-HAVE_SYS_TIMES_H=
|
|
-#HAVE_SYS_TIMES_H= YES
|
|
+#HAVE_SYS_TIMES_H=
|
|
+HAVE_SYS_TIMES_H= YES
|
|
#HAVE_SYS_TIMES_H= NO
|
|
|
|
# Determine if we have the <time.h> include file.
|
|
@@ -513,8 +513,8 @@ HAVE_SYS_TIMES_H=
|
|
#
|
|
# When in doubt, leave HAVE_TIME_H empty.
|
|
#
|
|
-HAVE_TIME_H=
|
|
-#HAVE_TIME_H= YES
|
|
+#HAVE_TIME_H=
|
|
+HAVE_TIME_H= YES
|
|
#HAVE_TIME_H= NO
|
|
|
|
# Determine if we have the <sys/time.h> include file.
|
|
@@ -527,8 +527,8 @@ HAVE_TIME_H=
|
|
#
|
|
# When in doubt, leave HAVE_SYS_TIME_H empty.
|
|
#
|
|
-HAVE_SYS_TIME_H=
|
|
-#HAVE_SYS_TIME_H= YES
|
|
+#HAVE_SYS_TIME_H=
|
|
+HAVE_SYS_TIME_H= YES
|
|
#HAVE_SYS_TIME_H= NO
|
|
|
|
# Determine if we have the <unistd.h> include file.
|
|
@@ -1131,7 +1131,7 @@ COMMON_LDFLAGS= ${EXTRA_LDFLAGS}
|
|
# Linux target #
|
|
################
|
|
|
|
-ifeq ($(target),Linux)
|
|
+ifeq ($(target),Haiku)
|
|
#
|
|
BLD_TYPE= calc-dynamic-only
|
|
#
|
|
@@ -1993,7 +1993,7 @@ TARGETS= ${EARLY_TARGETS} ${BLD_TYPE} ${LATE_TARGETS}
|
|
#
|
|
###
|
|
|
|
-all: check_include ${BLD_TYPE} CHANGES
|
|
+all: ${BLD_TYPE} CHANGES
|
|
|
|
check_include:
|
|
$(Q) if [ ! -d /usr/include ]; then \
|
|
@@ -2149,7 +2149,7 @@ calc.usage: calc.1 ${MAKE_FILE}
|
|
LESSCHARSET=iso8859 ${CALCPAGER} calc.1; \
|
|
else \
|
|
${NROFF} -man calc.1; \
|
|
- fi | ${COL} -b > $@
|
|
+ fi > $@
|
|
${Q} echo calc.usage formed
|
|
|
|
|
|
--
|
|
2.7.0
|
|
|