From 1717e3b78b6b6d843ec4b20f7cc8f7da07f2786e Mon Sep 17 00:00:00 2001 From: jperkin Date: Fri, 28 Sep 2012 09:45:13 +0000 Subject: Disable CDROM support on Solaris, it is missing the necessary support. Fixes package. --- devel/physfs/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'devel') diff --git a/devel/physfs/Makefile b/devel/physfs/Makefile index eadc27e91ed..e76b1ecf477 100644 --- a/devel/physfs/Makefile +++ b/devel/physfs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2009/05/20 00:58:14 wiz Exp $ +# $NetBSD: Makefile,v 1.18 2012/09/28 09:45:13 jperkin Exp $ # DISTNAME= physfs-1.0.1 @@ -18,6 +18,12 @@ USE_LANGUAGES= c c++ CONFIGURE_ARGS+= --enable-pthreads PTHREAD_AUTO_VARS= yes +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "SunOS" +CONFIGURE_ARGS+= --disable-cdrom +.endif + .include "../../devel/readline/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" -- cgit v1.2.3