[Lunar-commits] r15167 - moonbase/trunk/perl/perl

Jerry Lundström prox at lunar-linux.org
Mon May 30 07:49:37 UTC 2005


Author: prox
Date: 2005-05-30 07:49:36 +0000 (Mon, 30 May 2005)
New Revision: 15167

Modified:
   moonbase/trunk/perl/perl/BUILD
Log:
perl should be able to find thread itself, rewrote sedit, fixed suidperl strip

Modified: moonbase/trunk/perl/perl/BUILD
===================================================================
--- moonbase/trunk/perl/perl/BUILD	2005-05-29 21:21:37 UTC (rev 15166)
+++ moonbase/trunk/perl/perl/BUILD	2005-05-30 07:49:36 UTC (rev 15167)
@@ -2,18 +2,14 @@
 
   # DO NOT TOUCH THESE SEDITS UNLESS YOU KNOW WHAT YOU'RE DOING!
 
-  # Really enable threads
-  sedit 's/libswanted=\"\$\*\"/libswanted=\"pthread\ \$\*\"/' hints/linux.sh
-  
-  # Work around the segfaults. Doesn't do any harm
-  sedit 's/\$(COMPILE)//' Makefile.SH &&
+  # Rename COMPILE to something else in these files since
+  # COMPILE gets set by lunar. Perl uses COMPILE when
+  # compling win32 test programs.
+  sedit 's/COMPILE/PERL_DID_AN_OOPS/' Makefile.SH installperl &&
 
-  # Does harm if you run make test .. which we do not do
-  sedit 's/COMPILE/SOMETHING/' installperl &&
-
   if [ "$USE_SUIDPERL" == "y" ] ; then
 	OPTS="$OPTS -Dd_dosuid"
-  fi
+  fi &&
 	
   if [ "$CUSTOM" == "y" ] ; then
 	./Configure  -Dprefix=/usr   \
@@ -46,7 +42,7 @@
   strip --strip-unneeded $(which perl) &&
   
   if [ "$SUIDPERL" == "y" ] ; then
-    strip --strip-unneeded $(which perl)
+    strip --strip-unneeded $(which suidperl)
   fi
 
 ) > $C_FIFO 2>&1



More information about the Lunar-commits mailing list