diff options
author | jlam <jlam> | 2002-10-16 15:59:32 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-10-16 15:59:32 +0000 |
commit | 1ab6ac51cde244429ebb77af9c32c3bc0baf58c3 (patch) | |
tree | 06b69546c5b83764c32fa8e23ce9d7eb72b6bee9 /audio/oss | |
parent | 33d138d731d0d021518c25447dfee44499e12c18 (diff) | |
download | pkgsrc-1ab6ac51cde244429ebb77af9c32c3bc0baf58c3.tar.gz |
Substitute for modstat path, using true if not on NetBSD.
Diffstat (limited to 'audio/oss')
-rw-r--r-- | audio/oss/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/audio/oss/Makefile b/audio/oss/Makefile index b43e587e4e4..b6cb22db300 100644 --- a/audio/oss/Makefile +++ b/audio/oss/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2002/10/16 15:57:07 jlam Exp $ +# $NetBSD: Makefile,v 1.5 2002/10/16 15:59:32 jlam Exp $ PKGNAME= oss-${OSS_VERSION} CATEGORIES= audio sysutils @@ -31,10 +31,17 @@ USE_BUILDLINK2= # defined NO_CONFIGURE= # defined NO_BUILD= # defined +.if ${OPSYS} == "NetBSD" +MODSTAT= /usr/bin/modstat +.else +MODSTAT= ${TRUE} +.endif + CHROOT?= /usr/sbin/chroot WRKSRC= ${WRKDIR} OSSLIBDIR= ${PREFIX}/lib/oss FILES_SUBST+= OSSLIBDIR=${OSSLIBDIR} +FILES_SUBST+= MODSTAT=${MODSTAT} # OSS needs to find certain files in /etc, so this package can't be # made to honor ${PKG_SYSCONFDIR}. |