Update of /cvsroot/leaf/src/bering-uclibc4/source/perl
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv18717

Modified Files:
        buildtool.cfg buildtool.mk 
Log Message:
Fixed cross-compilation on x86_64


Index: buildtool.cfg
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc4/source/perl/buildtool.cfg,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** buildtool.cfg       22 Jun 2010 18:24:37 -0000      1.1
--- buildtool.cfg       7 Jul 2010 09:48:10 -0000       1.2
***************
*** 21,25 ****
        <perl>
                Version = 5.12.1
!               Revision = 1
  
                Help <<EOF
--- 21,25 ----
        <perl>
                Version = 5.12.1
!               Revision = 2
  
                Help <<EOF

Index: buildtool.mk
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc4/source/perl/buildtool.mk,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** buildtool.mk        22 Jun 2010 18:24:37 -0000      1.1
--- buildtool.mk        7 Jul 2010 09:48:10 -0000       1.2
***************
*** 4,10 ****
--- 4,18 ----
  PERL_DIR:=perl-5.12.1
  PERL_TARGET_DIR:=$(BT_BUILD_DIR)/perl
+ #PREG_STAGING_DIR=$(shell echo $(BT_STAGING_DIR)|sed 's/\//\\\//g')
  
  $(PERL_DIR)/.source:
        bzcat $(PERL_SOURCE) | tar -xvf -
+       mv $(PERL_DIR)/Configure $(PERL_DIR)/Configure.orig
+       mv $(PERL_DIR)/hints/linux.sh $(PERL_DIR)/hints/linux.sh.orig
+       sed 's:\([="'\'' 
]\+\)\(\$$incpath\)\?\(/usr\|/usr/local\)\?/lib:\1$(BT_STAGING_DIR)\2\3/lib:g;' 
\
+       $(PERL_DIR)/Configure.orig >$(PERL_DIR)/Configure
+       sed 's:\([="'\'' 
]\+\)\(\$$incpath\)\?\(/usr\|/usr/local\)\?/lib:\1$(BT_STAGING_DIR)\2\3/lib:g;' 
\
+       $(PERL_DIR)/hints/linux.sh.orig >$(PERL_DIR)/hints/linux.sh
+       chmod +x $(PERL_DIR)/Configure
        touch $(PERL_DIR)/.source
  
***************
*** 12,17 ****
  
  $(PERL_DIR)/.configured: $(PERL_DIR)/.source
!       ( cd $(PERL_DIR) ; CC=$(TARGET_CC) LD=$(TARGET_LD) 
CFLAGS="$(BT_COPT_FLAGS) -g -Wall" ./Configure -de -Dprefix=/usr \
!       -Ud_eaccess )
        touch $(PERL_DIR)/.configured
  
--- 20,27 ----
  
  $(PERL_DIR)/.configured: $(PERL_DIR)/.source
!       ( cd $(PERL_DIR) ; CC=$(TARGET_CC) LD=$(TARGET_LD) \
!       CFLAGS="-L$(BT_STAGING_DIR)/lib -L$(BT_STAGING_DIR)/usr/lib 
$(BT_COPT_FLAGS) \
!       -g -Wall" ./Configure -de -Dprefix=/usr 
-Dlibc="$(BT_STAGING_DIR)/lib/libc.so.0" \
!       -Ud_eaccess -Ucc=$$CC)
        touch $(PERL_DIR)/.configured
  


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
leaf-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits

Reply via email to