summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-05-03 02:00:56 +0000
committerSteve Price <steve@FreeBSD.org>1999-05-03 02:00:56 +0000
commitbe06e8a6b92b9714253ca248c2098d4debd1f33f (patch)
tree0cd24b2a8fc90f785dd608dd8b3c94d1cf8d8a3d /emulators
parentTeach this port to use its own copy of libtool, since an upcoming (diff)
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>
Notes
Notes: svn path=/head/; revision=18358
Diffstat (limited to 'emulators')
-rw-r--r--emulators/linux_base-6/Makefile12
-rw-r--r--emulators/linux_base-62/Makefile12
-rw-r--r--emulators/linux_base-8/Makefile12
-rw-r--r--emulators/linux_base-rh-9/Makefile12
-rw-r--r--emulators/linux_base-suse-9.1/Makefile12
-rw-r--r--emulators/linux_base-suse-9.2/Makefile12
-rw-r--r--emulators/linux_base-suse-9.3/Makefile12
-rw-r--r--emulators/linux_base/Makefile12
8 files changed, 80 insertions, 16 deletions
diff --git a/emulators/linux_base-6/Makefile b/emulators/linux_base-6/Makefile
index f1077f3edee7..5da0f701c548 100644
--- a/emulators/linux_base-6/Makefile
+++ b/emulators/linux_base-6/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>
diff --git a/emulators/linux_base-62/Makefile b/emulators/linux_base-62/Makefile
index f1077f3edee7..5da0f701c548 100644
--- a/emulators/linux_base-62/Makefile
+++ b/emulators/linux_base-62/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>
diff --git a/emulators/linux_base-8/Makefile b/emulators/linux_base-8/Makefile
index f1077f3edee7..5da0f701c548 100644
--- a/emulators/linux_base-8/Makefile
+++ b/emulators/linux_base-8/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>
diff --git a/emulators/linux_base-rh-9/Makefile b/emulators/linux_base-rh-9/Makefile
index f1077f3edee7..5da0f701c548 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>
diff --git a/emulators/linux_base-suse-9.1/Makefile b/emulators/linux_base-suse-9.1/Makefile
index f1077f3edee7..5da0f701c548 100644
--- a/emulators/linux_base-suse-9.1/Makefile
+++ b/emulators/linux_base-suse-9.1/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>
diff --git a/emulators/linux_base-suse-9.2/Makefile b/emulators/linux_base-suse-9.2/Makefile
index f1077f3edee7..5da0f701c548 100644
--- a/emulators/linux_base-suse-9.2/Makefile
+++ b/emulators/linux_base-suse-9.2/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>
diff --git a/emulators/linux_base-suse-9.3/Makefile b/emulators/linux_base-suse-9.3/Makefile
index f1077f3edee7..5da0f701c548 100644
--- a/emulators/linux_base-suse-9.3/Makefile
+++ b/emulators/linux_base-suse-9.3/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>
diff --git a/emulators/linux_base/Makefile b/emulators/linux_base/Makefile
index f1077f3edee7..5da0f701c548 100644
--- a/emulators/linux_base/Makefile
+++ b/emulators/linux_base/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>