[138432] trunk/dports/devel/jemalloc

larryv at macports.org larryv at macports.org
Tue Jul 7 20:28:22 PDT 2015


Revision: 138432
          https://trac.macports.org/changeset/138432
Author:   larryv at macports.org
Date:     2015-07-07 20:28:22 -0700 (Tue, 07 Jul 2015)
Log Message:
-----------
jemalloc: Fix dylib install name (#48142)

Modified Paths:
--------------
    trunk/dports/devel/jemalloc/Portfile

Added Paths:
-----------
    trunk/dports/devel/jemalloc/files/install-name.patch

Modified: trunk/dports/devel/jemalloc/Portfile
===================================================================
--- trunk/dports/devel/jemalloc/Portfile	2015-07-08 03:28:20 UTC (rev 138431)
+++ trunk/dports/devel/jemalloc/Portfile	2015-07-08 03:28:22 UTC (rev 138432)
@@ -6,6 +6,7 @@
 name                jemalloc
 categories          devel
 version             3.6.0
+revision            1
 license             BSD
 platforms           darwin
 maintainers         gmail.com:yoanlin93 openmaintainer
@@ -28,6 +29,9 @@
 
 patchfiles          patch-memalign.diff
 
+# Fix dylib install name (#48142).
+patchfiles-append   install-name.patch
+
 post-destroot {
     move ${destroot}${prefix}/bin/pprof ${destroot}${prefix}/bin/${name}-prof
 }

Added: trunk/dports/devel/jemalloc/files/install-name.patch
===================================================================
--- trunk/dports/devel/jemalloc/files/install-name.patch	                        (rev 0)
+++ trunk/dports/devel/jemalloc/files/install-name.patch	2015-07-08 03:28:22 UTC (rev 138432)
@@ -0,0 +1,15 @@
+https://github.com/jemalloc/jemalloc/commit/f1f2b4542902c5bc14788f6c2d4190b422e5901f
+
+Index: configure
+===================================================================
+--- configure.orig
++++ configure
+@@ -4834,7 +4834,7 @@ case "${host}" in
+ 	so="dylib"
+ 	importlib="${so}"
+ 	force_tls="0"
+-	DSO_LDFLAGS='-shared -Wl,-dylib_install_name,$(@F)'
++	DSO_LDFLAGS='-shared -Wl,-install_name,$(LIBDIR)/$(@F)'
+ 	SOREV="${rev}.${so}"
+ 	sbrk_deprecated="1"
+ 	;;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150707/96ff61a2/attachment.html>


More information about the macports-changes mailing list