[csw-devel] SF.net SVN: gar:[15434] csw/mgar/pkg/perl/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Aug 25 09:44:47 CEST 2011


Revision: 15434
          http://gar.svn.sourceforge.net/gar/?rev=15434&view=rev
Author:   dmichelsen
Date:     2011-08-25 07:44:47 +0000 (Thu, 25 Aug 2011)
Log Message:
-----------
perl: Intermediate commit, 5.12.4 compilation works and all tests pass

Modified Paths:
--------------
    csw/mgar/pkg/perl/trunk/Makefile
    csw/mgar/pkg/perl/trunk/checksums

Modified: csw/mgar/pkg/perl/trunk/Makefile
===================================================================
--- csw/mgar/pkg/perl/trunk/Makefile	2011-08-25 06:40:51 UTC (rev 15433)
+++ csw/mgar/pkg/perl/trunk/Makefile	2011-08-25 07:44:47 UTC (rev 15434)
@@ -1,5 +1,5 @@
 NAME = perl
-VERSION = 5.12.3
+VERSION = 5.12.4
 CATEGORIES = lang
 
 DESCRIPTION = A high-level, general-purpose programming language
@@ -57,7 +57,8 @@
 
 # Force use of db-4.8
 # TBD: Reinsert libperl.so, see below.
-PERL_LIBS-32 += -lsocket -lnsl -lgdbm -ldb-4.8 -ldl -lm -lpthread -lc -lperl 
+#PERL_LIBS-32 += -lsocket -lnsl -lgdbm -ldb-4.8 -ldl -lm -lpthread -lc -lperl 
+PERL_LIBS-32 += -lsocket -lnsl -lgdbm -ldb-4.8 -ldl -lm -lpthread -lc
 PERL_LIBS-64 += -lsocket -lnsl -lgdbm -ldb-4.8 -ldl -lm -lpthread -lc 
 PERL_LIBS = $(PERL_LIBS-$(MEMORYMODEL)) 
 
@@ -123,7 +124,8 @@
 # the case on bootstrapping. However, we require explicit libperl linkage or programs 
 # embedding perl will have problems with duplicated static variables. 
 # XXX Investigate further after 64 bit has built 
-EXTRA_LDFLAGS-32 = -L$(libdir) -lperl 
+#EXTRA_LDFLAGS-32 = -L$(libdir) -lperl 
+EXTRA_LDFLAGS-32 = -L$(libdir)
 EXTRA_LDFLAGS += $(EXTRA_LDFLAGS-$(MEMORYMODEL)) 
 
 # We want 64 bit binaries
@@ -140,6 +142,10 @@
 # Tests take a long time, run once for every release
 #TEST_SCRIPTS =
 
+BUILD_SCRIPTS = perl
+
+TEST_SCRIPTS = perl
+
 # Make sure we don't include the path to the newly built perl as the
 # library is not in place yet.
 IGNORE_DESTDIR = 1
@@ -164,7 +170,7 @@
 # TBD: Investigate
 post-extract-modulated:
 	mkdir -p $(WORKSRC)
-	gln -s libperl.so.5.12.3 $(WORKSRC)/libperl.so
+	gln -s libperl.so.$(VERSION) $(WORKSRC)/libperl.so
 	@$(MAKECOOKIE)
 
 ifneq ($(CORE_UPDATES),)
@@ -173,10 +179,27 @@
 endif
 
 # How to configure Perl
+#configure-perl: CONFIGURE_EXPORTS = PATH LD_OPTIONS
+configure-perl: ARGS-64 = -dusedtrace
 configure-perl:
-	@(cd $(WORKSRC) ; $(CONFIGURE_ENV) ./Configure $(CONFIGURE_ARGS) -des)
+	(cd $(WORKSRC) ; $(CONFIGURE_ENV) ./Configure $(CONFIGURE_ARGS) -des)
+	#cd $(WORKSRC) && ./Configure -ders -Dusethreads -Duselongdouble -Dinc_version_list=none $(ARGS-$(GAROSREL)) -Dprefix=$(prefix) -Dsed=/usr/bin/sed -Duseshrplib -Dcf_by='Claudio_Ramirez' -Dcf_email=claudio.ramirez at smals.be
+	@# 64 bit: -Duse64bitall 
 	@$(MAKECOOKIE)
 
+build-perl: BUILD_EXPORTS = LD_OPTIONS
+build-perl:
+	@echo " ==> Running make in $*"
+	@#cd $* && $(BUILD_ENV) $(MAKE) $(PARALLELMFLAGS) $(foreach TTT,$(BUILD_OVERRIDE_VARS),$(TTT)="$(BUILD_OVERRIDE_VAR_$(TTT))") $(foreach TTT,$(BUILD_OVERRIDE_DIRS),$(TTT)="$($(TTT))") -C $(OBJDIR) $(BUILD_ARGS)
+	cd $(WORKSRC) && $(BUILD_ENV) gmake
+	@$(MAKECOOKIE)
+
+test-perl:
+	@echo " ==> Running make $(TEST_TARGET) in $*"
+	@#cd $* && $(TEST_ENV) $(MAKE) $(PARALLELMFLAGS) $(foreach TTT,$(TEST_OVERRIDE_VARS),$(TTT)="$(TEST_OVERRIDE_VAR_$(TTT))") $(foreach TTT,$(TEST_OVERRIDE_DIRS),$(TTT)="$($(TTT))") -C $(OBJDIR) $(TEST_ARGS) $(TEST_TARGET)
+	cd $(WORKSRC) && gmake check
+	@$(MAKECOOKIE)
+
 # Make links to libperl
 POST_TARGETS += libperl
 LIB_MINOR = $(shell echo $(VERSION) | cut -f1-2 -d.)

Modified: csw/mgar/pkg/perl/trunk/checksums
===================================================================
--- csw/mgar/pkg/perl/trunk/checksums	2011-08-25 06:40:51 UTC (rev 15433)
+++ csw/mgar/pkg/perl/trunk/checksums	2011-08-25 07:44:47 UTC (rev 15434)
@@ -1 +1 @@
-29975a69dce54e47fcd6331c085c6c99  perl-5.12.3.tar.gz
+fd22aba88e4e27ab879f142eec6452a0  perl-5.12.4.tar.gz

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list