mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Convert sed-4.2.1 to recipe format and adjust the patch to no
longer require fuzz.
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
diff -urN sed-4.2.1.orig/lib/regexec.c sed-4.2.1/lib/regexec.c
|
||||
--- sed-4.2.1.orig/lib/regexec.c 2008-06-04 18:23:17.189401740 +0000
|
||||
+++ sed-4.2.1/lib/regexec.c 2008-06-04 18:26:00.994736475 +0000
|
||||
@@ -18,6 +18,8 @@
|
||||
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||
02111-1307 USA. */
|
||||
@@ -20,6 +20,8 @@
|
||||
with this program; if not, write to the Free Software Foundation,
|
||||
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
|
||||
|
||||
+#include "stdbool.h"
|
||||
+
|
||||
static reg_errcode_t match_ctx_init (re_match_context_t *cache, int eflags,
|
||||
int n) internal_function;
|
||||
Idx n) internal_function;
|
||||
static void match_ctx_clean (re_match_context_t *mctx) internal_function;
|
||||
|
||||
@@ -1,23 +1,31 @@
|
||||
DESCRIPTION="sed - a stream editor"
|
||||
SUMMARY="sed - a stream editor"
|
||||
DESCRIPTION="Sed is a stream editor. A stream editor is used to perform
|
||||
basic text transformations on an input stream (a file or
|
||||
input from a pipeline). While in some ways similar to an
|
||||
editor which permits scripted edits (such as ed), sed
|
||||
works by making only one pass over the input(s), and is
|
||||
consequently more efficient. But it is sed's ability to
|
||||
filter text in a pipeline which particularly distinguishes
|
||||
it from other types of editors."
|
||||
HOMEPAGE="http://www.gnu.org/software/sed"
|
||||
SRC_URI="http://ftp.gnu.org/gnu/sed/sed-4.2.1.tar.gz"
|
||||
CHECKSUM_MD5="f0fd4d7da574d4707e442285fd2d3b86"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
ARCHITECTURES="x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="sed = $portVersion compat >= 4
|
||||
cmd:sed = $portVersion compat >= 4"
|
||||
REQUIRES="haiku >= $haikuVersion"
|
||||
BUILD_PREREQUIRES="haiku-devel >= $haikuVersion
|
||||
cmd:autoconf >= 2.68"
|
||||
|
||||
|
||||
SOURCE_DIR="$portVersionedName"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd sed-4.2.1
|
||||
autoconf
|
||||
prefix=$(finddir B_PACKAGE_LINKS_DIRECTORY)/sed-4.2.1
|
||||
./configure --prefix=$prefix \
|
||||
--datarootdir=$prefix/data \
|
||||
--sbindir=$prefix/bin \
|
||||
--includedir=$prefix/develop/headers \
|
||||
--sysconfdir=$prefix/settings \
|
||||
--docdir=$prefix/documentation/sed \
|
||||
--infodir=$prefix/documentation/info \
|
||||
--mandir=$prefix/documentation/man \
|
||||
./configure $configureDirArgs \
|
||||
--enable-regex-tests --without-included-regex \
|
||||
--disable-rpath --with-gnu-ld
|
||||
make
|
||||
@@ -25,9 +33,8 @@ BUILD()
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd sed-4.2.1
|
||||
make install
|
||||
make check
|
||||
}
|
||||
|
||||
LICENSE="GNU GPL v3"
|
||||
COPYRIGHT="1989-2009 Free Software Foundation, Inc."
|
||||
|
||||
Reference in New Issue
Block a user