head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.4 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2; locks; strict; comment @# @; 1.2 date 2012.03.10.14.57.29; author ryoon; state dead; branches; next 1.1; 1.1 date 2012.03.10.03.26.04; author ryoon; state Exp; branches; next ; desc @@ 1.2 log @Remove necessary backups of the patches. @ text @$NetBSD: patch-aa.orig,v 1.1 2012/03/10 03:26:04 ryoon Exp $ --- mozilla/configure.in.orig 2011-11-07 21:07:43.000000000 +0000 +++ mozilla/configure.in @@@@ -2137,7 +2137,7 @@@@ case "$target" in MOZ_FIX_LINK_PATHS='-Wl,-executable_path,$(LIBXUL_DIST)/bin' ;; -*-freebsd*) +*-freebsd* | *-dragonfly*) if test `test -x /usr/bin/objformat && /usr/bin/objformat || echo elf` != "elf"; then DLL_SUFFIX=".so.1.0" DSO_LDOPTS="-shared" @@@@ -2145,6 +2145,9 @@@@ case "$target" in if test ! "$GNU_CC"; then DSO_LDOPTS="-Bshareable $DSO_LDOPTS" fi + if test "$LIBRUNPATH"; then + DSO_LDOPTS="-Wl,-R$LIBRUNPATH $DSO_LDOPTS" + fi ;; ia64*-hpux*) @@@@ -3312,6 +3315,9 @@@@ dnl ==================================== case $target in *-hpux11.*) ;; +*-dragonfly*) + AC_CHECK_LIB(c, gethostbyname_r) + ;; *) AC_CHECK_LIB(c_r, gethostbyname_r) ;; @@@@ -4520,6 +4526,14 @@@@ if test -n "$YASM"; then _YASM_BUILD=` echo ${YASM_VERSION} | $AWK -F\. '{ print $4 }'` fi +if test -n "${LIBXUL_SDK_DIR}"; then + AC_MSG_WARN([pkgsrc: LIBXUL_SDK_DIR is set; assuming we want nss and nspr from xulrunner.]) + NSPR_CFLAGS="-I${prefix}/include/xulrunner/unstable `pkg-config --cflags mozilla-nspr`" + NSPR_LIBS="`pkg-config --libs mozilla-nspr`" + NSS_CFLAGS="`pkg-config --cflags mozilla-nss`" + NSS_LIBS="`pkg-config --libs mozilla-nss`" +fi + if test -z "$SKIP_LIBRARY_CHECKS"; then dnl system JPEG support dnl ======================================================== @@@@ -7439,7 +7453,7 @@@@ else *-mingw*) AC_DEFINE(MOZ_MEMORY_WINDOWS) AC_MSG_CHECKING([for VC2005/2008++ CRT source]) - if test "$CC_VERSION" == "14.00.50727.762" -o "$CC_VERSION" == "15.00.30729.01"; then + if test "$CC_VERSION" = "14.00.50727.762" -o "$CC_VERSION" = "15.00.30729.01"; then if test -z "$WIN32_CRT_SRC_DIR" -a -n "$VCINSTALLDIR"; then WIN32_CRT_SRC_DIR="$VCINSTALLDIR\crt\src" fi @@@@ -9516,6 +9530,8 @@@@ if test -z "$MOZ_NATIVE_NSPR"; then AC_MSG_WARN([Recreating autoconf.mk with updated nspr-config output]) if test "$OS_ARCH" != "WINNT"; then NSPR_LIBS=`./nsprpub/config/nspr-config --prefix=$LIBXUL_DIST --exec-prefix=$MOZ_BUILD_ROOT/dist --libdir=$LIBXUL_DIST/lib --libs` + AC_MSG_WARN([pkgsrc: adding run path to NSPR_LIBS for bundled NSPR.]) + NSPR_LIBS="-Wl,-R${prefix}/lib/\${MOZILLA_PKG_NAME} ${NSPR_LIBS}" $PERL -pi.bak -e "s '^NSPR_LIBS\\s*=.*'NSPR_LIBS = $NSPR_LIBS'" config/autoconf.mk NSPR_CFLAGS=`./nsprpub/config/nspr-config --prefix=$LIBXUL_DIST --exec-prefix=$MOZ_BUILD_ROOT/dist --includedir=$LIBXUL_DIST/include/nspr --cflags` $PERL -pi.bak -e "s '^NSPR_CFLAGS\\s*=.*'NSPR_CFLAGS = $NSPR_CFLAGS'" config/autoconf.mk @ 1.1 log @Update to 2.7.2 * Many new features. * Security bugfixes. * See http://www.seamonkey-project.org/releases/seamonkey2.7/ @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.6 2011/11/12 16:41:43 tnn Exp $ @