Don't try and create the device node when PACKAGE_BUILDING since we

use devfs in the build chroots and it does not support manual device
node creation.
This commit is contained in:
Kris Kennaway 2002-09-29 07:02:37 +00:00
parent 32c9e244e0
commit 561d3d4312
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67230

View file

@ -36,9 +36,11 @@ pre-install:
${MKDIR} ${DATADIR}
post-install:
.if !defined(PACKAGE_BUILDING)
@${RM} -f /dev/mwave
@${ECHO} "Creating /dev/mwave"
mknod /dev/mwave c 96 0
.endif
@${ECHO} "Installing ${PREFIX}/etc/rc.d/${STARTUP} startup file."
@${INSTALL_SCRIPT} ${FILESDIR}/${STARTUP} ${PREFIX}/etc/rc.d/
@${ECHO} "******************************************************************************"; \