mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Initial checkin of yasm, .bep and a simple patch to workaround configure not detecting toascii on Haiku.
This commit is contained in:
12
dev-lang/yasm/yasm-0.7.1-haiku.diff
Normal file
12
dev-lang/yasm/yasm-0.7.1-haiku.diff
Normal 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
|
||||
|
||||
19
dev-lang/yasm/yasm-0.7.1.bep
Normal file
19
dev-lang/yasm/yasm-0.7.1.bep
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user