[118774] trunk/dports/devel/valgrind/Portfile

sean at macports.org sean at macports.org
Thu Apr 10 17:13:27 PDT 2014


Revision: 118774
          https://trac.macports.org/changeset/118774
Author:   sean at macports.org
Date:     2014-04-10 17:13:27 -0700 (Thu, 10 Apr 2014)
Log Message:
-----------
valgrind{,-devel}: remove -mno-dynamic-no-pic to fix compiling with clang

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

Modified: trunk/dports/devel/valgrind/Portfile
===================================================================
--- trunk/dports/devel/valgrind/Portfile	2014-04-11 00:13:22 UTC (rev 118773)
+++ trunk/dports/devel/valgrind/Portfile	2014-04-11 00:13:27 UTC (rev 118774)
@@ -31,6 +31,9 @@
                     sha1    9415e28933de9d6687f993c4bb797e6bd49583f1 \
                     sha256  e6af71a06bc2534541b07743e1d58dc3caf744f38205ca3e5b5a0bdf372ed6f0
 
+# due to -mno-dynamic-no-pic in Makefile.all.am we need to regenerate the
+# configure scripts
+use_autoreconf      yes
 depends_build       bin:perl:perl5
 # Ignore trace reports about boost, Qt and OpenMP
 # as they are only used for tests
@@ -67,6 +70,8 @@
     if {[gcc_variant_isset]} {
         patchfiles-append patch-gcc.diff
     }
+
+    reinplace -W $worksrcpath "s,-mno-dynamic-no-pic,,g" Makefile.all.am
 }
 
 pre-configure {
@@ -115,7 +120,5 @@
         system -W ${worksrcpath} "${svn.cmd} ${svn.pre_args} ${svn.method} svn://svn.valgrind.org/vex/trunk@${vex_revision} VEX"
     }
 
-    use_autoreconf yes
-
     livecheck.type none
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140410/cfbeef38/attachment.html>


More information about the macports-changes mailing list