summaryrefslogtreecommitdiffstats
path: root/emulators/linux_base-rh-9
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-05-03 02:00:56 +0000
committersteve <steve@FreeBSD.org>1999-05-03 02:00:56 +0000
commite06d9f3ffae50da06449b29b7e6b91a27e7393d9 (patch)
treefc342bb095fe22596cfd3f97c5079c06339d9770 /emulators/linux_base-rh-9
parentd91abda1c97ec17c358be87827e028147aba912c (diff)
downloadFreeBSD-ports-e06d9f3ffae50da06449b29b7e6b91a27e7393d9.zip
FreeBSD-ports-e06d9f3ffae50da06449b29b7e6b91a27e7393d9.tar.gz
Add a couple of devices so we can use Linux X servers too. Also cleanup
pkg/PLIST so this port packages and deinstalls cleanly again. PR: 11045 Inspired by: MIHIRA Yoshiro <sanpei@sanpei.org>
Diffstat (limited to 'emulators/linux_base-rh-9')
-rw-r--r--emulators/linux_base-rh-9/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/emulators/linux_base-rh-9/Makefile b/emulators/linux_base-rh-9/Makefile
index f1077f3..5da0f70 100644
--- a/emulators/linux_base-rh-9/Makefile
+++ b/emulators/linux_base-rh-9/Makefile
@@ -3,7 +3,7 @@
# Date created: 3 Nov 1995
# Whom: markm@FreeBSD.org
#
-# $Id: Makefile,v 1.23 1999/01/06 04:27:54 simokawa Exp $
+# $Id: Makefile,v 1.24 1999/02/26 13:37:33 obrien Exp $
#
DISTNAME= linux_lib-2.6.1
@@ -31,6 +31,14 @@ do-install:
post-install:
-/compat/linux/sbin/ldconfig
${MKDIR} ${PREFIX}/usr/lib/zoneinfo
- ln -sf /etc/localtime /${PREFIX}/usr/lib/zoneinfo/localtime
+ ${LN} -sf /etc/localtime /${PREFIX}/usr/lib/zoneinfo/localtime
+ ${MKDIR} ${PREFIX}/dev
+ ${LN} -sf /dev/console ${PREFIX}/dev/tty0
+ ${LN} -sf /dev/ttyv0 ${PREFIX}/dev/tty1
+ ${LN} -sf /dev/ttyv1 ${PREFIX}/dev/tty2
+ ${LN} -sf /dev/ttyv2 ${PREFIX}/dev/tty3
+ ${LN} -sf /dev/ttyv3 ${PREFIX}/dev/tty4
+ ${LN} -sf /dev/sysmouse ${PREFIX}/dev/mouse
+ ${LN} -sf /dev/psm0 ${PREFIX}/dev/psaux
.include <bsd.port.mk>
OpenPOWER on IntegriCloud