[Lunar-commits] <moonbase> SGMLSpm: Do not hardcode PERL version, some people put perl on hold

Stefan Wold ratler at lunar-linux.org
Sat Nov 14 11:48:27 CET 2009


commit 07f734443a19d82ae4ef3b634349da29e72fc410
Author: Stefan Wold <ratler at lunar-linux.org>
Date:   Sat Nov 14 11:48:27 2009 +0100

    SGMLSpm: Do not hardcode PERL version, some people put perl on hold
---
 doc-tools/SGMLSpm/BUILD          |    2 +-
 doc-tools/SGMLSpm/DETAILS        |    3 +--
 doc-tools/SGMLSpm/DETAILS.x86_64 |    3 +--
 3 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/doc-tools/SGMLSpm/BUILD b/doc-tools/SGMLSpm/BUILD
index 66182ab..c1c71d6 100644
--- a/doc-tools/SGMLSpm/BUILD
+++ b/doc-tools/SGMLSpm/BUILD
@@ -1,7 +1,7 @@
 (
 
   sedit "s:/usr/local:/usr:"  Makefile  &&
-  sedit "s:/usr/lib/perl5:/usr/lib/perl5/${PERL_VERSION}:"  Makefile  &&
+  sedit "s:/usr/lib/perl5:/usr/lib/perl5/$(lvu installed perl):"  Makefile  &&
   sedit "s:/usr/lib/www/docs:/usr/share/doc/${MODULE}:"  Makefile  &&
 
   prepare_install  &&
diff --git a/doc-tools/SGMLSpm/DETAILS b/doc-tools/SGMLSpm/DETAILS
index ff00dc0..5f5c4df 100644
--- a/doc-tools/SGMLSpm/DETAILS
+++ b/doc-tools/SGMLSpm/DETAILS
@@ -1,6 +1,5 @@
           MODULE=SGMLSpm
          VERSION=1.03ii
-    PERL_VERSION=5.10.1
           SOURCE=$MODULE-$VERSION.tar.gz
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE
    SOURCE_URL[0]=http://search.cpan.org/CPAN/authors/id/D/DM/DMEGG
@@ -10,7 +9,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE
          ENTERED=20020629
          UPDATED=20090827
            SHORT="Perl tools to convert SGML, HTML or XML documents"
-           PSAFE=no
+PSAFE=no
 
 cat << EOF
 Perl programs can use the SGMLSpm module to help convert SGML, HTML
diff --git a/doc-tools/SGMLSpm/DETAILS.x86_64 b/doc-tools/SGMLSpm/DETAILS.x86_64
index ff00dc0..5f5c4df 100644
--- a/doc-tools/SGMLSpm/DETAILS.x86_64
+++ b/doc-tools/SGMLSpm/DETAILS.x86_64
@@ -1,6 +1,5 @@
           MODULE=SGMLSpm
          VERSION=1.03ii
-    PERL_VERSION=5.10.1
           SOURCE=$MODULE-$VERSION.tar.gz
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE
    SOURCE_URL[0]=http://search.cpan.org/CPAN/authors/id/D/DM/DMEGG
@@ -10,7 +9,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE
          ENTERED=20020629
          UPDATED=20090827
            SHORT="Perl tools to convert SGML, HTML or XML documents"
-           PSAFE=no
+PSAFE=no
 
 cat << EOF
 Perl programs can use the SGMLSpm module to help convert SGML, HTML


More information about the Lunar-commits mailing list