From: <abe...@us...> - 2012-12-28 23:58:22
|
Revision: 5843 http://astlinux.svn.sourceforge.net/astlinux/?rev=5843&view=rev Author: abelbeck Date: 2012-12-28 23:58:16 +0000 (Fri, 28 Dec 2012) Log Message: ----------- iproute2, add cross-compile configure fix Modified Paths: -------------- branches/1.0/package/iproute2/iproute2.mk Modified: branches/1.0/package/iproute2/iproute2.mk =================================================================== --- branches/1.0/package/iproute2/iproute2.mk 2012-12-28 01:33:55 UTC (rev 5842) +++ branches/1.0/package/iproute2/iproute2.mk 2012-12-28 23:58:16 UTC (rev 5843) @@ -6,7 +6,7 @@ IPROUTE2_VERSION = 2.6.35 IPROUTE2_SOURCE = iproute2-$(IPROUTE2_VERSION).tar.bz2 -#IPROUTE2_SITE = http://devresources.linuxfoundation.org/dev/iproute2/download +#IPROUTE2_SITE = http://www.kernel.org/pub/linux/utils/net/iproute2 IPROUTE2_SITE = http://files.astlinux.org IPROUTE2_TARGET_SBINS = ctstat genl ifstat ip lnstat nstat routef routel rtacct rtmon rtpr rtstat ss tc @@ -29,6 +29,9 @@ define IPROUTE2_CONFIGURE_CMDS # Use kernel headers rm -r $(IPROUTE2_DIR)/include/netinet + # Cross-compile configure + $(SED) 's/gcc/$$CC $$CFLAGS/g' $(@D)/configure + cd $(@D) && $(TARGET_CONFIGURE_OPTS) ./configure # arpd needs berkeleydb $(SED) "/^TARGETS=/s: arpd : :" $(IPROUTE2_DIR)/misc/Makefile echo "IPT_LIB_DIR:=/usr/lib/xtables" >>$(IPROUTE2_DIR)/Config This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |