|
@@ -55,15 +55,15 @@ define Package/perl/description
|
55
|
55
|
and is widely used to program web applications of all needs.
|
56
|
56
|
endef
|
57
|
57
|
|
58
|
|
-HOST_PERL_DIR:=$(STAGING_DIR_HOST)/usr
|
|
58
|
+HOST_PERL_PREFIX:=$(STAGING_DIR_HOST)/usr
|
59
|
59
|
define Host/Configure
|
60
|
|
- ( cd $(HOST_BUILD_DIR); ./Configure -der -Uusedl -Dprefix=$(HOST_PERL_DIR) )
|
|
60
|
+ ( cd $(HOST_BUILD_DIR); ./Configure -der -Uusedl -Dprefix=$(HOST_PERL_PREFIX) )
|
61
|
61
|
endef
|
62
|
62
|
|
63
|
63
|
define Host/Install
|
64
|
64
|
( cd $(HOST_BUILD_DIR); ./miniperl installperl )
|
65
|
65
|
#--destdir=$(STAGING_DIR_HOST)
|
66
|
|
- $(CP) $(HOST_BUILD_DIR)/generate_uudmap $(HOST_PERL_DIR)/bin/
|
|
66
|
+ $(CP) $(HOST_BUILD_DIR)/generate_uudmap $(HOST_PERL_PREFIX)/bin/
|
67
|
67
|
endef
|
68
|
68
|
|
69
|
69
|
define Build/Configure
|
|
@@ -79,8 +79,8 @@ define Build/Configure
|
79
|
79
|
-e 's!%%EXTRA_PERLLIBS%%!$(EXTRA_LIBS:%=-l%)!g' \
|
80
|
80
|
-e 's!%%EXTRA_PERLLIBDIRS%%!$(EXTRA_LIBDIRS:%=-L%)!g' \
|
81
|
81
|
-e 's!%%IPV6%%!$(if $($(CONFIG_IPV6)),define,undef)!g' \
|
82
|
|
- -e 's!%%HOSTMINIPERL%%!$(HOST_PERL_DIR)/bin/perl!g' \
|
83
|
|
- -e 's!%%HOSTGENERATE%%!$(HOST_PERL_DIR)/bin/generate_uudmap!g' \
|
|
82
|
+ -e 's!%%HOSTMINIPERL%%!$(HOST_PERL_PREFIX)/bin/perl!g' \
|
|
83
|
+ -e 's!%%HOSTGENERATE%%!$(HOST_PERL_PREFIX)/bin/generate_uudmap!g' \
|
84
|
84
|
files/config.sh-$(patsubst i386,i486,$(ARCH)).in \
|
85
|
85
|
> $(PKG_BUILD_DIR)/config.sh
|
86
|
86
|
(cd $(PKG_BUILD_DIR) && ./Configure -S)
|