Ignore:
Timestamp:
Feb 21, 2006, 12:22:21 AM (19 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
d3d48d51
Parents:
c2b8e07
Message:

r596@server (orig r594): ryan | 2005-08-05 23:10:34 -0700
Update for new version, add support for optional deps if they are detected


File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/untested/blfs-scripts/blfs-tex.sh

    rc2b8e07 r8c8c5ab  
    1919mkdir -p /usr/share/texmf
    2020cd /usr/share/texmf
    21 unpack_tarball tetex-texmf-${TETEX_VER}
    22 unpack_tarball tetex-texmfsrc-${TETEX_VER}
     21(
     22   umask 0
     23   umask
     24   unpack_tarball tetex-texmf-${TETEX_VER}
     25   unpack_tarball tetex-texmfsrc-${TETEX_VER}
     26)
    2327
     28umask
    2429PKGDIR=${OLD_PKGDIR}
    2530
    2631cd ${SRC}/${PKGDIR}
    2732
    28 apply_patch tetex-src-2.0.2-flex-1
    29 apply_patch tetex-src-2.0.2-remove_readlink-1
     33case ${TETEX_VER} in
     34   2.0.2 )
     35      apply_patch tetex-src-2.0.2-flex-1
     36      apply_patch tetex-src-2.0.2-remove_readlink-1
     37   ;;
     38esac
    3039
     40# Additional config if t1lib, gd were built previously
     41if [ -f /usr/${libdirname}/libt1.a ]; then
     42   extra_conf="${extra_conf} --with-system-t1lib"
     43fi
     44
     45if [ -f /usr/${libdirname}/libgd.a ]; then
     46   extra_conf="${extra_conf} --with-system-gd"
     47fi
     48
     49# Added LDFLAGS to appease libtool w gdlib
    3150max_log_init tetex ${TETEX_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
    3251CC="${CC-gcc} ${ARCH_CFLAGS}" \
     
    3453CFLAGS="${TGT_CFLAGS}" \
    3554CXXFLAGS="${TGT_CFLAGS}" \
     55LDFLAGS="-L/usr/${libdirname}" \
    3656./configure --prefix=/usr \
    3757   --with-system-ncurses --with-system-zlib \
     
    4161echo " o Configure OK" &&
    4262
     63# TODO: check whether we should use make world or make all.
     64#       2.0.2 instructions were make world
    4365min_log_init ${BUILDLOGS} &&
    44 make world \
     66make all \
    4567   >> ${LOGFILE} 2>&1 &&
    4668echo " o Build OK" || barf
    4769
     70min_log_init ${INSTLOGS} &&
     71make install \
     72   >> ${LOGFILE} 2>&1 &&
     73echo " o Install OK" || barf
     74
    4875texconfig dvips paper a4
    4976texconfig font rw
Note: See TracChangeset for help on using the changeset viewer.