summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorwiz <wiz>2004-03-14 00:38:19 +0000
committerwiz <wiz>2004-03-14 00:38:19 +0000
commit0b88b50a96573d2a2e9b2ef1a4c5be3047d610cf (patch)
treeb6160326579a7e3206fd7256165be4ba8e9c0341 /x11
parenta939ab91e2ba4be09697eab27a72942eb5eb1ec2 (diff)
downloadpkgsrc-0b88b50a96573d2a2e9b2ef1a4c5be3047d610cf.tar.gz
Add defined test before !empty test.
Diffstat (limited to 'x11')
-rw-r--r--x11/kdebase3/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/kdebase3/Makefile b/x11/kdebase3/Makefile
index 710bf4d41ee..a8236c66eac 100644
--- a/x11/kdebase3/Makefile
+++ b/x11/kdebase3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2004/03/09 11:33:08 markd Exp $
+# $NetBSD: Makefile,v 1.44 2004/03/14 00:38:19 wiz Exp $
DISTNAME= kdebase-${_KDE_VERSION}
CATEGORIES= x11
@@ -83,7 +83,7 @@ PLIST_SUBST+= FONTENC_SUFFIX="so"
.if exists(${X11BASE}/include/X11/extensions/Xrandr.h)
HAVE_RANDR!= ${GREP} XRRSetScreenConfigAndRateX ${X11BASE}/include/X11/extensions/Xrandr.h; ${ECHO}
.endif
-.if !empty(HAVE_RANDR)
+.if defined(HAVE_RANDR) && !empty(HAVE_RANDR)
PLIST_SUBST+= HAVE_RANDR=""
.else
PLIST_SUBST+= HAVE_RANDR="@comment "