[151097] trunk/dports/www/mozplugger

jeremyhu at macports.org jeremyhu at macports.org
Sun Aug 7 00:55:29 PDT 2016


Revision: 151097
          https://trac.macports.org/changeset/151097
Author:   jeremyhu at macports.org
Date:     2016-08-07 00:55:29 -0700 (Sun, 07 Aug 2016)
Log Message:
-----------
mozplugger: Use the right compiler to link

Modified Paths:
--------------
    trunk/dports/www/mozplugger/Portfile

Added Paths:
-----------
    trunk/dports/www/mozplugger/files/ld.patch

Modified: trunk/dports/www/mozplugger/Portfile
===================================================================
--- trunk/dports/www/mozplugger/Portfile	2016-08-07 07:41:21 UTC (rev 151096)
+++ trunk/dports/www/mozplugger/Portfile	2016-08-07 07:55:29 UTC (rev 151097)
@@ -29,6 +29,7 @@
 
 patchfiles \
     destdir.patch \
+    ld.patch \
     universal.patch
 
 set plugins_path "${prefix}/lib/nsplugins"

Added: trunk/dports/www/mozplugger/files/ld.patch
===================================================================
--- trunk/dports/www/mozplugger/files/ld.patch	                        (rev 0)
+++ trunk/dports/www/mozplugger/files/ld.patch	2016-08-07 07:55:29 UTC (rev 151097)
@@ -0,0 +1,11 @@
+--- configure.orig	2016-08-07 00:52:11.000000000 -0700
++++ configure	2016-08-07 00:52:20.000000000 -0700
+@@ -3131,7 +3131,7 @@ fi
+ 
+ 
+ # Determine the linker flags for mozplugger.so
+-LDSHARED='gcc -shared'
++LDSHARED='${CC} -shared'
+ PLATFORM="x`uname`"
+ XCFLAGS="-fPIC -Wall -O2"
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160807/501cbc68/attachment.html>


More information about the macports-changes mailing list