Date: Wed, 21 Nov 2012 21:53:56 GMT From: Chris Petrik <c.petrik.sosa@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/173783: [PATCH] audio/aumix optionsng Message-ID: <201211212153.qALLruKY029741@red.freebsd.org> Resent-Message-ID: <201211212200.qALM02uP037607@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 173783 >Category: ports >Synopsis: [PATCH] audio/aumix 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:00: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: aumix/Makefile =================================================================== --- aumix/Makefile (revision 305743) +++ aumix/Makefile (working copy) @@ -1,9 +1,5 @@ -# New ports collection makefile for: aumix -# Date created: 21 May 1999 -# Whom: Chris Piazza <cpiazza@FreeBSD.org> -# +# Created by: Chris Piazza <cpiazza@FreeBSD.org> # $FreeBSD$ -# PORTNAME= aumix PORTVERSION= 2.9.1 @@ -34,11 +30,12 @@ PLIST_FILES+= share/aumix/${ii} .endfor -OPTIONS= NLS "Enable NLS support" on \ - GTK2 "Enable GTK2 gui" off +.include <bsd.port.options.mk> -.include <bsd.port.pre.mk> -.if defined(WITHOUT_NLS) +OPTIONS_DEFINE= NLS GTK2 +OPTIONS_DEFAULT= NLS + +.if ${PORT_OPTIONS:MNLS} CONFIGURE_ARGS+=--disable-nls .else USE_GETTEXT= yes @@ -48,14 +45,14 @@ .endfor .endif -pre-patch: - @${REINPLACE_CMD} -e "s:/etc:${PREFIX}/etc:" ${WRKSRC}/src/common.[ch] - -.if defined(WITH_GTK2) +.if ${PORT_OPTIONS:MGTK2} PKGNAMESUFFIX= -gtk USE_GNOME= gtk20 .else CONFIGURE_ARGS+=--without-gtk .endif -.include <bsd.port.post.mk> +pre-patch: + @${REINPLACE_CMD} -e "s:/etc:${PREFIX}/etc:" ${WRKSRC}/src/common.[ch] + +.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?201211212153.qALLruKY029741>