aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-05-24 15:50:12 +0800
committerarved <arved@FreeBSD.org>2004-05-24 15:50:12 +0800
commitdd483e3fbbb83f53c0da765e62bca32bddf7416a (patch)
tree6b07e7fa417e875154c291e535e82d7510dada33 /sysutils
parentb2bd1084d798fd95cfc9ca80c36c586499bb9968 (diff)
downloadfreebsd-ports-gnome-dd483e3fbbb83f53c0da765e62bca32bddf7416a.tar.gz
freebsd-ports-gnome-dd483e3fbbb83f53c0da765e62bca32bddf7416a.tar.zst
freebsd-ports-gnome-dd483e3fbbb83f53c0da765e62bca32bddf7416a.zip
Default to /dev/acd0 on 5.x
PR: 67114 Submitted by: michael johnson <ahze@ahze.net>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/libcdio/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/sysutils/libcdio/Makefile b/sysutils/libcdio/Makefile
index 4bdf749fbbba..c12aaecbda85 100644
--- a/sysutils/libcdio/Makefile
+++ b/sysutils/libcdio/Makefile
@@ -20,7 +20,15 @@ GNU_CONFIGURE= yes
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>