mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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:
parent
32c9e244e0
commit
561d3d4312
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67230
1 changed files with 2 additions and 0 deletions
|
@ -36,9 +36,11 @@ pre-install:
|
||||||
${MKDIR} ${DATADIR}
|
${MKDIR} ${DATADIR}
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
|
.if !defined(PACKAGE_BUILDING)
|
||||||
@${RM} -f /dev/mwave
|
@${RM} -f /dev/mwave
|
||||||
@${ECHO} "Creating /dev/mwave"
|
@${ECHO} "Creating /dev/mwave"
|
||||||
mknod /dev/mwave c 96 0
|
mknod /dev/mwave c 96 0
|
||||||
|
.endif
|
||||||
@${ECHO} "Installing ${PREFIX}/etc/rc.d/${STARTUP} startup file."
|
@${ECHO} "Installing ${PREFIX}/etc/rc.d/${STARTUP} startup file."
|
||||||
@${INSTALL_SCRIPT} ${FILESDIR}/${STARTUP} ${PREFIX}/etc/rc.d/
|
@${INSTALL_SCRIPT} ${FILESDIR}/${STARTUP} ${PREFIX}/etc/rc.d/
|
||||||
@${ECHO} "******************************************************************************"; \
|
@${ECHO} "******************************************************************************"; \
|
||||||
|
|
Loading…
Add table
Reference in a new issue