diff options
author | marino <marino@pkgsrc.org> | 2011-12-15 08:34:32 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2011-12-15 08:34:32 +0000 |
commit | 90576c737879e21b991841de79ef689ae499757d (patch) | |
tree | c765f1c3a89a58a40d7fdd0fa188e7095d03678a /graphics/vnc2swf | |
parent | b9f73768173ed4b4bb6acece3d951961f71472d0 (diff) | |
download | pkgsrc-90576c737879e21b991841de79ef689ae499757d.tar.gz |
graphics/vnc2swf: Fix logic flaw for Makefile dependency
On DragonFly, X11BASE equals LOCALBASE meaning any detected binaries on
X11BASE came from pkgsrc itself and not the native platform as intended.
The result is that x11/xwininfo was not getting added to the DEPENDS list
after that package was installed.
Diffstat (limited to 'graphics/vnc2swf')
-rw-r--r-- | graphics/vnc2swf/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/vnc2swf/Makefile b/graphics/vnc2swf/Makefile index 8647e2f76e7..02002aff39a 100644 --- a/graphics/vnc2swf/Makefile +++ b/graphics/vnc2swf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2010/05/15 13:17:28 obache Exp $ +# $NetBSD: Makefile,v 1.15 2011/12/15 08:34:32 marino Exp $ # DISTNAME= vnc2swf-0.5.0 @@ -16,7 +16,7 @@ PKG_DESTDIR_SUPPORT= user-destdir .include "../../mk/bsd.fast.prefs.mk" DEPENDS+= x11vnc-[0-9]*:../../x11/x11vnc -.if !exists(${X11BASE}/bin/xwininfo) +.if ${X11BASE} == ${LOCALBASE} || !exists(${X11BASE}/bin/xwininfo) DEPENDS+= xwininfo-[0-9]*:../../x11/xwininfo .endif |