Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 03/13/2006 16:10:15
Module Name:	pkgsrc
Committed By:	jlam
Date:		Mon Mar 13 16:10:15 UTC 2006

Modified Files:
	pkgsrc/mk: oss.buildlink3.mk

Log Message:
Makefiles that include oss.buildlink3.mk can now check the value of
OSS_TYPE to determine whether or not a native OSS implementation is
present or not.  OSS_TYPE just exports the value of IS_BUILIN.oss, but
exports it early enough where it can be used within a package Makefile,
e.g.:

	.include "../../mk/oss.buildlink3.mk"
	.if ${OSS_TYPE} == "none"
	CONFIGURE_ARGS+=	--without-oss
	.endif

This should fix builds of some packages that include "oss.buildlink3.mk"
on platforms where there is no OSS in the base system, e.g. Mac OS X
and Solaris.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 pkgsrc/mk/oss.buildlink3.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.