ngircd: fixed cross build.
This commit is contained in:
parent
71df26a3bf
commit
37c4ad4c61
11
srcpkgs/ngircd/patches/cross.patch
Normal file
11
srcpkgs/ngircd/patches/cross.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- configure.orig 2014-06-09 08:20:00.584285131 +0200
|
||||||
|
+++ configure 2014-06-09 08:20:14.000360141 +0200
|
||||||
|
@@ -6019,7 +6019,7 @@ _ACEOF
|
||||||
|
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getaddrinfo() works" >&5
|
||||||
|
$as_echo_n "checking whether getaddrinfo() works... " >&6; }
|
||||||
|
- if test "$cross_compiling" = yes; then :
|
||||||
|
+ if false; then :
|
||||||
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
||||||
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
||||||
|
as_fn_error $? "cannot run test program while cross compiling
|
||||||
@ -28,6 +28,9 @@ else
|
|||||||
configure_args+=" --without-openssl"
|
configure_args+=" --without-openssl"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
post_configure() {
|
||||||
|
echo "#define HAVE_WORKING_GETADDRINFO 1" >>src/config.h
|
||||||
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
|
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user