mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
make: drop older, superseded, recipes. (#13577)
This commit is contained in:
@@ -1,51 +0,0 @@
|
||||
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="7"
|
||||
SOURCE_URI="http://ftp.gnu.org/pub/gnu/make/make-3.82.tar.bz2"
|
||||
CHECKSUM_SHA256="e2c1a73f179c40c71e2fe8abf8a8a0688b8499538512984da4a76958d0402966"
|
||||
PATCHES="make-3.82.patch"
|
||||
|
||||
ARCHITECTURES="all"
|
||||
|
||||
PROVIDES="
|
||||
make = $portVersion compat >= 3.82
|
||||
cmd:make = $portVersion compat >= 3.82
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
cmd:grep
|
||||
cmd:ld
|
||||
cmd:libtoolize
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
defineDebugInfoPackage make \
|
||||
$binDir/make
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
runConfigure ./configure \
|
||||
--disable-rpath --with-gnu-ld
|
||||
./build.sh
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
./make install
|
||||
}
|
||||
@@ -1,51 +0,0 @@
|
||||
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="5"
|
||||
SOURCE_URI="http://ftp.gnu.org/pub/gnu/make/make-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="0bc7613389650ee6a24554b52572a272f7356164fd2c4132b0bcf13123e4fca5"
|
||||
PATCHES="make-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="all"
|
||||
|
||||
PROVIDES="
|
||||
make = $portVersion compat >= 3.82
|
||||
cmd:make = $portVersion compat >= 3.82
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
cmd:grep
|
||||
cmd:ld
|
||||
cmd:libtoolize
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
defineDebugInfoPackage make \
|
||||
$binDir/make
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
runConfigure ./configure \
|
||||
--disable-rpath --with-gnu-ld --disable-dependency-tracking
|
||||
./build.sh
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
./make install
|
||||
}
|
||||
@@ -1,60 +0,0 @@
|
||||
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="https://www.gnu.org/software/make/"
|
||||
COPYRIGHT="1988-2016 Free Software Foundation, Inc."
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://ftpmirror.gnu.org/make/make-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="d6e262bf3601b42d2b1e4ef8310029e1dcf20083c5446b4b7aa67081fdffc589"
|
||||
PATCHES="make-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="?all"
|
||||
|
||||
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
|
||||
"
|
||||
if [ "$recipeAction" = TEST ]; then
|
||||
BUILD_PREREQUIRES="$BUILD_PREREQUIRES
|
||||
cmd:file
|
||||
"
|
||||
fi
|
||||
|
||||
defineDebugInfoPackage make \
|
||||
$binDir/make
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure \
|
||||
--disable-rpath --with-gnu-ld --disable-dependency-tracking
|
||||
./build.sh
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
./make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
./make check
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
diff -up make-3.82/arscan.c.orig make-3.82/arscan.c
|
||||
--- make-3.82/arscan.c.orig 2010-09-20 13:33:16.283901952 -0600
|
||||
+++ make-3.82/arscan.c 2010-09-20 13:34:10.106168320 -0600
|
||||
@@ -253,7 +253,7 @@ ar_scan (char *archive, long int (*funct
|
||||
#endif
|
||||
|
||||
#ifndef WINDOWS32
|
||||
-# ifndef __BEOS__
|
||||
+# if !defined(__BEOS__) && !defined(__HAIKU__)
|
||||
# include <ar.h>
|
||||
# else
|
||||
/* BeOS 5 doesn't have <ar.h> but has archives in the same format
|
||||
@@ -1,45 +0,0 @@
|
||||
From 5a4095825a8f4d65bfabb6f784503b53c2cbbf77 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.30.2
|
||||
|
||||
|
||||
From a1217a6b3f8a251d5283f93b24a0a2eaddc5609f Mon Sep 17 00:00:00 2001
|
||||
From: David Karoly <david.karoly@outlook.com>
|
||||
Date: Sun, 21 Nov 2021 15:21:15 +0000
|
||||
Subject: fix build
|
||||
|
||||
|
||||
diff --git a/dir.c b/dir.c
|
||||
index 7e00b8f..d87adb9 100644
|
||||
--- a/dir.c
|
||||
+++ b/dir.c
|
||||
@@ -1142,7 +1142,7 @@ read_dirstream (__ptr_t stream)
|
||||
/* The glob interface wants a 'struct dirent', so mock one up. */
|
||||
struct dirent *d;
|
||||
unsigned int len = df->length + 1;
|
||||
- unsigned int sz = sizeof (*d) - sizeof (d->d_name) + len;
|
||||
+ unsigned int sz = offsetof (struct dirent, d_name) + len;
|
||||
if (sz > bufsz)
|
||||
{
|
||||
bufsz *= 2;
|
||||
--
|
||||
2.30.2
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
From 4640a0506a0131c3d8177b6ed36e200f8b3fe0bc 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 549fe1e..17430f5 100644
|
||||
--- a/arscan.c
|
||||
+++ b/arscan.c
|
||||
@@ -331,7 +331,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.30.2
|
||||
|
||||
|
||||
From 265416e233141f66e2a5cdf9c06e4a5e1e52bf48 Mon Sep 17 00:00:00 2001
|
||||
From: David Karoly <david.karoly@outlook.com>
|
||||
Date: Sun, 21 Nov 2021 15:36:01 +0000
|
||||
Subject: fix build
|
||||
|
||||
|
||||
diff --git a/dir.c b/dir.c
|
||||
index f34bbf5..984f863 100644
|
||||
--- a/dir.c
|
||||
+++ b/dir.c
|
||||
@@ -1222,7 +1222,7 @@ read_dirstream (__ptr_t stream)
|
||||
/* The glob interface wants a 'struct dirent', so mock one up. */
|
||||
struct dirent *d;
|
||||
unsigned int len = df->length + 1;
|
||||
- unsigned int sz = sizeof (*d) - sizeof (d->d_name) + len;
|
||||
+ unsigned int sz = offsetof (struct dirent, d_name) + len;
|
||||
if (sz > bufsz)
|
||||
{
|
||||
bufsz *= 2;
|
||||
--
|
||||
2.30.2
|
||||
|
||||
Reference in New Issue
Block a user