mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
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:
20
x11-libs/libXau/libXau-1.0.5.bep
Normal file
20
x11-libs/libXau/libXau-1.0.5.bep
Normal 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
|
||||
}
|
||||
13
x11-libs/libXau/patches/libXau-1.0.5.patch
Normal file
13
x11-libs/libXau/patches/libXau-1.0.5.patch
Normal 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])
|
||||
Reference in New Issue
Block a user