Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2012 17:49:52 GMT
From:      "Mikhail T." <m.tsatsenko@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/171146: [patch] emulators/wine: fix GNUTLS option typo
Message-ID:  <201208281749.q7SHnq9v060353@red.freebsd.org>
Resent-Message-ID: <201208281750.q7SHo1DY012957@freefall.freebsd.org>

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

>Number:         171146
>Category:       ports
>Synopsis:       [patch] emulators/wine: fix GNUTLS option typo
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 28 17:50:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Mikhail T.
>Release:        
>Organization:
>Environment:
>Description:
Option is named GNUTLS. but later in the Makefile we have:
if ${PORT_OPTIONS:MGNU_TLS}
resulting expression to be always false, so gnutls is never installed regardless of option value.

  
>How-To-Repeat:
just run make config, check gnutls on, try to install wine and make sure that gnutls is not installed
>Fix:
Trivial:

Index: Makefile
===================================================================
--- Makefile    (revision 303152)
+++ Makefile    (working copy)
@@ -8,6 +8,7 @@
 PORTNAME=      wine
 DISTVERSION=   1.4.1
 PORTEPOCH=     1
+PORTREVISION=  1
 CATEGORIES=    emulators
 MASTER_SITES=  SF/${PORTNAME}/Source \
                http://ibiblio.org/pub/linux/system/emulators/wine/
@@ -85,7 +86,7 @@
 RUN_DEPENDS+=  dosbox:${PORTSDIR}/emulators/dosbox
 .endif
 
-.if ${PORT_OPTIONS:MGNU_TLS}
+.if ${PORT_OPTIONS:MGNUTLS}
 CONFIGURE_ARGS+=       --with-gnutls
 LIB_DEPENDS+=  gnutls:${PORTSDIR}/security/gnutls
 .else


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



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