From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Feb 11 12:10:10 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5683A106567A for ; Fri, 11 Feb 2011 12:10:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 33F458FC1E for ; Fri, 11 Feb 2011 12:10:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p1BCAAZa081916 for ; Fri, 11 Feb 2011 12:10:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p1BCAAlc081915; Fri, 11 Feb 2011 12:10:10 GMT (envelope-from gnats) Resent-Date: Fri, 11 Feb 2011 12:10:10 GMT Resent-Message-Id: <201102111210.p1BCAAlc081915@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "aldis@bsdroot.lv" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45306106566B for ; Fri, 11 Feb 2011 12:09:48 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 34EF58FC12 for ; Fri, 11 Feb 2011 12:09:48 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p1BC9m5a015327 for ; Fri, 11 Feb 2011 12:09:48 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p1BC9mnQ015326; Fri, 11 Feb 2011 12:09:48 GMT (envelope-from nobody) Message-Id: <201102111209.p1BC9mnQ015326@red.freebsd.org> Date: Fri, 11 Feb 2011 12:09:48 GMT From: "aldis@bsdroot.lv" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/154680: [PATCH] games/odamex add support for midi X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Feb 2011 12:10:10 -0000 >Number: 154680 >Category: ports >Synopsis: [PATCH] games/odamex add support for midi >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Feb 11 12:10:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: aldis@bsdroot.lv >Release: >Organization: >Environment: >Description: games/odamex doesn't play music. I found out, that if you install audio/timidity it will play music. I attached patch for port, that allows adding optional dependency on audio/timidity. Right now I don't know why, but this doesn't work with timidity++ >How-To-Repeat: >Fix: Patch attached with submission follows: diff -u odamex.bak/Makefile odamex/Makefile --- odamex.bak/Makefile 2011-02-11 12:40:22.928345082 +0200 +++ odamex/Makefile 2011-02-11 13:54:51.901435237 +0200 @@ -7,7 +7,7 @@ PORTNAME= odamex PORTVERSION= 0.4.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/Odamex/${PORTVERSION} DISTNAME= odamex-src-${PORTVERSION} @@ -19,7 +19,8 @@ USE_GMAKE= yes USE_SDL= sdl mixer -OPTIONS= LAUNCHER "Enable GUI launcher program" off +OPTIONS= LAUNCHER "Enable GUI launcher program" off \ + MIDI "Enable MIDI support (timidity)" off .include @@ -31,6 +32,10 @@ PLIST_SUB+= LAUNCHER="@comment " .endif +.if defined(WITH_MIDI) +RUN_DEPENDS+= timidity:${PORTSDIR}/audio/timidity +.endif + post-patch: @${REINPLACE_CMD} -e 's|%%DMDIR%%|${DMDIR}|; \ s|%%DATADIR%%|${DATADIR}|' \ Common subdirectories: odamex.bak/files and odamex/files >Release-Note: >Audit-Trail: >Unformatted: