$NetBSD: patch-ak,v 1.3 2005/03/29 12:16:22 adam Exp $ --- libmaa/configure.orig 2004-12-23 19:23:25.000000000 +0000 +++ libmaa/configure @@ -1320,6 +1320,8 @@ echo Configuring for libmaa $MAA_MAJOR.$ echo . +LIBS=`echo $LIBS | sed -e 's|-lmaa||' -e 's|-lz||' -e 's|-lregex||'` + # Check whether --with-cc or --without-cc was given. if test "${with_cc+set}" = set; then withval="$with_cc" @@ -2523,9 +2525,7 @@ esac if test "${with_cflags+set}" = set; then withval="$with_cflags" -if test "x${withval}" = xyes; then CFLAGS="$withval" -fi fi;