summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-07-20 21:56:30 +0000
committerwiz <wiz@pkgsrc.org>2000-07-20 21:56:30 +0000
commitfc7fe48be6804d2640c85bfc060c7c45bb9c353f (patch)
treed615f2bc04ebbd7ac61e6b034f28893a0dcc425d /x11
parentdaa7fa60406fcdc46535dc55699accd5a4b12989 (diff)
downloadpkgsrc-fc7fe48be6804d2640c85bfc060c7c45bb9c353f.tar.gz
only compare XAW_TYPE if it is defined
Diffstat (limited to 'x11')
-rw-r--r--x11/emiclock/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/emiclock/Makefile b/x11/emiclock/Makefile
index fa35134026b..c7b6e1504ba 100644
--- a/x11/emiclock/Makefile
+++ b/x11/emiclock/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2000/07/14 05:06:37 minoura Exp $
+# $NetBSD: Makefile,v 1.8 2000/07/20 21:56:30 wiz Exp $
#
DISTNAME= emiclock-2.0.2
@@ -13,7 +13,7 @@ USE_XAW= yes
.include "../../mk/bsd.prefs.mk"
-.if (${XAW_TYPE} == "3d" || ${XAW_TYPE} == "xpm")
+.if defined(XAW_TYPE) && (${XAW_TYPE} == "3d" || ${XAW_TYPE} == "xpm")
post-patch:
echo "#define USE_XAW3D" > ${WRKSRC}/xawconfig.h
.else