[Lunar-commits] r15002 - moonbase/trunk/perl/perl
Moritz Heiber
moe at lunar-linux.org
Tue May 24 21:45:17 UTC 2005
Author: moe
Date: 2005-05-24 21:45:16 +0000 (Tue, 24 May 2005)
New Revision: 15002
Removed:
moonbase/trunk/perl/perl/PRE_BUILD
Modified:
moonbase/trunk/perl/perl/BUILD
Log:
* perl no longer conflicts with itself
* Sanitize the BUILD file. Much cleaner. Makes use
of the mquery command.
* perl now builds shared libraries (reduces module
sizes of programs that link against perl
dramatically!)
I KNOW that there are segfaults when building perl ..
AND that it is using a lot of RAM during the installation.
BUT .. it used to do that before anyway.
Modified: moonbase/trunk/perl/perl/BUILD
===================================================================
--- moonbase/trunk/perl/perl/BUILD 2005-05-24 21:22:05 UTC (rev 15001)
+++ moonbase/trunk/perl/perl/BUILD 2005-05-24 21:45:16 UTC (rev 15002)
@@ -1,36 +1,36 @@
-#bzcat $SCRIPT_DIRECTORY/perl-gcc3.patch.bz2 | patch -p 0
+(
-case $SUIDPERL in
- y|Y) USE_SUIDPERL="-Dd_dosuid" ;;
- *) USE_SUIDPERL="" ;;
-esac
+ if [ "$USE_SUIDPERL" == "y" ] ; then
+ OPTS="$OPTS -Dd_dosuid"
+ fi
+
+ if [ "$CUSTOM" == "y" ] ; then
+ ./Configure -Dprefix=/usr \
+ -Duseshrplib=true \
+ $OPTS \
+ -Dman1dir=/usr/share/man/man1 \
+ -Dman3dir=/usr/share/man/man3 -e
+ else
+ ./Configure -Dprefix=/usr \
+ -Duseshrplib=true \
+ $OPTS \
+ -Dman1dir=/usr/share/man/man1 \
+ -Dusethreads \
+ -Dman3dir=/usr/share/man/man3 -ds -e
+ fi &&
+
+ make &&
-case $CUSTOM in
- y|Y|j|J) sound REPORT
- ./Configure -Dprefix=/usr \
- $USE_SUIDPERL \
- -Dman1dir=/usr/share/man/man1 \
- -Dman3dir=/usr/share/man/man3 -d -e
- ;;
- *) true ;;
-esac
+ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$SOURCE_DIRECTORY" &&
+ ldconfig &&
-(
+ prepare_install &&
+ make install &&
- case $CUSTOM in
- y|Y|j|J) true ;;
- *) ./Configure -Dprefix=/usr \
- $USE_SUIDPERL \
- -Dman1dir=/usr/share/man/man1 \
- -Dman3dir=/usr/share/man/man3 -d -e \
- -Dusethreads ;;
- esac &&
- make &&
- prepare_install &&
- make install
- strip --strip-unneeded `which perl`
- case $SUIDPERL in
- y|Y) strip --strip-unneeded `which suidperl` ;;
- esac
+ strip --strip-unneeded $(which perl) &&
+
+ if [ "$SUIDPERL" == "y" ] ; then
+ strip --strip-unneeded $(which perl)
+ fi
) > $C_FIFO 2>&1
Deleted: moonbase/trunk/perl/perl/PRE_BUILD
More information about the Lunar-commits
mailing list