diff --git a/configure b/configure
index 9d6bf97950dafce7673b8c670a081e8e0b7bd579..4dcc7e8ca699953e2962300320dcfea05ba54965 100755
--- a/configure
+++ b/configure
@@ -1491,6 +1491,12 @@ if test "x$platform" = "xmacosx" ; then
    finkdir=`$cwhich fink 2>&1 | sed -ne "s/\/bin\/fink//p"`
    logmsg "$finkdir"
 
+   if test -d /opt/local; then
+      logmsg "Checking MacPorts directory"
+      finkdir=/opt/local
+      logmsg "$finkdir"
+   fi
+
    if [ `sw_vers | sed -n 's/ProductVersion://p' | cut -d . -f 2` -ge 5 ]; then
       macosx105=yes
    fi