summaryrefslogtreecommitdiff
path: root/graphics/cheese
diff options
context:
space:
mode:
authorwiz <wiz>2008-11-24 12:49:39 +0000
committerwiz <wiz>2008-11-24 12:49:39 +0000
commit5ff9a9b047964761fca67ac96dd99d98320e8275 (patch)
treed4ab4c0a66ca08027015520e1695ebc9fe0807c1 /graphics/cheese
parenta496b5537566966c84d5d859c4447772d2b492aa (diff)
downloadpkgsrc-5ff9a9b047964761fca67ac96dd99d98320e8275.tar.gz
Only depend on gst-plugins0.10-v4l2 on NetBSD-[5-9]* and Linux.
No PKGREVISION bump because that dependency didn't build on other OPSYS anyway. Addresses PR 39988 by Robert Elz.
Diffstat (limited to 'graphics/cheese')
-rw-r--r--graphics/cheese/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/graphics/cheese/Makefile b/graphics/cheese/Makefile
index 99946bad492..6e93c737a80 100644
--- a/graphics/cheese/Makefile
+++ b/graphics/cheese/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2008/11/14 11:25:28 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2008/11/24 12:49:39 wiz Exp $
DISTNAME= cheese-2.24.1
CATEGORIES= graphics
@@ -9,6 +9,15 @@ HOMEPAGE= http://www.gnome.org/projects/cheese/
COMMENT= Use your webcam to take photos and videos
BUILD_DEPENDS+= gettext-m4-[0-9]*:../../devel/gettext-m4
+DEPENDS+= gst-plugins0.10-theora>=0.10.1:../../multimedia/gst-plugins0.10-theora
+DEPENDS+= gst-plugins0.10-ogg>=0.10.1:../../multimedia/gst-plugins0.10-ogg
+DEPENDS+= gst-plugins0.10-vorbis>=0.10.1:../../audio/gst-plugins0.10-vorbis
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(MACHINE_PLATFORM:MNetBSD-[5-9]*) || !empty(MACHINE_PLATFORM:MLinux)
+DEPENDS+= gst-plugins0.10-v4l2>=0.10.10:../../multimedia/gst-plugins0.10-v4l2
+.endif
PKG_DESTDIR_SUPPORT= user-destdir
@@ -37,10 +46,6 @@ pre-configure:
.include "../../mail/evolution-data-server/buildlink3.mk"
.include "../../multimedia/gst-plugins0.10-base/buildlink3.mk"
.include "../../multimedia/gst-plugins0.10-good/buildlink3.mk"
-DEPENDS+= gst-plugins0.10-theora>=0.10.1:../../multimedia/gst-plugins0.10-theora
-DEPENDS+= gst-plugins0.10-ogg>=0.10.1:../../multimedia/gst-plugins0.10-ogg
-DEPENDS+= gst-plugins0.10-vorbis>=0.10.1:../../audio/gst-plugins0.10-vorbis
-DEPENDS+= gst-plugins0.10-v4l2>=0.10.10:../../multimedia/gst-plugins0.10-v4l2
.include "../../multimedia/gstreamer0.10/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"