Browse Source

compile with libtirpc

Waldemar Brodkorb 13 years ago
parent
commit
43a9228572
2 changed files with 5 additions and 14 deletions
  1. 5 3
      package/libvirt/Makefile
  2. 0 11
      package/libvirt/patches/patch-build-aux_ltmain_sh

+ 5 - 3
package/libvirt/Makefile

@@ -4,15 +4,15 @@
 include ${TOPDIR}/rules.mk
 
 PKG_NAME:=		libvirt
-PKG_VERSION:=		0.9.6
+PKG_VERSION:=		0.9.10
 PKG_RELEASE:=		1
-PKG_MD5SUM:=		b74df374b524d00a22a6c89cfc23099f
+PKG_MD5SUM:=		a424bb793521e637349da47e93dd5fff
 PKG_DESCR:=		virtualization API
 PKG_SECTION:=		libs
 PKG_BUILDDEP:=		libxml2 gnutls python2 libpcap parted udev
 PKG_DEPENDS:=		libxml2 libgnutls python2 libpcap libreadline
 PKG_DEPENDS+=		libintl dmidecode kmod-netfilter-xt-target-checksum
-PKG_DEPENDS+=		dnsmasq qemu
+PKG_DEPENDS+=		dnsmasq qemu libnl
 PKG_URL:=		http://www.libvirt.org/
 PKG_SITES:=		ftp://libvirt.org/libvirt/
 
@@ -25,6 +25,8 @@ $(eval $(call PKG_template,LIBVIRT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${P
 
 include ${TOPDIR}/mk/python.mk
 
+TARGET_CPPFLAGS+=	-I${STAGING_TARGET_DIR}/usr/include/tirpc
+
 CONFIGURE_ENV+=		gl_cv_warn__fstack_protector_all=no \
 			ac_cv_path_IPTABLES_PATH=/usr/sbin/iptables \
 			ac_cv_path_IP6TABLES_PATH=/usr/sbin/ip6tables \

+ 0 - 11
package/libvirt/patches/patch-build-aux_ltmain_sh

@@ -1,11 +0,0 @@
---- libvirt-0.8.7.orig/build-aux/ltmain.sh	2011-01-04 03:22:29.000000000 +0100
-+++ libvirt-0.8.7/build-aux/ltmain.sh	2011-01-15 23:16:47.000000000 +0100
-@@ -5091,7 +5091,7 @@ func_mode_link ()
-       # @file                GCC response files
-       # -tp=*                Portland pgcc target processor selection
-       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
--      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*)
-+      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|-fstack-protector*|-flto)
-         func_quote_for_eval "$arg"
- 	arg="$func_quote_for_eval_result"
-         func_append compile_command " $arg"