ports/171146: [patch] emulators/wine: fix GNUTLS option typo

Mikhail T. m.tsatsenko at gmail.com
Tue Aug 28 17:50:02 UTC 2012


>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:



More information about the freebsd-ports-bugs mailing list