diff options
author | arved <arved@FreeBSD.org> | 2004-05-24 15:50:12 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2004-05-24 15:50:12 +0800 |
commit | dd483e3fbbb83f53c0da765e62bca32bddf7416a (patch) | |
tree | 6b07e7fa417e875154c291e535e82d7510dada33 /sysutils | |
parent | b2bd1084d798fd95cfc9ca80c36c586499bb9968 (diff) | |
download | freebsd-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/Makefile | 10 |
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> |