[51061] trunk/dports/devel/xulrunner-devel/files/patch-dylib_file.diff

jeremyhu at macports.org jeremyhu at macports.org
Sat May 16 21:31:40 PDT 2009


Revision: 51061
          http://trac.macports.org/changeset/51061
Author:   jeremyhu at macports.org
Date:     2009-05-16 21:31:40 -0700 (Sat, 16 May 2009)
Log Message:
-----------
xulrunner: Add more dylib_file magic for #19610.

Modified Paths:
--------------
    trunk/dports/devel/xulrunner-devel/files/patch-dylib_file.diff

Modified: trunk/dports/devel/xulrunner-devel/files/patch-dylib_file.diff
===================================================================
--- trunk/dports/devel/xulrunner-devel/files/patch-dylib_file.diff	2009-05-17 04:29:58 UTC (rev 51060)
+++ trunk/dports/devel/xulrunner-devel/files/patch-dylib_file.diff	2009-05-17 04:31:40 UTC (rev 51061)
@@ -1,6 +1,6 @@
---- config/config.mk	2006-01-06 16:01:22.000000000 -0500
-+++ config/config.mk	2007-08-21 13:51:05.000000000 -0400
-@@ -697,6 +697,10 @@
+--- config/config.mk.orig	2009-05-16 21:01:59.000000000 -0700
++++ config/config.mk	2009-05-16 21:11:09.000000000 -0700
+@@ -704,6 +704,13 @@ XCODE_PRODUCT_DIR = build/$(BUILDSTYLE)
  else
  XCODE_PRODUCT_DIR = build
  endif # HAS_XCODE_2_1=1
@@ -8,6 +8,9 @@
 +ifneq (,$(findstring -lplds4,$(EXTRA_DSO_LDOPTS)))
 +EXTRA_DSO_LDOPTS += $(foreach library, $(patsubst -l%, $(LIB_PREFIX)%$(DLL_SUFFIX), $(filter -l%, $(NSPR_LIBS))), -dylib_file @executable_path/$(library):$(DIST)/bin/$(library))
 +endif
++ifneq (,$(findstring -lmozjs,$(EXTRA_DSO_LDOPTS)))
++EXTRA_DSO_LDOPTS += -dylib_file @executable_path/libmozjs.dylib:$(DIST)/bin/libmozjs.dylib
++endif
  endif # OS_ARCH=Darwin
  
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090516/16429349/attachment.html>


More information about the macports-changes mailing list