mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
make: add recipe for version 4.1
This commit is contained in:
51
sys-devel/make/make-4.1.recipe
Normal file
51
sys-devel/make/make-4.1.recipe
Normal file
@@ -0,0 +1,51 @@
|
||||
SUMMARY="Standard tool to compile source trees"
|
||||
DESCRIPTION="Make is a tool which controls the generation of executables and \
|
||||
other non-source files of a program from the program's source files.
|
||||
Make gets its knowledge of how to build your program from a file called the \
|
||||
makefile, which lists each of the non-source files and how to compute it from \
|
||||
other files. When you write a program, you should write a makefile for it, so \
|
||||
that it is possible to use Make to build and install the program."
|
||||
HOMEPAGE="http://www.gnu.org/software/make/"
|
||||
COPYRIGHT="1988-2010 Free Software Foundation, Inc."
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://ftp.gnu.org/pub/gnu/make/make-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="0bc7613389650ee6a24554b52572a272f7356164fd2c4132b0bcf13123e4fca5"
|
||||
PATCHES="make-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64 arm"
|
||||
|
||||
PROVIDES="
|
||||
make = $portVersion compat >= 3.82
|
||||
cmd:make = $portVersion compat >= 3.82
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:libtoolize
|
||||
cmd:sed
|
||||
cmd:grep
|
||||
"
|
||||
|
||||
defineDebugInfoPackage make \
|
||||
$binDir/make
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
runConfigure ./configure \
|
||||
--disable-rpath --with-gnu-ld
|
||||
./build.sh
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
./make install
|
||||
}
|
||||
22
sys-devel/make/patches/make-4.1.patchset
Normal file
22
sys-devel/make/patches/make-4.1.patchset
Normal file
@@ -0,0 +1,22 @@
|
||||
From aa0681736940d18a5eb4a7bfad3b70f77159ef83 Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Fri, 26 Feb 2016 14:51:15 +0000
|
||||
Subject: Haiku patch
|
||||
|
||||
|
||||
diff --git a/arscan.c b/arscan.c
|
||||
index 24286fd..768bbfe 100644
|
||||
--- a/arscan.c
|
||||
+++ b/arscan.c
|
||||
@@ -325,7 +325,7 @@ ar_scan (const char *archive, ar_member_func_t function, const void *varg)
|
||||
#endif
|
||||
|
||||
#ifndef WINDOWS32
|
||||
-# if !defined (__ANDROID__) && !defined (__BEOS__)
|
||||
+# if !defined (__ANDROID__) && !defined (__BEOS__) && !defined (__HAIKU__)
|
||||
# include <ar.h>
|
||||
# else
|
||||
/* These platforms don't have <ar.h> but have archives in the same format
|
||||
--
|
||||
2.2.2
|
||||
|
||||
Reference in New Issue
Block a user