summaryrefslogtreecommitdiff
path: root/x11/dxpc
diff options
context:
space:
mode:
authoragc <agc>1999-06-29 12:49:04 +0000
committeragc <agc>1999-06-29 12:49:04 +0000
commitd8ccb389501fff6a2a470bbb6960dbf17e8190c6 (patch)
treea38116be4abfedb0c78583734f32b6ed2875a95e /x11/dxpc
parentc4fd3f93f6b6a8261e7b71f8b6164e50e9ce6e15 (diff)
downloadpkgsrc-d8ccb389501fff6a2a470bbb6960dbf17e8190c6.tar.gz
Make this package work on Solaris.
Diffstat (limited to 'x11/dxpc')
-rw-r--r--x11/dxpc/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/x11/dxpc/Makefile b/x11/dxpc/Makefile
index 3a15200f802..2601cbb8d3a 100644
--- a/x11/dxpc/Makefile
+++ b/x11/dxpc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 1999/04/15 20:39:48 tron Exp $
+# $NetBSD: Makefile,v 1.11 1999/06/29 12:49:04 agc Exp $
#
DISTNAME= dxpc-3.7.0
@@ -11,6 +11,13 @@ HOMEPAGE= http://ccwf.cc.utexas.edu/~zvonler/dxpc/
GNU_CONFIGURE= yes
USE_X11BASE= yes
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+DEPENDS+= egcs-1.1.2:../../lang/egcs
+CONFIGURE_ENV+= CXX=${LOCALBASE}/egcs/bin/g++
+.endif
+
post-install:
@strip ${PREFIX}/bin/dxpc