[126232] trunk/dports/aqua/fltk-devel/Portfile

michaelld at macports.org michaelld at macports.org
Sun Oct 5 13:51:44 PDT 2014


Revision: 126232
          https://trac.macports.org/changeset/126232
Author:   michaelld at macports.org
Date:     2014-10-05 13:51:44 -0700 (Sun, 05 Oct 2014)
Log Message:
-----------
fltk-devel: use the correct CC in the post-patch command to make sure we're "using the right compiler". While this port will in general work correctly without this addition, doing this allows the port to not error out on dev's systems set up to check whether the right compiler is being used.

Modified Paths:
--------------
    trunk/dports/aqua/fltk-devel/Portfile

Modified: trunk/dports/aqua/fltk-devel/Portfile
===================================================================
--- trunk/dports/aqua/fltk-devel/Portfile	2014-10-05 20:40:59 UTC (rev 126231)
+++ trunk/dports/aqua/fltk-devel/Portfile	2014-10-05 20:51:44 UTC (rev 126232)
@@ -55,10 +55,14 @@
     # tell fltk's make script to create config.sub, which is required
     # before configure will execute properly.  This command actually
     # runs configure through once, to create the file; we then call
-    # configure manually with the correct argument, which overwrites
-    # this (and other) files to be what we want.
+    # configure manually with the correct arguments, which overwrites
+    # this (and other) files to be what we want.  Make sure CC is set
+    # correctly per "using the right compiler".  While this port will
+    # work correctly without this addition, doing this allows the port
+    # to not error out on dev's systems set up to check whether the
+    # right compiler is being used.
 
-    system -W ${worksrcpath} "make config.sub"
+    system -W ${worksrcpath} "CC=${configure.cc} make config.sub"
 }
 
 pre-configure {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141005/88149cc8/attachment.html>


More information about the macports-changes mailing list