diff options
author | tron <tron@pkgsrc.org> | 2002-06-04 06:50:13 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2002-06-04 06:50:13 +0000 |
commit | 4328833129e6325897deaede741aa2e2597a360e (patch) | |
tree | 342ae93e570c3e5aff25e1b48cbbb237cdf97259 /sysutils/xosview | |
parent | 809b1d1e9f8c791b7857a5a52d977a782eaf297d (diff) | |
download | pkgsrc-4328833129e6325897deaede741aa2e2597a360e.tar.gz |
Fix build problem on post Mach VM systems where the UVM transition glue
has been removed.
Diffstat (limited to 'sysutils/xosview')
-rw-r--r-- | sysutils/xosview/Makefile | 8 |
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++ |