summaryrefslogtreecommitdiff
path: root/sysutils/xosview
diff options
context:
space:
mode:
authoragc <agc>1999-04-07 10:09:18 +0000
committeragc <agc>1999-04-07 10:09:18 +0000
commit0f3df5db9bf323e6d7a40b0a5ca618bc8128b910 (patch)
tree9b92f9cf06ac45a575109e3c9acd03d027d87df7 /sysutils/xosview
parentfe5793b5032042d93946ea1e8943a25f8c5fe073 (diff)
downloadpkgsrc-0f3df5db9bf323e6d7a40b0a5ca618bc8128b910.tar.gz
Make this package work on Solaris.
Diffstat (limited to 'sysutils/xosview')
-rw-r--r--sysutils/xosview/Makefile12
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"