Date: Mon, 24 May 2004 03:29:04 -0400 (EDT) From: michael johnson <ahze@ahze.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: arved@FreeBSD.org Subject: ports/67114: [PATCH] sysutils/libcdio: [make the default cdrom device /dev/acd0 on 5.x] Message-ID: <20040524072904.07C286894@ahze.ahze.net> Resent-Message-ID: <200405240730.i4O7UWvU099789@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 67114 >Category: ports >Synopsis: [PATCH] sysutils/libcdio: [make the default cdrom device /dev/acd0 on 5.x] >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: Mon May 24 00:30:31 PDT 2004 >Closed-Date: >Last-Modified: >Originator: michael johnson >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #45: Mon May 3 05:09:04 EDT >Description: - Make the default cdrom device /dev/acd0 on 5.x Port maintainer (arved@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- libcdio-0.68_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/sysutils/libcdio/Makefile,v retrieving revision 1.2 diff -u -r1.2 Makefile --- Makefile 8 Apr 2004 08:57:51 -0000 1.2 +++ Makefile 24 May 2004 07:26:04 -0000 @@ -20,7 +20,15 @@ USE_GNOME= gnometarget pkgconfig gnomehack USE_GMAKE= yes INSTALLS_SHLIB= yes +USE_REINPLACE= yes INFO= libcdio -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +post-patch: +.if ${OSVERSION} >= 500000 + @${REINPLACE_CMD} -e 's|acd0c|acd0|' ${WRKSRC}/lib/_cdio_freebsd.c +.endif + +.include <bsd.port.post.mk> --- libcdio-0.68_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040524072904.07C286894>