From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Feb 1 05:50:01 2008 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 7D58016A41A for ; Fri, 1 Feb 2008 05:50:01 +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 5E01413C46A for ; Fri, 1 Feb 2008 05:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m115o1kU052082 for ; Fri, 1 Feb 2008 05:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m115o1jw052081; Fri, 1 Feb 2008 05:50:01 GMT (envelope-from gnats) Resent-Date: Fri, 1 Feb 2008 05:50:01 GMT Resent-Message-Id: <200802010550.m115o1jw052081@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, Oleg Pudeyev Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A88AE16A41A for ; Fri, 1 Feb 2008 05:48:11 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 4E21113C44B for ; Fri, 1 Feb 2008 05:48:11 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m115kJx7069828 for ; Fri, 1 Feb 2008 05:46:19 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m115kJ5Z069827; Fri, 1 Feb 2008 05:46:19 GMT (envelope-from nobody) Message-Id: <200802010546.m115kJ5Z069827@www.freebsd.org> Date: Fri, 1 Feb 2008 05:46:19 GMT From: Oleg Pudeyev To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/120199: audio/mp3splt: make dependency on ogg vorbis optional 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, 01 Feb 2008 05:50:01 -0000 >Number: 120199 >Category: ports >Synopsis: audio/mp3splt: make dependency on ogg vorbis optional >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: Fri Feb 01 05:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Oleg Pudeyev >Release: 6.2-RELEASE >Organization: >Environment: FreeBSD kappa.universe 6.2-RELEASE FreeBSD 6.2-RELEASE #2: Wed Jul 18 01:25:26 EDT 2007 root@kappa.universe:/build/src/sys/i386/compile/KAPPA i386 >Description: Attached patch against Makefile makes dependency on ogg vorbis in mp3splt optional. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/audio/mp3splt/Makefile,v retrieving revision 1.19 diff -u -r1.19 Makefile --- Makefile 28 Jul 2007 12:27:12 -0000 1.19 +++ Makefile 1 Feb 2008 05:46:32 -0000 @@ -7,7 +7,7 @@ PORTNAME= mp3splt PORTVERSION= 2.1c -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -16,9 +16,18 @@ MAINTAINER= uspoerlein@gmail.com COMMENT= Utility to split mp3 and ogg files (via CUE sheets) -LIB_DEPENDS= mad.2:${PORTSDIR}/audio/libmad \ - vorbis.4:${PORTSDIR}/audio/libvorbis \ +OPTIONS= VORBIS "Ogg Vorbis support" On + +.include + +LIB_DEPENDS+= mad.2:${PORTSDIR}/audio/libmad + +.if !defined(WITHOUT_VORBIS) +LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis \ ogg.5:${PORTSDIR}/audio/libogg +.else +CONFIGURE_ARGS+=--disable-ogg +.endif GNU_CONFIGURE= yes CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \ @@ -31,4 +40,4 @@ MAN1= mp3splt.1 PLIST_FILES= bin/mp3splt bin/oggsplt -.include +.include >Release-Note: >Audit-Trail: >Unformatted: