Date: Fri, 31 Jan 2003 02:03:30 +0100 (CET) From: "Simon 'corecode' Schubert" <corecode@corecode.ath.cx> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/47696: maintainer-update: unbreak audio/cdparanoia on -CURRENT Message-ID: <200301310103.h0V13UJV031837@terrorfish.uni.stoert.net>
next in thread | raw e-mail | index | archive | help
>Number: 47696 >Category: ports >Synopsis: maintainer-update: unbreak audio/cdparanoia on -CURRENT >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Jan 30 17:10:01 PST 2003 >Closed-Date: >Last-Modified: >Originator: Simon 'corecode' Schubert >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD terrorfish.uni.stoert.net 5.0-CURRENT FreeBSD 5.0-CURRENT #46: Thu Jan 30 15:51:45 CET 2003 corecode@terrorfish.uni.stoert.net:/usr/obj/athlon/usr/src/sys/TERRORFISH i386 >Description: o cdparanoia fails building on -CURRENT without libgnugetopt. -> fix brain-o o remove ugly warnings while building on -CURRENT >How-To-Repeat: >Fix: Index: Makefile =================================================================== RCS file: /home/cvs/ports/cdparanoia/Makefile,v retrieving revision 1.9 diff -u -r1.9 Makefile --- Makefile 2003/01/18 15:46:20 1.9 +++ Makefile 2003/01/31 01:02:35 @@ -7,7 +7,7 @@ PORTNAME= cdparanoia PORTVERSION= 3.9.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio sysutils MASTER_SITES= http://www.xiph.org/paranoia/download/ DISTNAME= ${PORTNAME}-${PORTVERSION:C/^3\./III-alpha/} @@ -15,19 +15,20 @@ MAINTAINER= corecode@corecode.ath.cx +.if !exists(/usr/include/getopt.h) CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500041 + LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lgnugetopt" LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt .endif INSTALLS_SHLIB= yes GNU_CONFIGURE= yes USE_GMAKE= yes +USE_REINPLACE= yes MAN1= cdparanoia.1 + +post-patch: + @${REINPLACE_CMD} -e 's/\(^ *default:\)/\1break;/' ${WRKSRC}/interface/utils.h -.include <bsd.port.post.mk> +.include <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301310103.h0V13UJV031837>