summaryrefslogtreecommitdiff
path: root/sysutils/cdrecord
diff options
context:
space:
mode:
authorhubertf <hubertf>1998-04-19 12:54:06 +0000
committerhubertf <hubertf>1998-04-19 12:54:06 +0000
commit5aabb6a649f78425a62fd895f9179169ef23bc8f (patch)
treeedb3a20f45424f6403b7a7bdeb2d990b93ae922b /sysutils/cdrecord
parent14f7d93be93a748f662293b7d6e47aead6331d4e (diff)
downloadpkgsrc-5aabb6a649f78425a62fd895f9179169ef23bc8f.tar.gz
Care for /dev/scgx.
Diffstat (limited to 'sysutils/cdrecord')
-rw-r--r--sysutils/cdrecord/Makefile4
-rw-r--r--sysutils/cdrecord/pkg/PLIST4
2 files changed, 6 insertions, 2 deletions
diff --git a/sysutils/cdrecord/Makefile b/sysutils/cdrecord/Makefile
index cbdb25bda69..ab1a4193dca 100644
--- a/sysutils/cdrecord/Makefile
+++ b/sysutils/cdrecord/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 1998/04/19 11:07:49 hubertf Exp $
+# $NetBSD: Makefile,v 1.10 1998/04/19 12:54:06 hubertf Exp $
# FreeBSD Id: Makefile,v 1.2 1997/11/05 23:55:31 asami Exp
#
@@ -28,5 +28,7 @@ do-install:
${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/cdrecord/cdrecord.1 ${PREFIX}/man/man1
# @cd /dev && ${LN} -sf /dev/rworm0.ctl sgx
+ @[ -f /dev/scgx ] || ln -s /dev/cd0d /dev/scgx
+ @${CAT} ${PKGDIR}/MESSAGE
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/cdrecord/pkg/PLIST b/sysutils/cdrecord/pkg/PLIST
index 7d72ead582a..3dcdddfdd60 100644
--- a/sysutils/cdrecord/pkg/PLIST
+++ b/sysutils/cdrecord/pkg/PLIST
@@ -1,3 +1,5 @@
-@comment $NetBSD: PLIST,v 1.3 1997/11/13 08:17:27 thorpej Exp $
+@comment $NetBSD: PLIST,v 1.4 1998/04/19 12:54:06 hubertf Exp $
bin/cdrecord
man/man1/cdrecord.1
+@exec [ -f /dev/scgx ] || ln -s /dev/cd0d /dev/scgx
+@unexec /bin/rm -f /dev/scgx