summaryrefslogtreecommitdiff
path: root/graphics/libv4l/Makefile
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-04-18 17:47:22 +0000
committerhans <hans@pkgsrc.org>2012-04-18 17:47:22 +0000
commitabe586da6487f9a42b90bfbba05743ea91d79ba7 (patch)
tree4c53e5a5bfe4ce88b3b932e0bacbe93ca20b1b0b /graphics/libv4l/Makefile
parentb27b03eb282fe6ffc6129da192fe15fa685453ed (diff)
downloadpkgsrc-abe586da6487f9a42b90bfbba05743ea91d79ba7.tar.gz
Make this build on SunOS 5.11.
Diffstat (limited to 'graphics/libv4l/Makefile')
-rw-r--r--graphics/libv4l/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/libv4l/Makefile b/graphics/libv4l/Makefile
index 7ed14b27288..af049e7483a 100644
--- a/graphics/libv4l/Makefile
+++ b/graphics/libv4l/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2010/12/27 04:58:10 obache Exp $
+# $NetBSD: Makefile,v 1.7 2012/04/18 17:47:22 hans Exp $
DISTNAME= libv4l-0.4.3
PKGREVISION= 2
@@ -35,4 +35,6 @@ pre-configure:
PLIST_VARS= needs_videoio
+CPPFLAGS.SunOS+= -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1
+
.include "../../mk/bsd.pkg.mk"