summaryrefslogtreecommitdiff
path: root/devel/physfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/physfs/Makefile')
-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"