Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2012 22:29:40 GMT
From:      Chris Petrik <c.petrik.sosa@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/173801: [PATCH] audio/jack_ghero optionsng
Message-ID:  <201211212229.qALMTeg3078787@red.freebsd.org>
Resent-Message-ID: <201211212230.qALMU2JK041126@freefall.freebsd.org>

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

>Number:         173801
>Category:       ports
>Synopsis:       [PATCH] audio/jack_ghero 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 22:30:02 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Chris Petrik
>Release:        
>Organization:
na
>Environment:
>Description:
OptionsNG Changes
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: jack_ghero/Makefile
===================================================================
--- jack_ghero/Makefile	(revision 305743)
+++ jack_ghero/Makefile	(working copy)
@@ -1,9 +1,5 @@
-# Ports collection makefile for: jack_ghero
-# Date created: 21 June 2011
-# Whom:         Hans Petter Selasky <hselasky@FreeBSD.org>
-#
+# Created by:	Hans Petter Selasky <hselasky@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	jack_ghero
 PORTVERSION=	1.0.3
@@ -14,9 +10,10 @@
 MAINTAINER=	hselasky@FreeBSD.org
 COMMENT=	Daemon that converts a GuitarHero device into a JACK MIDI device
 
-LIB_DEPENDS=	jack.0:${PORTSDIR}/audio/jack
+LICENSE=	BSD
 
-LICENSE=	BSD
+LIB_DEPENDS=	jack:${PORTSDIR}/audio/jack
+
 USE_BZIP2=	yes
 MAKE_JOBS_SAFE=	yes
 MANCOMPRESSED=	yes
@@ -24,21 +21,19 @@
 
 PLIST_FILES=	sbin/jack_ghero
 
-OPTIONS=	DEBUG "Build with debugging support" Off
+OPTIONS_DEFINE=	DEBUG
 
 .include <bsd.port.options.mk>
 
 MAKE_ARGS+=" HAVE_MAN=YES"
 MAKE_ARGS+=" PTHREAD_LIBS=${PTHREAD_LIBS}"
 
-.if defined(WITH_DEBUG)
+.if ${PORT_OPTIONS:MDEBUG}
 MAKE_ARGS+=" HAVE_DEBUG=YES"
 .endif
 
-.include <bsd.port.pre.mk>
-
 .if ${OSVERSION} < 800000
 IGNORE=		requires usb stack from FreeBSD 8.0-RELEASE or later
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


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



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