Changeset 13405


Ignore:
Timestamp:
2006-12-01T15:43:47+13:00 (17 years ago)
Author:
kjdon
Message:

added ENVIRONMENT var, can use to set environment vars for some of the configure commands. only some of the packages accept this

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gs2build-extra/packages.configure

    r9749 r13405  
    1616bindir=""
    1717HOSTTARGETFLAGS=""
     18# only some of the packages can take environment variables as options to
     19# configure
     20# format is VAR=value, e.g "LDFLAGS=-static"
     21ENVIRONMENT=
    1822
    1923# parse any arguments given from toplevel configure
     
    103107gzip -dc pdftohtml_0_36_gs.tar.gz | tar -xf -
    104108cd pdftohtml_gs && \
    105 ./configure $CACHE_FILE --prefix="$prefix" --bindir="$bindir" $HOSTTARGETFLAGS
     109./configure $CACHE_FILE --prefix="$prefix" --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT
    106110
    107111# rtftohtml converter
     
    131135gzip -dc expat-1.95.8.tar.gz | tar -xf -
    132136cd "$PACKAGES/expat/expat-1.95.8" && \
    133 ./configure $CACHE_FILE --prefix=$PACKAGES/expat --bindir="$bindir" $HOSTTARGETFLAGS
     137./configure $CACHE_FILE --prefix=$PACKAGES/expat --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT
    134138
    135139# configure XML::Parser perl module
     
    165169echo ""
    166170cd "$PACKAGES/isis-gdl" && \
    167 ./configure $CACHE_FILE --prefix="$prefix" --bindir="$bindir" $HOSTTARGETFLAGS
     171./configure $CACHE_FILE --prefix="$prefix" --bindir="$bindir" $HOSTTARGETFLAGS  $ENVIRONMENT
Note: See TracChangeset for help on using the changeset viewer.