ports/173812: [PATCH] archievers/unrar optionsng

Chris Petrik c.petrik.sosa at gmail.com
Wed Nov 21 23:10:01 UTC 2012


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


More information about the freebsd-ports-bugs mailing list