summaryrefslogtreecommitdiffstats
path: root/base/bin86/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/bin86/Pkgfile')
-rw-r--r--base/bin86/Pkgfile10
1 files changed, 6 insertions, 4 deletions
diff --git a/base/bin86/Pkgfile b/base/bin86/Pkgfile
index 7ae53fd7f..cc498679f 100644
--- a/base/bin86/Pkgfile
+++ b/base/bin86/Pkgfile
@@ -2,15 +2,17 @@
# URL: http://www.cix.co.uk/~mayday/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on:
name=bin86
version=0.16.17
-release=2
-source=(http://homepage.ntlworld.com/robert.debath/dev86/$name-$version.tar.gz)
-
+release=3
+source=(http://homepage.ntlworld.com/robert.debath/dev86/$name-$version.tar.gz\
+ http://nutyx.meticul.eu/files/patchs/$name/$name-$version-x86_64-1.patch)
build() {
cd $name-$version
+ if [ "`uname -m`" == "x86_64" ]; then
+ patch -Np1 -i ../bin86-0.16.17-x86_64-1.patch
+ fi
make CFLAGS="$CFLAGS -D_POSIX_SOURCE" PREFIX=/usr
mkdir -p $PKG/usr/bin
mkdir -p $PKG/usr/share/man/man1