--- abi/configure.fink 2006-07-22 07:06:55.000000000 -0400 +++ abi/configure 2006-07-22 07:09:52.000000000 -0400 @@ -888,6 +888,7 @@ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --without-epath hardcode relative install path in libwv (MacOS X only) --with-fink add /sw/... to CPP/LDFLAGS (Mac OSX) + --with-darwinports add /opt/local/... to CPP/LDFLAGS (Max OSX) --with-x use the X Window System --with-libiconv=DIR use libiconv in DIR --with-builtin-plugins (experimental) compile-in a selection of plugins @@ -4077,6 +4078,20 @@ fi; # +# convenience option for building with darwinports installed... +# + +# Check whether --with-darwinports or --without-darwinports was given. +if test "${with_darwinports+set}" = set; then + withval="$with_darwinports" + + if test "x$withval" != "xno"; then + CPPFLAGS="$CPPFLAGS -I/opt/local/include" + LDFLAGS="$LDFLAGS -L/opt/local/lib" + fi + +fi; +# # 1. Whether to consider using Cocoa API: # # Check whether --enable-Cocoa or --disable-Cocoa was given.