-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
92 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
SUMMARY="An extensible shell" | ||
DESCRIPTION="The language was derived from the Plan 9 shell, rc, and was \ | ||
influenced by functional programming languages, such as Scheme, and the Tcl \ | ||
embeddable programming language." | ||
HOMEPAGE="https://wryun.github.io/es-shell/" | ||
COPYRIGHT="Paul Haahr and Byron Rakitzis | ||
Soren Dayton | ||
James Haggerty" | ||
LICENSE="Public Domain" | ||
REVISION="1" | ||
SOURCE_URI="https://github.com/wryun/es-shell/releases/download/v$portVersion/es-$portVersion.tar.gz" | ||
CHECKSUM_SHA256="b0b41fce99b122a173a06b899a4d92e5bd3cc48b227b2736159f596a58fff4ba" | ||
SOURCE_DIR="" | ||
PATCHES="es-$portVersion.patchset" | ||
|
||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64" | ||
SECONDARY_ARCHITECTURES="x86" | ||
|
||
commandSuffix=$secondaryArchSuffix | ||
commandBinDir=$binDir | ||
if [ "$targetArchitecture" = x86_gcc2 ]; then | ||
commandSuffix= | ||
commandBinDir=$prefix/bin | ||
fi | ||
|
||
PROVIDES=" | ||
es$secondaryArchSuffix = $portVersion | ||
cmd:es$commandSuffix = $portVersion | ||
" | ||
REQUIRES=" | ||
haiku$secondaryArchSuffix | ||
lib:libreadline$secondaryArchSuffix | ||
" | ||
|
||
BUILD_REQUIRES=" | ||
haiku${secondaryArchSuffix}_devel | ||
devel:libreadline$secondaryArchSuffix | ||
" | ||
BUILD_PREREQUIRES=" | ||
cmd:aclocal | ||
cmd:autoconf | ||
cmd:autoheader | ||
cmd:automake | ||
cmd:awk | ||
cmd:bison | ||
cmd:byacc | ||
cmd:gcc$secondaryArchSuffix | ||
cmd:make | ||
" | ||
|
||
defineDebugInfoPackage es$secondaryArchSuffix \ | ||
"$commandBinDir"/es | ||
|
||
BUILD() | ||
{ | ||
export LDFLAGS="-lbsd" | ||
export CFLAGS="-D_BSD_SOURCE" | ||
runConfigure --omit-dirs binDir ./configure --bindir="$commandBinDir" | ||
make $jobArgs | ||
} | ||
|
||
INSTALL() | ||
{ | ||
make install | ||
} | ||
|
||
TEST() | ||
{ | ||
make check | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
From 4689c8ea909b1ea1fddb59274180b732b4e0cee4 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com> | ||
Date: Fri, 29 Jun 2018 21:33:05 +0200 | ||
Subject: Build fix | ||
|
||
|
||
diff --git a/input.c b/input.c | ||
index abf8573..db47ee4 100644 | ||
--- a/input.c | ||
+++ b/input.c | ||
@@ -273,7 +273,7 @@ stdgetenv(name) | ||
} | ||
|
||
char * | ||
-getenv(char *name) | ||
+mygetenv(char *name) | ||
{ | ||
return realgetenv(name); | ||
} | ||
-- | ||
2.16.4 | ||
|