ports/173810: [PATCH] archivers/libpar2 optionsng
Chris Petrik
c.petrik.sosa at gmail.com
Wed Nov 21 23:00:01 UTC 2012
>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 at doobie.com>
-#
+# Created by: Jeff Burchell <toxic at 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:
More information about the freebsd-ports-bugs
mailing list