summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authoragc <agc>1998-05-08 15:12:59 +0000
committeragc <agc>1998-05-08 15:12:59 +0000
commitb11c90bacb4813ef85fc5bf23aced2d0429a3f5e (patch)
tree68446584806930bebe6da9536b6dd9ba4f986a11 /sysutils
parente6a3e382e86a961dba1929d0a5b66cd53664490e (diff)
downloadpkgsrc-b11c90bacb4813ef85fc5bf23aced2d0429a3f5e.tar.gz
Test for the existence of /dev/scgx before creating it, rather than its
existence as a regular file.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/cdrecord/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/sysutils/cdrecord/Makefile b/sysutils/cdrecord/Makefile
index 0c7ebbcd868..773fbe73005 100644
--- a/sysutils/cdrecord/Makefile
+++ b/sysutils/cdrecord/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 1998/04/24 09:20:37 agc Exp $
+# $NetBSD: Makefile,v 1.13 1998/05/08 15:12:59 agc Exp $
# FreeBSD Id: Makefile,v 1.2 1997/11/05 23:55:31 asami Exp
#
@@ -27,8 +27,7 @@ do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/cdrecord/OBJ/${MACHINE_ARCH}-netbsd-cc/cdrecord \
${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
+ @[ -e /dev/scgx ] || ${LN} -fs /dev/cd0d /dev/scgx
@${CAT} ${PKGDIR}/MESSAGE
.include "../../mk/bsd.pkg.mk"