[146355] trunk/dports/devel/libgit2/Portfile

devans at macports.org devans at macports.org
Sat Mar 5 16:19:44 PST 2016


Revision: 146355
          https://trac.macports.org/changeset/146355
Author:   devans at macports.org
Date:     2016-03-05 16:19:44 -0800 (Sat, 05 Mar 2016)
Log Message:
-----------
libgit2: add missing dependency on pkgconfig, update configuration, +threadsafe variant, should really build with ssh support this time, increment revision.

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

Modified: trunk/dports/devel/libgit2/Portfile
===================================================================
--- trunk/dports/devel/libgit2/Portfile	2016-03-05 23:52:27 UTC (rev 146354)
+++ trunk/dports/devel/libgit2/Portfile	2016-03-06 00:19:44 UTC (rev 146355)
@@ -9,7 +9,7 @@
 
 # don't forget to update libgit2-glib as well
 github.setup        libgit2 libgit2 0.23.4 v
-revision            3
+revision            4
 categories          devel
 platforms           darwin
 maintainers         juanrgar devans openmaintainer
@@ -28,6 +28,9 @@
 checksums           rmd160  6ca719695335b15a7cc415d0a8d8d644df20c672 \
                     sha256  bbcbc8a0d3aa426cbeabb5a3b45f60d6e24aaeb2e7f5d48101275752d965496b
 
+depends_build-append \
+                    port:pkgconfig
+
 depends_lib         port:curl \
                     port:libiconv \
                     port:libssh2 \
@@ -36,9 +39,13 @@
 
 patchfiles          patch-strnlen-posix.h.diff
 
+configure.args-append \
+                    -DTHREADSAFE:BOOL=OFF \
+                    -DUSE_ICONV:BOOL=ON
+
 variant threadsafe description {Build with threadsafe option} {
-    configure.args-append \
-                    -DTHREADSAFE:BOOL=ON
+    configure.args-replace \
+                    -DTHREADSAFE:BOOL=OFF -DTHREADSAFE:BOOL=ON
 }
 
 default_variants    +threadsafe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160305/70e5e711/attachment.html>


More information about the macports-changes mailing list