summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2012-12-18 12:31:31 +0000
committerjperkin <jperkin@pkgsrc.org>2012-12-18 12:31:31 +0000
commit5a5056500e7da27910a65640c5580330a0d3dcc7 (patch)
treec34835e7860ead655074939fe49517dc48d2c42b
parent2e603b26de5da3e439dfaad2599875eae0773103 (diff)
downloadpkgsrc-5a5056500e7da27910a65640c5580330a0d3dcc7.tar.gz
Ensure HAVE_FIONREAD_IN_SYS_FILIO is defined on Solaris, it appears to
have been somewhat removed from the source and there is no configure test left to enable it, but it is still required.
-rw-r--r--multimedia/gst-plugins1-base/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/multimedia/gst-plugins1-base/Makefile b/multimedia/gst-plugins1-base/Makefile
index fc065460790..69eb07ace9e 100644
--- a/multimedia/gst-plugins1-base/Makefile
+++ b/multimedia/gst-plugins1-base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2012/11/29 08:22:29 ryoon Exp $
+# $NetBSD: Makefile,v 1.2 2012/12/18 12:31:31 jperkin Exp $
#
.include "Makefile.common"
@@ -15,6 +15,11 @@ REPLACE_PERL+= tools/gst-visualise-m.m
# only useful if gstreamer was built with the "gstcheck" option
TEST_TARGET= check-torture
+.include "../../mk/bsd.prefs.mk"
+
+# This define is checked but never set, enable it on Solaris.
+CFLAGS.SunOS+= -DHAVE_FIONREAD_IN_SYS_FILIO=1
+
# soft dependency only, .pc file not needed
#.include "../../textproc/iso-codes/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"