diff options
author | hauke <hauke@pkgsrc.org> | 2016-01-04 15:01:51 +0000 |
---|---|---|
committer | hauke <hauke@pkgsrc.org> | 2016-01-04 15:01:51 +0000 |
commit | 60a26ad4d8b8e6b326cfe31a27705d74dac44c62 (patch) | |
tree | c9ed436407d43a33811459220d8bba665d978e63 /x11 | |
parent | 171dc59fce5fa6b12a9866af46aac8012ec7fcfa (diff) | |
download | pkgsrc-60a26ad4d8b8e6b326cfe31a27705d74dac44c62.tar.gz |
arandr's requirements for xrandr are quite modest, so don't depend on
x11/xrandr for native X11. Wouldn't work anyway.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/arandr/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/arandr/Makefile b/x11/arandr/Makefile index b8d5dd0dad8..2643468bb86 100644 --- a/x11/arandr/Makefile +++ b/x11/arandr/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2015/12/05 21:26:07 adam Exp $ +# $NetBSD: Makefile,v 1.3 2016/01/04 15:01:51 hauke Exp $ DISTNAME= arandr-0.1.8 CATEGORIES= x11 @@ -10,7 +10,12 @@ COMMENT= Designed to provide a simple visual front end for XRandR LICENSE= gnu-gpl-v3 DEPENDS+= ${PYPKGPREFIX}-docutils>=0.6:../../textproc/py-docutils + +.include "../../mk/bsd.prefs.mk" + +.if ${X11_TYPE} != "native" DEPENDS+= xrandr>=1.2:../../x11/xrandr +.endif PY_PATCHPLIST = YES PYSETUP = setup.py |