ports/67114: [PATCH] sysutils/libcdio: [make the default cdrom device /dev/acd0 on 5.x]
michael johnson
ahze at ahze.net
Mon May 24 07:31:15 UTC 2004
>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 at 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:
More information about the freebsd-ports-bugs
mailing list