Ticket #18549: patch-src-configure.diff

File patch-src-configure.diff, 848 bytes (added by nerdling (Jeremy Lavergne), 16 years ago)

patch file patch

  • patch-src-configure.diff

    old new  
    66 
    77 # some hopefully reasonable defaults
    88-MAKEDEPEND="gcc -MM"
    9 +MAKEDEPEND="/opt/local/bin/gcc-mp-4.3 -MM"
     9+MAKEDEPEND="@PREFIX@/bin/gcc-mp-4.3 -MM"
    1010 MAKEDEPENDOPTS=""
    1111 SRCDIR="`dirname $0`"
    1212 EXT_SRC_HEADER=h
     
    1515 _pathdebug=no
    1616 _profile=no
    1717-_prefix="/usr/local"
    18 +_prefix="/opt/local"
     18+_prefix="@PREFIX@"
    1919 _destdir="/"
    2020 _bindir=""
    2121 _datadir=""
     
    5555 EOF
    5656                echocheck "lpsolve Developer Files"
    5757-               LPSOLVELINKFLAGS="-L /usr/lib/lp_solve -llpsolve55"
    58 +               LPSOLVELINKFLAGS="-L/opt/local/lib/ -llpsolve55"
     58+               LPSOLVELINKFLAGS="-L@PREFIX@/lib/ -llpsolve55"
    5959                if cc_check $LPSOLVELINKFLAGS
    6060                then
    6161                        echores "yes"