pkgsrc/mail/thunderbird/patches/patch-ab

54 lines
1.5 KiB
Text

$NetBSD: patch-ab,v 1.5 2005/07/25 15:46:02 adam Exp $
--- configure.in.orig 2004-10-31 07:17:58.000000000 +0000
+++ configure.in
@@ -1001,7 +1001,6 @@ case "$target" in
powerpc*)
_PLATFORM_DEFAULT_TOOLKIT='mac'
DSO_LDOPTS="$DSO_LDOPTS -arch ppc"
- MOZ_ENABLE_POSTSCRIPT=
# set MACOSX to generate lib/mac/MoreFiles/Makefile
MACOSX=1
;;
@@ -1022,6 +1021,9 @@ case "$target" in
# MKSHLIB_FORCE_ALL='-Wl,-Bforcearchive'
# MKSHLIB_UNFORCE_ALL=''
# fi
+ if test "$LIBRUNPATH"; then
+ DSO_LDOPTS="-Wl,-R$LIBRUNPATH $DSO_LDOPTS"
+ fi
;;
*-hpux*)
@@ -1316,6 +1318,13 @@ case "$target" in
if test "$LIBRUNPATH"; then
DSO_LDOPTS="-Wl,-R$LIBRUNPATH $DSO_LDOPTS"
fi
+
+ case "${target_cpu}" in
+ alpha*)
+ CFLAGS="$CFLAGS -mieee"
+ CXXFLAGS="$CXXFLAGS -mieee"
+ ;;
+ esac
;;
*-nto*)
@@ -1539,7 +1548,7 @@ dnl the qsort routine under solaris is f
MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_FLAGS) -G -Wl,-z -Wl,muldefs -o $@'
MKSHLIB_FORCE_ALL='-Qoption ld -z,allextract'
MKSHLIB_UNFORCE_ALL=''
- DSO_LDOPTS='-G -Qoption ld -z,muldefs -h $@'
+ DSO_LDOPTS='-G -z muldefs -h $@'
AR_LIST="$AR t"
AR_EXTRACT="$AR x"
AR_DELETE="$AR d"
@@ -4280,7 +4289,7 @@ dnl = Enable code optimization. OFF by d
dnl ========================================================
MOZ_OPTIMIZE=
if test -z "$MOZ_OPTIMIZE_FLAGS"; then
- MOZ_OPTIMIZE_FLAGS="-O"
+ MOZ_OPTIMIZE_FLAGS=""
fi
MOZ_ARG_ENABLE_STRING(optimize,