2007-10-23 16:13:26 -04:00
|
|
|
$OpenBSD: patch-configure_in,v 1.11 2007/10/23 20:13:26 martynas Exp $
|
|
|
|
--- configure.in.orig Thu Sep 13 06:48:33 2007
|
|
|
|
+++ configure.in Fri Oct 19 14:29:21 2007
|
|
|
|
@@ -1979,7 +1979,7 @@ case "$target" in
|
2005-04-09 11:43:47 -04:00
|
|
|
;;
|
|
|
|
|
|
|
|
*-openbsd*)
|
|
|
|
- DLL_SUFFIX=".so.1.0"
|
|
|
|
+ DLL_SUFFIX=".so.${SO_VERSION}"
|
|
|
|
DSO_CFLAGS=''
|
|
|
|
DSO_PIC_CFLAGS='-fPIC'
|
|
|
|
DSO_LDOPTS='-shared -fPIC'
|
2007-10-23 16:13:26 -04:00
|
|
|
@@ -3877,7 +3877,7 @@ _SAVE_LIBS=$LIBS
|
2005-01-13 10:57:26 -05:00
|
|
|
CFLAGS="$ZLIB_CFLAGS $CFLAGS"
|
|
|
|
LDFLAGS="$ZLIB_LIBS -lz $LDFLAGS"
|
2005-12-20 18:44:00 -05:00
|
|
|
if test -n "${PNG_DIR}" -a "${PNG_DIR}" != "yes"; then
|
2005-01-13 10:57:26 -05:00
|
|
|
- CFLAGS="-I${PNG_DIR}/include $CFLAGS"
|
|
|
|
+ CFLAGS="-I${PNG_DIR}/include/libpng $CFLAGS"
|
|
|
|
LDFLAGS="-L${PNG_DIR}/lib $LDFLAGS"
|
|
|
|
fi
|
|
|
|
if test -z "$PNG_DIR" -o "$PNG_DIR" = no; then
|
2007-10-23 16:13:26 -04:00
|
|
|
@@ -3907,7 +3907,7 @@ LDFLAGS=$_SAVE_LDFLAGS
|
2005-01-13 10:57:26 -05:00
|
|
|
LIBS=$_SAVE_LIBS
|
|
|
|
|
|
|
|
if test "${PNG_DIR}" -a -d "${PNG_DIR}" -a "$SYSTEM_PNG" = 1; then
|
|
|
|
- PNG_CFLAGS="-I${PNG_DIR}/include"
|
|
|
|
+ PNG_CFLAGS="-I${PNG_DIR}/include/libpng"
|
|
|
|
PNG_LIBS="-L${PNG_DIR}/lib ${PNG_LIBS}"
|
|
|
|
fi
|
|
|
|
|