]> gitweb @ CieloNegro.org - pkgsrc-firefox3.git/blob - patches/patch-dr
Makefile fix
[pkgsrc-firefox3.git] / patches / patch-dr
1 $NetBSD: patch-dr,v 1.1.1.1 2008/06/28 10:01:07 tnn Exp $
2
3 diff -ruN ../Orig/mozilla/config/config.mk ./config/config.mk
4 --- config/config.mk.orig       2008-08-14 19:00:34.000000000 +0900
5 +++ config/config.mk
6 @@ -131,7 +131,7 @@ endif
7  # but save the version to allow multiple versions of the same base
8  # platform to be built in the same tree.
9  #
10 -ifneq (,$(filter FreeBSD HP-UX IRIX Linux NetBSD OpenBSD OSF1 SunOS,$(OS_ARCH)))
11 +ifneq (,$(filter DragonFly FreeBSD HP-UX IRIX Linux NetBSD OpenBSD OSF1 SunOS,$(OS_ARCH)))
12  OS_RELEASE     := $(basename $(OS_RELEASE))
13  
14  # Allow the user to ignore the OS_VERSION, which is usually irrelevant.
15 @@ -675,7 +675,7 @@ endif
16  ifeq ($(OS_ARCH),Darwin)
17  ifdef USE_PREBINDING
18  export LD_PREBIND=1
19 -export LD_SEG_ADDR_TABLE=$(shell cd $(topsrcdir); pwd)/config/prebind-address-table
20 +export LD_PREBIND_ALLOW_OVERLAP=1
21  endif # USE_PREBINDING
22  ifdef NEXT_ROOT
23  export NEXT_ROOT
24 @@ -752,7 +752,7 @@ MOZ_COMPONENTLIB_EXTRA_DSO_LIBS = mozcom
25  # Tell the linker where NSS is, if we're building crypto
26  ifeq ($(OS_ARCH),Darwin)
27  ifeq (,$(findstring crypto,$(MOZ_META_COMPONENTS)))
28 -MOZ_COMPONENTLIB_EXTRA_LIBS = $(foreach library, $(patsubst -l%, $(LIB_PREFIX)%$(DLL_SUFFIX), $(filter -l%, $(NSS_LIBS))), -dylib_file @executable_path/$(library):$(DIST)/bin/$(library))
29 +MOZ_COMPONENTLIB_EXTRA_LIBS = $(foreach library, $(patsubst -l%, $(LIB_PREFIX)%$(DLL_SUFFIX), $(filter -l%, $(NSS_LIBS))), -dylib_file $(libdir)/$(MOZILLA_PKG_NAME)/$(library):$(DIST)/bin/$(library))
30  endif
31  endif
32  endif