diff options
Diffstat (limited to 'x11-toolkits/py-qt')
-rw-r--r-- | x11-toolkits/py-qt/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/x11-toolkits/py-qt/Makefile b/x11-toolkits/py-qt/Makefile index c70ab586fd8f..c41447799bba 100644 --- a/x11-toolkits/py-qt/Makefile +++ b/x11-toolkits/py-qt/Makefile @@ -24,11 +24,10 @@ USE_PYTHON= yes .include <bsd.port.pre.mk> -WITH_GL!= ldd ${X11BASE}/lib/libqt-mt.so | ${GREP} 'libGL' || ${TRUE} -.if !empty(WITH_GL) -PLIST_SUB+= GL="" -.else +.if defined(WITHOUT_OPENGL) PLIST_SUB+= GL="@comment " +.else +PLIST_SUB+= GL="" .endif do-configure: |