Initial checkin of yasm, .bep and a simple patch to workaround configure not detecting toascii on Haiku.

This commit is contained in:
Scott McCreary
2008-09-26 19:15:50 +00:00
parent f7857583f8
commit 076cc5df7c
2 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
diff -urN yasm-0.7.1/util.h yasm-0.7.1-haiku/util.h
--- yasm-0.7.1/util.h 2008-05-15 01:35:11.000000000 +0000
+++ yasm-0.7.1-haiku/util.h 2008-09-26 11:19:12.000000000 +0000
@@ -116,7 +116,7 @@
# define USE_OUR_OWN_STRCASECMP
#endif
-#if !defined(HAVE_TOASCII) || defined(lint)
+#if (!defined(HAVE_TOASCII) || defined(lint)) && !defined(__HAIKU__)
# define toascii(c) ((c) & 0x7F)
#endif

View File

@@ -0,0 +1,19 @@
DESCRIPTION="Yasm assembler"
HOMEPAGE="http://www.tortall.net/projects/yasm/"
SRC_URI="http://www.tortall.net/projects/yasm/releases/yasm-0.7.1.tar.gz"
REVISION="1"
STATUS_R5="untested"
STATUS_BONE="untested"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd yasm-0.7.1
cp /boot/home/config/share/libtool/config.guess .
cp /boot/home/config/share/libtool/config.sub .
./configure --prefix=/boot/common LDFLAGS=-L/boot/common/lib CPPFLAG=-I/boot/common/include
make
}
INSTALL {
make install
}