[143825] users/devans/GNOME-3/stable/dports/devel/libgit2/Portfile

devans at macports.org devans at macports.org
Tue Dec 22 17:40:36 PST 2015


Revision: 143825
          https://trac.macports.org/changeset/143825
Author:   devans at macports.org
Date:     2015-12-22 17:40:35 -0800 (Tue, 22 Dec 2015)
Log Message:
-----------
GNOME-3/stable: libgit2, add +threadsafe variant and make it the default.

Modified Paths:
--------------
    users/devans/GNOME-3/stable/dports/devel/libgit2/Portfile

Modified: users/devans/GNOME-3/stable/dports/devel/libgit2/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/devel/libgit2/Portfile	2015-12-22 23:47:21 UTC (rev 143824)
+++ users/devans/GNOME-3/stable/dports/devel/libgit2/Portfile	2015-12-23 01:40:35 UTC (rev 143825)
@@ -35,7 +35,11 @@
 
 patchfiles          patch-strnlen-posix.h.diff
 
-configure.args-append \
+variant threadsafe description {Build with threadsafe option} {
+    configure.args-append \
                     -DTHREADSAFE:BOOL=ON
+}
 
+default_variants    +threadsafe
+
 livecheck.regex     "archive/v(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151222/33d846f3/attachment.html>


More information about the macports-changes mailing list