Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2012 22:58:00 GMT
From:      Chris Petrik <c.petrik.sosa@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/173810: [PATCH] archivers/libpar2 optionsng
Message-ID:  <201211212258.qALMw0Ov029837@red.freebsd.org>
Resent-Message-ID: <201211212300.qALN01QZ042981@freefall.freebsd.org>

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

>Number:         173810
>Category:       ports
>Synopsis:       [PATCH] archivers/libpar2 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:00: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: libpar2/Makefile
===================================================================
--- libpar2/Makefile    (revision 305486)
+++ libpar2/Makefile    (working copy)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:   libpar2
-# Date created:                                16 Aug 2008
-# Whom:                                        Jeff Burchell <toxic@doobie.com>
-#
+# Created by: Jeff Burchell <toxic@doobie.com>
 # $FreeBSD$
-#

 PORTNAME=      libpar2
 PORTVERSION=   0.2
@@ -23,11 +19,14 @@

 USE_LDCONFIG=  yes

-OPTIONS=       ENABLECANCEL "Enable graceful cancellation of repairs" On
+OPTIONS_DEFINE=        ENABLECANCEL
+OPTIONS_DEFAULT=       ENABLECANCEL

+ENABLECANCEL_DESC=     Enable graceful cancellation of repairs
+
 .include <bsd.port.pre.mk>

-.if defined(WITH_ENABLECANCEL)
+.if ${PORT_OPTIONS:MENABLECANCEL}
 EXTRA_PATCHES+=        ${FILESDIR}/xpatch-addcancel-par2repairer.cpp
 .endif


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



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