pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/vnc2swf Depend on x11/xwininfo if not exists ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b5f58f9716c3
branches:  trunk
changeset: 538652:b5f58f9716c3
user:      obache <obache%pkgsrc.org@localhost>
date:      Fri Feb 15 13:33:20 2008 +0000

description:
Depend on x11/xwininfo if not exists xwininfo (maybe X11TYPE==modular).

Bump PKGREVISION.

diffstat:

 graphics/vnc2swf/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 1e0a4415ce5b -r b5f58f9716c3 graphics/vnc2swf/Makefile
--- a/graphics/vnc2swf/Makefile Fri Feb 15 13:25:53 2008 +0000
+++ b/graphics/vnc2swf/Makefile Fri Feb 15 13:33:20 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2008/02/15 13:25:53 obache Exp $
+# $NetBSD: Makefile,v 1.10 2008/02/15 13:33:20 obache Exp $
 #
 
 DISTNAME=              vnc2swf-0.5.0
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES=            graphics
 MASTER_SITES=          http://www.unixuser.org/~euske/vnc2swf/
 
@@ -12,7 +12,12 @@
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
+.include "../../mk/bsd.fast.prefs.mk"
+
 DEPENDS+=              x11vnc-[0-9]*:../../x11/x11vnc
+.if !exists(${X11BASE}/bin/xwininfo)
+DEPENDS+=              xwininfo-[0-9]*:../../x11/xwininfo
+.endif
 
 GNU_CONFIGURE=         yes
 USE_LANGUAGES=         c c++



Home | Main Index | Thread Index | Old Index