pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/kdebase3 Add defined test before !empty test.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9ef05b5dca83
branches:  trunk
changeset: 470967:9ef05b5dca83
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Mar 14 00:38:19 2004 +0000

description:
Add defined test before !empty test.

diffstat:

 x11/kdebase3/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 60e82441a6e4 -r 9ef05b5dca83 x11/kdebase3/Makefile
--- a/x11/kdebase3/Makefile     Sat Mar 13 23:21:33 2004 +0000
+++ b/x11/kdebase3/Makefile     Sun Mar 14 00:38:19 2004 +0000
@@ -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 @@
 .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 "



Home | Main Index | Thread Index | Old Index