From cf76c50263524427ad71ce80eb27f7089a0a9414 Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 14 Jan 2009 03:13:40 +0000 Subject: [PATCH] fix perl compile on 8.09 git-svn-id: svn://svn.openwrt.org/openwrt/packages@14034 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- lang/perl/Makefile | 2 +- .../{config.sh-arm-openwrt-linux-uclibc.in => config.sh-arm.in} | 0 ...nfig.sh-armeb-openwrt-linux-uclibc.in => config.sh-armeb.in} | 0 ...nfig.sh-avr32-openwrt-linux-uclibc.in => config.sh-avr32.in} | 0 ...config.sh-i486-openwrt-linux-uclibc.in => config.sh-i486.in} | 0 ...config.sh-mips-openwrt-linux-uclibc.in => config.sh-mips.in} | 0 ...ig.sh-mipsel-openwrt-linux-uclibc.in => config.sh-mipsel.in} | 0 ....sh-powerpc-openwrt-linux-uclibc.in => config.sh-powerpc.in} | 0 8 files changed, 1 insertion(+), 1 deletion(-) rename lang/perl/files/{config.sh-arm-openwrt-linux-uclibc.in => config.sh-arm.in} (100%) rename lang/perl/files/{config.sh-armeb-openwrt-linux-uclibc.in => config.sh-armeb.in} (100%) rename lang/perl/files/{config.sh-avr32-openwrt-linux-uclibc.in => config.sh-avr32.in} (100%) rename lang/perl/files/{config.sh-i486-openwrt-linux-uclibc.in => config.sh-i486.in} (100%) rename lang/perl/files/{config.sh-mips-openwrt-linux-uclibc.in => config.sh-mips.in} (100%) rename lang/perl/files/{config.sh-mipsel-openwrt-linux-uclibc.in => config.sh-mipsel.in} (100%) rename lang/perl/files/{config.sh-powerpc-openwrt-linux-uclibc.in => config.sh-powerpc.in} (100%) diff --git a/lang/perl/Makefile b/lang/perl/Makefile index 7c3123afb..1dd1490f8 100644 --- a/lang/perl/Makefile +++ b/lang/perl/Makefile @@ -109,7 +109,7 @@ define Build/perl/Configure -e 's!%%LDFLAGS%%!-rdynamic -L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib!g' \ -e 's!%%LIBDIRS%%!$(STAGING_DIR)/lib $(STAGING_DIR)/usr/lib!g' \ -e 's!%%INCDIRS%%!$(STAGING_DIR)/include $(STAGING_DIR)/usr/include!g' \ - files/config.sh-$(REAL_GNU_TARGET_NAME).in \ + files/config.sh-$(patsubst i386,i486,$(ARCH)).in \ > $(PKG_BUILD_DIR)/config.sh (cd $(PKG_BUILD_DIR) && ./Configure -S) endef diff --git a/lang/perl/files/config.sh-arm-openwrt-linux-uclibc.in b/lang/perl/files/config.sh-arm.in similarity index 100% rename from lang/perl/files/config.sh-arm-openwrt-linux-uclibc.in rename to lang/perl/files/config.sh-arm.in diff --git a/lang/perl/files/config.sh-armeb-openwrt-linux-uclibc.in b/lang/perl/files/config.sh-armeb.in similarity index 100% rename from lang/perl/files/config.sh-armeb-openwrt-linux-uclibc.in rename to lang/perl/files/config.sh-armeb.in diff --git a/lang/perl/files/config.sh-avr32-openwrt-linux-uclibc.in b/lang/perl/files/config.sh-avr32.in similarity index 100% rename from lang/perl/files/config.sh-avr32-openwrt-linux-uclibc.in rename to lang/perl/files/config.sh-avr32.in diff --git a/lang/perl/files/config.sh-i486-openwrt-linux-uclibc.in b/lang/perl/files/config.sh-i486.in similarity index 100% rename from lang/perl/files/config.sh-i486-openwrt-linux-uclibc.in rename to lang/perl/files/config.sh-i486.in diff --git a/lang/perl/files/config.sh-mips-openwrt-linux-uclibc.in b/lang/perl/files/config.sh-mips.in similarity index 100% rename from lang/perl/files/config.sh-mips-openwrt-linux-uclibc.in rename to lang/perl/files/config.sh-mips.in diff --git a/lang/perl/files/config.sh-mipsel-openwrt-linux-uclibc.in b/lang/perl/files/config.sh-mipsel.in similarity index 100% rename from lang/perl/files/config.sh-mipsel-openwrt-linux-uclibc.in rename to lang/perl/files/config.sh-mipsel.in diff --git a/lang/perl/files/config.sh-powerpc-openwrt-linux-uclibc.in b/lang/perl/files/config.sh-powerpc.in similarity index 100% rename from lang/perl/files/config.sh-powerpc-openwrt-linux-uclibc.in rename to lang/perl/files/config.sh-powerpc.in