openbsd-ports/geo/mapserver/patches/patch-configure
landry 472c5ac65c Update to mapserver 6.0.0, loosely based on a diff from wen heping.
- enable cairo & kml output backend, don't enable OpenGL yet.
- remove native tiff support now provided by gdal
- shuffle deps, fix WANTLIB
See http://mapserver.org/development/announce/6-0.html for a list of
goodies.
2011-06-22 20:16:43 +00:00

22 lines
1.1 KiB
Plaintext

$OpenBSD: patch-configure,v 1.4 2011/06/22 20:16:43 landry Exp $
--- configure.orig Wed Apr 27 09:06:17 2011
+++ configure Thu May 26 19:59:16 2011
@@ -3361,7 +3361,7 @@ if test $ac_cv_lib_m_exp = yes; then
XTRALIBS="$XTRALIBS -lm"
fi
-XTRALIBS=$XTRALIBS
+XTRALIBS="$XTRALIBS -pthread"
echo "$as_me:$LINENO: checking for __gxx_personality_v0 in -lstdc++" >&5
@@ -5363,7 +5363,7 @@ if test -n "$PNG_DIR" ; then
test -f $PNG_DIR/lib/libpng.a -o -f $PNG_DIR/lib/libpng.so -o -f $PNG_DIR/lib/libpng.sl -o -f $PNG_DIR/lib/libpng.dylib && PNG_LIBDIR="$PNG_DIR/lib"
test -f $PNG_DIR/lib64/libpng.a -o -f $PNG_DIR/lib64/libpng.so -o -f $PNG_DIR/lib64/libpng.sl -o -f $PNG_DIR/libpng.dylib && PNG_LIBDIR="$PNG_DIR/lib64"
test -f $PNG_DIR/libpng.a -o -f $PNG_DIR/libpng.so -o -f $PNG_DIR/libpng.sl -o -f $PNG_DIR/libpng.dylib && PNG_LIBDIR="$PNG_DIR"
- test -f $PNG_DIR/include/png.h && PNG_INCLUDE="$PNG_DIR/include"
+ test -f $PNG_DIR/include/libpng/png.h && PNG_INCLUDE="$PNG_DIR/include/libpng"
test -f $PNG_DIR/lib/png.h && PNG_INCLUDE="$PNG_DIR/lib"
test -f $PNG_DIR/png.h && PNG_INCLUDE="$PNG_DIR"