On Nov 16, 2008, at 01:13, [EMAIL PROTECTED] wrote:

Revision: 42158
          http://trac.macports.org/changeset/42158
Author:   [EMAIL PROTECTED]
Date:     2008-11-15 23:13:33 -0800 (Sat, 15 Nov 2008)
Log Message:
-----------
Adding a pic option to llvm from {17268}. Thanks Arto!

In the future it would be best not to increment the revision unless rebuilding the port will result in different files being installed on the user's system. In this case, no existing users have the pic variant because it did not exist before, so forcing everyone to rebuild is not necessary, and doesn't gain anyone anything.

I'm also curious to know: for what reason might I want to use this variant? What is position-independent code and why might I want or not want it?


Modified Paths:
--------------
    trunk/dports/lang/llvm/Portfile

Modified: trunk/dports/lang/llvm/Portfile
===================================================================
--- trunk/dports/lang/llvm/Portfile 2008-11-16 06:51:29 UTC (rev 42157) +++ trunk/dports/lang/llvm/Portfile 2008-11-16 07:13:33 UTC (rev 42158)
@@ -4,6 +4,7 @@

 name                    llvm
 version                 2.4
+revision                1
 categories              lang
 platforms               darwin
 use_parallel_build      yes
@@ -57,3 +58,7 @@
         }
     }
 }
+
+variant pic description {Enable generation of position independent code} {
+    configure.args-append --enable-pic
+}


_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to