Ticket #18549: patch-src-configure.diff
File patch-src-configure.diff, 848 bytes (added by nerdling (Jeremy Lavergne), 16 years ago) |
---|
-
patch-src-configure.diff
old new 6 6 7 7 # some hopefully reasonable defaults 8 8 -MAKEDEPEND="gcc -MM" 9 +MAKEDEPEND=" /opt/local/bin/gcc-mp-4.3 -MM"9 +MAKEDEPEND="@PREFIX@/bin/gcc-mp-4.3 -MM" 10 10 MAKEDEPENDOPTS="" 11 11 SRCDIR="`dirname $0`" 12 12 EXT_SRC_HEADER=h … … 15 15 _pathdebug=no 16 16 _profile=no 17 17 -_prefix="/usr/local" 18 +_prefix=" /opt/local"18 +_prefix="@PREFIX@" 19 19 _destdir="/" 20 20 _bindir="" 21 21 _datadir="" … … 55 55 EOF 56 56 echocheck "lpsolve Developer Files" 57 57 - LPSOLVELINKFLAGS="-L /usr/lib/lp_solve -llpsolve55" 58 + LPSOLVELINKFLAGS="-L /opt/local/lib/ -llpsolve55"58 + LPSOLVELINKFLAGS="-L@PREFIX@/lib/ -llpsolve55" 59 59 if cc_check $LPSOLVELINKFLAGS 60 60 then 61 61 echores "yes"