Date: Fri, 1 Feb 2008 05:46:19 GMT From: Oleg Pudeyev <oleg@bsdpower.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/120199: audio/mp3splt: make dependency on ogg vorbis optional Message-ID: <200802010546.m115kJ5Z069827@www.freebsd.org> Resent-Message-ID: <200802010550.m115o1jw052081@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.pre.mk> + +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 <bsd.port.mk> +.include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802010546.m115kJ5Z069827>