Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2012 17:59:31 +1000 (AEST)
From:      John Marshall <john.marshall@riverwillow.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/171370: [PATCH] security/gnupg CURL option does not build with libcurl
Message-ID:  <201209060759.q867xVXX080187@rwpc13.mby.riverwillow.net.au>
Resent-Message-ID: <201209060800.q86808ax071533@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         171370
>Category:       ports
>Synopsis:       [PATCH] security/gnupg CURL option does not build with libcurl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 06 08:00:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     John Marshall
>Release:        FreeBSD 9.1-RC1 i386
>Organization:
Riverwillow Pty Ltd
>Environment:
System: FreeBSD rwpc13 9.1-RC1 FreeBSD 9.1-RC1 #0 r239159: Fri Aug 10 19:17:04 AEST 2012 root@rwpc13:/usr/obj/build/src/sys/RWPC13 i386


	
>Description:

The Makefile's CURL logic sufferend at the hands of the OptionsNG
re-write in r302102 and became reversed.  This means that selecting the
CURL option disables building with libcurl.

The attached patch realigns the logic so that the CURL option selects
building with libcurl.

>How-To-Repeat:
	
>Fix:

	

--- gnupg_2.0.19.diff begins here ---
Index: security/gnupg/Makefile
===================================================================
--- security/gnupg/Makefile	(revision 303746)
+++ security/gnupg/Makefile	(working copy)
@@ -112,10 +112,10 @@
 .endif
 
 .if ${PORT_OPTIONS:MCURL}
-CONFIGURE_ARGS+=--without-libcurl
-.else
 LIB_DEPENDS+=	curl:${PORTSDIR}/ftp/curl
 CONFIGURE_ARGS+=--with-libcurl=${LOCALBASE}
+.else
+CONFIGURE_ARGS+=--without-libcurl
 .endif
 
 verify:	checksum
--- gnupg_2.0.19.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209060759.q867xVXX080187>