summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/xosview/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysutils/xosview/Makefile b/sysutils/xosview/Makefile
index 9f47e06dd0e..cfcc317e1ee 100644
--- a/sysutils/xosview/Makefile
+++ b/sysutils/xosview/Makefile
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2001/10/24 22:11:07 jlam Exp $
-#
+# $NetBSD: Makefile,v 1.39 2002/06/04 06:50:13 tron Exp $
DISTNAME= xosview-1.7.0.b
PKGNAME= xosview-1.7.0b
@@ -23,6 +22,11 @@ USE_BUILDLINK_ONLY= YES
.if ${OPSYS} == "NetBSD"
BUILD_DEFS= UVM
+
+.if !defined(UVM) && exists(/usr/include/uvm/uvm.h)
+UVM= # defined
+CFLAGS+= -DUVM
+.endif
.elif ${OPSYS} == "SunOS"
BUILD_DEPENDS+= egcs-1.1.2:../../lang/egcs
CONFIGURE_ENV+= CXX=${LOCALBASE}/egcs/bin/g++