aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-12-28 14:09:02 +0800
committerobrien <obrien@FreeBSD.org>2004-12-28 14:09:02 +0800
commit4d499dbe120950553d774a04161c4841b34acc91 (patch)
treee9073e43f117ec5ca947a5f1076a30168a6846d1 /emulators
parentc1fbc5b5f0b73e8668480941d4215e9174fc335f (diff)
downloadfreebsd-ports-graphics-4d499dbe120950553d774a04161c4841b34acc91.tar.gz
freebsd-ports-graphics-4d499dbe120950553d774a04161c4841b34acc91.tar.zst
freebsd-ports-graphics-4d499dbe120950553d774a04161c4841b34acc91.zip
Quiet installation errors due to lack of /dev/null w/in LINUXBASE.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/linux_base/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/emulators/linux_base/Makefile b/emulators/linux_base/Makefile
index ff6484ab155..b8d6f9267c7 100644
--- a/emulators/linux_base/Makefile
+++ b/emulators/linux_base/Makefile
@@ -137,6 +137,12 @@ pre-install:
.endif
do-install:
+# Make sure we have a /dev/null in the chrooted environment.
+ @${MKDIR} ${LINUXBASE}/dev
+ @${RM} -f ${LINUXBASE}/dev/null
+ @mknod ${LINUXBASE}/dev/null c 2 2
+ @${CHMOD} 666 ${LINUXBASE}/dev/null
+#
@${MKDIR} ${LINUXBASE}/${DBPATH}
@${MKDIR} ${LINUXBASE}/var/tmp ${LINUXBASE}/lib
@cd ${LINUXBASE}/lib && ${LN} -sf libtermcap.so.2.0.8 libtermcap.so.2