summaryrefslogtreecommitdiff
path: root/x11/dxpc
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-06-29 12:49:04 +0000
committeragc <agc@pkgsrc.org>1999-06-29 12:49:04 +0000
commit5eaffc0f3bd7acf5a10ca2bae8097692bf085961 (patch)
treea38116be4abfedb0c78583734f32b6ed2875a95e /x11/dxpc
parentb722fcaf97127e08c599b27c37b76ba85fd2a3e1 (diff)
downloadpkgsrc-5eaffc0f3bd7acf5a10ca2bae8097692bf085961.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