From 0f3df5db9bf323e6d7a40b0a5ca618bc8128b910 Mon Sep 17 00:00:00 2001 From: agc Date: Wed, 7 Apr 1999 10:09:18 +0000 Subject: Make this package work on Solaris. --- sysutils/xosview/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'sysutils/xosview') diff --git a/sysutils/xosview/Makefile b/sysutils/xosview/Makefile index 7fa24d242d3..c5f8fbc986c 100644 --- a/sysutils/xosview/Makefile +++ b/sysutils/xosview/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 1999/02/20 22:48:44 hubertf Exp $ +# $NetBSD: Makefile,v 1.26 1999/04/07 10:09:18 agc Exp $ # DISTNAME= xosview-1.7.0.b @@ -12,6 +12,10 @@ HOMEPAGE= http://lore.ece.utexas.edu/~bgrayson/xosview.html HAS_CONFIGURE= yes CONFIGURE_ARGS+= --prefix=${PREFIX} USE_X11BASE= yes + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" BUILD_DEFS= UVM # On arm32, with UVM, pmap.h contains a C++ keyword. Workaround this. @@ -22,4 +26,10 @@ pre-build: > ${WRKSRC}/include/machine/pmap.h; \ fi +.elif ${OPSYS} == "SunOS" +DEPENDS+= egcs-1.1.2:../../lang/egcs +CONFIGURE_ENV+= CXX=${LOCALBASE}/egcs/bin/g++ +USE_GMAKE= yes +.endif + .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3