openbsd-ports/www/seamonkey/patches/patch-configure_in
martynas 309afbc049 security update to seamonkey-1.1.13. MFSA 2008-58; MFSA 2008-57;
MFSA 2008-56; MFSA 2008-55; MFSA 2008-54; MFSA 2008-53; MFSA 2008-52;
MFSA 2008-50; MFSA 2008-49; MFSA 2008-48; MFSA 2008-47.
http://www.mozilla.org/security/known-vulnerabilities/seamonkey11.html#seamonkey1.1.13
ok naddy@
2008-11-13 17:35:44 +00:00

31 lines
976 B
Plaintext

$OpenBSD: patch-configure_in,v 1.7 2008/11/13 17:35:44 martynas Exp $
--- configure.in.orig Fri Oct 31 00:05:31 2008
+++ configure.in Wed Nov 12 23:25:52 2008
@@ -2030,7 +2030,7 @@ case "$target" in
;;
*-openbsd*)
- DLL_SUFFIX=".so.1.0"
+ DLL_SUFFIX=".so.${SO_VERSION}"
DSO_CFLAGS=''
DSO_PIC_CFLAGS='-fPIC'
DSO_LDOPTS='-shared -fPIC'
@@ -3880,7 +3880,7 @@ _SAVE_LIBS=$LIBS
CFLAGS="$ZLIB_CFLAGS $CFLAGS"
LDFLAGS="$ZLIB_LIBS -lz $LDFLAGS"
if test -n "${PNG_DIR}" -a "${PNG_DIR}" != "yes"; then
- 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
@@ -3910,7 +3910,7 @@ LDFLAGS=$_SAVE_LDFLAGS
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