[39128] trunk/dports/devel/darcs/Portfile

gwright at macports.org gwright at macports.org
Sat Aug 9 07:21:52 PDT 2008


Revision: 39128
          http://trac.macosforge.org/projects/macports/changeset/39128
Author:   gwright at macports.org
Date:     2008-08-09 07:21:51 -0700 (Sat, 09 Aug 2008)
Log Message:
-----------
Add a +nolibcurl variant and make it the default. (Works around
a bug that causes darcs built with libcurl to hang sometimes.)

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

Modified: trunk/dports/devel/darcs/Portfile
===================================================================
--- trunk/dports/devel/darcs/Portfile	2008-08-09 11:01:16 UTC (rev 39127)
+++ trunk/dports/devel/darcs/Portfile	2008-08-09 14:21:51 UTC (rev 39128)
@@ -4,7 +4,7 @@
 
 name            darcs
 version         2.0.2
-revision	1
+revision	2
 categories      devel
 maintainers     gwright at macports.org
 description     David's Advanced Revision Control System
@@ -31,6 +31,8 @@
 configure.args  --mandir=${prefix}/share/man	\
 		--without-docs
 
+default_variants	+nolibcurl
+
 variant docs description {Generate a printable manual} {
 		depends_build-append	port:latex2html
 
@@ -43,3 +45,9 @@
 		patchfiles-append	patch-GNUmakefile.diff
 }
 
+variant nolibcurl description {Build darcs without libcurl} {
+		configure.args-append	--without-libcurl
+		depends_lib-delete	port:curl
+		depends_run-append	port:wget
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080809/ff31916c/attachment.html 


More information about the macports-changes mailing list