GNU bug report logs -
#2280
/sw and /opt/local on OSX
Previous Next
Full log
View this message in rfc822 format
> > Going back to this bug report from Feb, did you manage to solve the
> > problem?
>
> I "patch" the "patched" configure script to either use the default /sw
> setting (for Fink) or I comment this block and uncomment my block
> which adds in paths to /opt/local (MacPorts). I just have to think of
> it before I start to configure.
Does the following patch solve the problem for you?
*** emacs/configure~ 2009-12-30 20:38:31.000000000 -0500
--- emacs/configure 2010-01-09 19:09:55.000000000 -0500
***************
*** 2742,2747 ****
--- 2742,2752 ----
GCC_TEST_OPTIONS="-I/sw/include -L/sw/lib"
CPP="${CPP} ${GCC_TEST_OPTIONS}"
NON_GCC_TEST_OPTIONS=${GCC_TEST_OPTIONS}
+ # Or use MacPorts packages if available.
+ elif test -d /opt/local/include && test -d /opt/local/lib; then
+ GCC_TEST_OPTIONS="-I/opt/local/include -L/opt/local/lib"
+ CPP="${CPP} ${GCC_TEST_OPTIONS}"
+ NON_GCC_TEST_OPTIONS=${GCC_TEST_OPTIONS}
fi
;;
*** emacs/configure.in~ 2010-01-04 05:35:18 +0000
--- emacs/configure.in 2010-01-10 00:09:03 +0000
***************
*** 475,480 ****
--- 475,485 ----
GCC_TEST_OPTIONS="-I/sw/include -L/sw/lib"
CPP="${CPP} ${GCC_TEST_OPTIONS}"
NON_GCC_TEST_OPTIONS=${GCC_TEST_OPTIONS}
+ # Or use MacPorts packages if available.
+ elif test -d /opt/local/include && test -d /opt/local/lib; then
+ GCC_TEST_OPTIONS="-I/opt/local/include -L/opt/local/lib"
+ CPP="${CPP} ${GCC_TEST_OPTIONS}"
+ NON_GCC_TEST_OPTIONS=${GCC_TEST_OPTIONS}
fi
;;
This bug report was last modified 13 years and 9 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.