Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2012 23:08:42 GMT
From:      Chris Petrik <c.petrik.sosa@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/173812: [PATCH] archievers/unrar optionsng
Message-ID:  <201211212308.qALN8gs2046094@red.freebsd.org>
Resent-Message-ID: <201211212310.qALNA023043706@freefall.freebsd.org>

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

>Number:         173812
>Category:       ports
>Synopsis:       [PATCH] archievers/unrar optionsng
>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:   Wed Nov 21 23:10:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Chris Petrik
>Release:        
>Organization:
na
>Environment:
>Description:
Options NG Changes
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: unrar/Makefile
===================================================================
--- unrar/Makefile	(revision 305486)
+++ unrar/Makefile	(working copy)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:    unrar
-# Date created:         28 Dec 1994
-# Whom:                 ache
-#
+# Created by: ache
 # $FreeBSD$
-#
 
 PORTNAME=	unrar
 PORTVERSION=	4.20
@@ -16,8 +12,11 @@
 MAINTAINER?=	sunpoet@FreeBSD.org
 COMMENT=	Extract, view & test RAR archives
 
-OPTIONS=	OPENSSL_AES "Use OpenSSL implementation of AES" on
+OPTIONS_DEFINE=	OPENSSL_AES
+OPTIONS_DEFAULT=	OPENSSL_AES
 
+OPENSSL_AES_DESC=	Use OpenSSL implementation of AES
+
 CONFLICTS?=	zh-unrar-[0-9].* unrar-iconv-[0-9].*
 
 MAKE_ARGS=	STRIP=${STRIP_CMD}
@@ -30,7 +29,7 @@
 
 .include <bsd.port.options.mk>
 
-.if !defined(WITHOUT_OPENSSL_AES)
+.if ${PORT_OPTIONS:MOPENSSL_AES}
 CPPFLAGS+=	-DOPENSSL_AES -I${OPENSSLINC}
 LDFLAGS+=	-L${OPENSSLLIB} -lcrypto
 USE_OPENSSL=	yes


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



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