- make a sym link, dsp to /dev/sound0

This commit is contained in:
brad 1999-05-03 04:49:42 +00:00
parent b4ba8b5b22
commit 5266fdd852
3 changed files with 14 additions and 10 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.11 1999/04/08 18:46:40 marc Exp $
# $OpenBSD: Makefile,v 1.12 1999/05/03 04:49:42 brad Exp $
# $NetBSD: Makefile,v 1.10 1998/04/24 09:07:55 agc Exp $
# $FreeBSD Id: Makefile,v 1.19 1997/12/04 17:34:28 asami Exp $
@ -27,7 +27,7 @@ pre-install:
@[ -d ${PREFIX} ] || ${MKDIR} ${PREFIX}
do-install:
@zcat ${DISTDIR}/${DISTNAME}.tar.gz |(cd ${PREFIX}; pax -r)
@zcat ${DISTDIR}/${DISTNAME}.tar.gz | (cd ${PREFIX}; pax -r)
post-install:
# Creating usr/local/lib to prevent linux ldconfig from scanning OpenBSD
@ -37,6 +37,8 @@ post-install:
-@${RMDIR} ${PREFIX}/usr/local/lib ${PREFIX}/usr/local
${MKDIR} ${PREFIX}/usr/lib/zoneinfo
${LN} -sf /etc/localtime ${PREFIX}/usr/lib/zoneinfo/localtime
${MKDIR} ${PREFIX}/dev
${LN} -sf /dev/sound0 ${PREFIX}/dev/dsp
@PKG_PREFIX="${PREFIX}" ${SH} ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL
.include <bsd.port.mk>

View File

@ -1,8 +1,14 @@
#!/bin/sh
# $OpenBSD: INSTALL,v 1.1 1999/04/08 18:46:40 marc Exp $
# $OpenBSD: INSTALL,v 1.2 1999/05/03 04:49:42 brad Exp $
#
# Pre/post-installation setup of linux_lib
# exit on errors, use a sane path and install prefix
#
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
# Function: tell the user what s/he needs to do to use the port just installed
#
do_notice()
@ -15,13 +21,6 @@ do_notice()
echo
}
# exit on errors, use a sane path and install prefix
#
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
PIDFILE=/var/run/sshd.pid
# verify proper execution
#
if [ $# -ne 2 ]; then

View File

@ -1,6 +1,7 @@
.linux_lib-version
bin/bash
bin/sh
dev/dsp
etc/host.conf
etc/ld.so.cache
etc/ld.so.conf
@ -765,7 +766,9 @@ var/X11R6/lib/nls/wr_WR.ct
var/X11R6/lib/nls/zh_CN.ugb
var/X11R6/lib/nls/zh_TW.big5
var/X11R6/lib/rgb.txt
@unexec rm -rf %D/dev
@dirrm bin
@dirrm dev
@dirrm etc
@dirrm lib
@dirrm sbin