Changeset 13475 for trunk


Ignore:
Timestamp:
2006-12-11T10:42:17+13:00 (17 years ago)
Author:
kjdon
Message:

can pass in environment variables to some of the packages - added a place in configure script to set this, e.g. LDFLAGS=-static for when creating a release

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/packages/configure

    r13018 r13475  
    1616bindir=""
    1717HOSTTARGETFLAGS=""
     18
     19# only some of the packages can take environment variables as options to
     20# configure
     21# format is VAR=value, e.g "LDFLAGS=-static"
     22ENVIRONMENT="LDFLAGS=-static"
    1823
    1924USE_CORBA=false
     
    158163gzip -dc pdftohtml_0_36_gs.tar.gz | tar -xf -
    159164cd pdftohtml_gs && \
    160 ./configure $CACHE_FILE --prefix="$prefix" --bindir="$bindir" $HOSTTARGETFLAGS
     165./configure $CACHE_FILE --prefix="$prefix" --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT
    161166
    162167# rtftohtml converter
     
    219224gzip -dc expat-1.95.8.tar.gz | tar -xf -
    220225cd "$PACKAGES/expat/expat-1.95.8" && \
    221 ./configure $CACHE_FILE --disable-shared --prefix=$PACKAGES/expat --bindir="$bindir" $HOSTTARGETFLAGS
     226./configure $CACHE_FILE --disable-shared --prefix=$PACKAGES/expat --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT
    222227
    223228# configure XML::Parser perl module
     
    253258echo ""
    254259cd "$PACKAGES/isis-gdl" && \
    255 ./configure $CACHE_FILE --prefix="$prefix" --bindir="$bindir" $HOSTTARGETFLAGS
     260./configure $CACHE_FILE --prefix="$prefix" --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT
    256261
    257262# configure unac program
Note: See TracChangeset for help on using the changeset viewer.