2007-11-28 15:22:25 -05:00
|
|
|
$OpenBSD: patch-configure_in,v 1.12 2007/11/28 20:22:25 martynas Exp $
|
|
|
|
--- configure.in.orig Thu Nov 8 21:13:08 2007
|
|
|
|
+++ configure.in Tue Nov 27 11:43:26 2007
|
|
|
|
@@ -1994,7 +1994,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-11-28 15:22:25 -05:00
|
|
|
@@ -3892,7 +3892,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-11-28 15:22:25 -05:00
|
|
|
@@ -3922,7 +3922,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
|
|
|
|
|