X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage3%2Fcis-opensp;h=336b0d395f8813a014387e825897fe4a7b4b5401;hb=5b913b7b528bb69a0c90583b8776d6d26b9cb189;hp=9860a5e72efae92646f1e055be23d7d2f7cfaab0;hpb=16cc35ba4890382ee9368a176e4f5a7fa773b7a6;p=hvlinux.git diff --git a/stage3/cis-opensp b/stage3/cis-opensp index 9860a5e..336b0d3 100755 --- a/stage3/cis-opensp +++ b/stage3/cis-opensp @@ -1,4 +1,6 @@ #!/bin/sh +set -o errexit + # First argument of this script is the package name # Reading system configuration informations, functions and package versions. @@ -19,37 +21,36 @@ if [ $? -eq 0 ]; then fi # Applying patches (if any) -apply_patches ${1} && +apply_patches ${1} -cd ${LFS_TMP}/${1} && +cd ${LFS_TMP}/${1} # These seds prevent some annoying messages that may otherwise appear while running openjade. -sed -i 's:32,:253,:' lib/Syntax.cxx && +sed -i 's:32,:253,:' lib/Syntax.cxx sed -i 's:LITLEN 240 :LITLEN 8092:' \ - unicode/{gensyntax.pl,unicode.syn} && + unicode/{gensyntax.pl,unicode.syn} ./configure \ --prefix=/usr \ --disable-static \ --disable-doc-build \ --enable-http \ --enable-default-catalog=/etc/sgml/catalog \ - --enable-default-search-path=/usr/share/sgml && -make pkgdatadir=/usr/share/sgml/${1} && -make pkgdatadir=/usr/share/sgml/${1} install && -ln -sf onsgmls /usr/bin/nsgmls && -ln -sf osgmlnorm /usr/bin/sgmlnorm && -ln -sf ospam /usr/bin/spam && -ln -sf ospcat /usr/bin/spcat && -ln -sf ospent /usr/bin/spent && -ln -sf osx /usr/bin/sx && -ln -sf osx /usr/bin/sgml2xml && + --enable-default-search-path=/usr/share/sgml +make pkgdatadir=/usr/share/sgml/${1} +make pkgdatadir=/usr/share/sgml/${1} install +ln -sf onsgmls /usr/bin/nsgmls +ln -sf osgmlnorm /usr/bin/sgmlnorm +ln -sf ospam /usr/bin/spam +ln -sf ospcat /usr/bin/spcat +ln -sf ospent /usr/bin/spent +ln -sf osx /usr/bin/sx +ln -sf osx /usr/bin/sgml2xml ln -sf libosp.so /usr/lib/libsp.so #install-catalog --add /etc/sgml/${1}.cat \ -# /usr/share/sgml/${1}/catalog && +# /usr/share/sgml/${1}/catalog #install-catalog --add /etc/sgml/sgml-docbook.cat \ # /etc/sgml/${1}.cat -# Return last error exit $?