summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjperkin <jperkin>2012-09-28 09:45:13 +0000
committerjperkin <jperkin>2012-09-28 09:45:13 +0000
commit1717e3b78b6b6d843ec4b20f7cc8f7da07f2786e (patch)
treedb45588dba624f1d17cdadf7d9f6ceb6e31d6454 /devel
parent40e96322beae8145d53ed1e1b089fa078cd04277 (diff)
downloadpkgsrc-1717e3b78b6b6d843ec4b20f7cc8f7da07f2786e.tar.gz
Disable CDROM support on Solaris, it is missing the necessary support.
Fixes package.
Diffstat (limited to 'devel')
-rw-r--r--devel/physfs/Makefile8
1 files changed, 7 insertions, 1 deletions
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"