$NetBSD: patch-ab,v 1.2 2018/09/29 15:05:03 tnn Exp $ use correct --lib args to geos-config --- configure.orig 2011-10-04 15:01:41.000000000 +0000 +++ configure @@ -9288,7 +9288,7 @@ else echo "${ECHO_T}no" >&6 fi - if test "$FT_BIN" == "no" ; then + if test "$FT_BIN" = "no" ; then { { echo "$as_me:$LINENO: error: the freetype-config executable could not be found and is required for agg support to fix this, you should either: * install the freetype development headers @@ -11029,7 +11029,7 @@ echo "${ECHO_T}GEOS >= 3.0.0 found. Addi GEOS_INCDIR=`$GEOS_CONFIG --includes` GEOS_INC="-I$GEOS_INCDIR" - GEOS_LIB="`$GEOS_CONFIG --libs`_c" + GEOS_LIB="`$GEOS_CONFIG --clibs`" GEOS_ENABLED=$GEOS_ENABLED @@ -12334,7 +12334,7 @@ if test "$FRIBIDI_CONFIG" = "no" ; then FRIBIDI_INC= FRIBIDI_LIB= else - if test "$FRIBIDI_PKG_CONFIG" = "yes" -o ${FRIBIDI_CONFIG: -3} = ".pc" ; then + if test "$FRIBIDI_PKG_CONFIG" = "yes"; then echo "$as_me:$LINENO: result: yes, user supplied path to fribidi.pc" >&5 echo "${ECHO_T}yes, user supplied path to fribidi.pc" >&6 FRIBIDI_ENABLED="-DUSE_FRIBIDI -DUSE_FRIBIDI2"