Initial x11-lib .bep and patch files, these were all done by michaelvoliveira

Mostly untested, so may need some more work still.
This commit is contained in:
Scott McCreary
2010-05-04 06:20:48 +00:00
parent ad15577acd
commit 0c1b01a967
17 changed files with 425 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
DESCRIPTION="libxau"
HOMEPAGE="http://xorg.freedesktop.org/releases/individual/lib/"
SRC_URI="http://xorg.freedesktop.org/releases/individual/lib/libXau-1.0.5.tar.gz"
CHECKSUM_MD5="1a421d9376f43596fe068ce209a70b84"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="pkgconfig >= 0.23
x11-misc/util-macros >= 1.7.0"
BUILD {
cd libXau-1.0.5
libtoolize --force --copy --install
autoreconf -i
./configure --prefix=/boot/common
make
}
INSTALL {
cd libXau-1.0.5
make install
}

View File

@@ -0,0 +1,13 @@
diff -Naur libXau-1.0.5/configure.ac libXau-1.0.5-haiku/configure.ac
--- libXau-1.0.5/configure.ac 2009-08-28 04:34:23.023855104 +0000
+++ libXau-1.0.5-haiku/configure.ac 2010-04-26 23:21:53.573308928 +0000
@@ -58,6 +58,9 @@
if test "x$mtsafe" = "x" ; then
AC_CHECK_LIB(nsl, gethostbyname_r, [mtsafe=yes])
fi
+ if test "x$mtsafe" = "x" ; then
+ AC_CHECK_LIB(network, gethostbyname_r, [mtsafe=yes])
+ fi
if test "x$mtsafe" = "xyes" ; then
AC_DEFINE(XUSE_MTSAFE_API, 1,
[Whether libXau needs to use MT safe API's])