diff options
author | agc <agc@pkgsrc.org> | 1999-04-07 10:09:18 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1999-04-07 10:09:18 +0000 |
commit | fda20b1789adc3da5f1c492d535d27737038789b (patch) | |
tree | 9b92f9cf06ac45a575109e3c9acd03d027d87df7 /sysutils/xosview | |
parent | f657ebf2ed48a60347604d70934cea0e543a848a (diff) | |
download | pkgsrc-fda20b1789adc3da5f1c492d535d27737038789b.tar.gz |
Make this package work on Solaris.
Diffstat (limited to 'sysutils/xosview')
-rw-r--r-- | sysutils/xosview/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
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" |