summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorsketch <sketch@pkgsrc.org>2004-11-06 16:43:44 +0000
committersketch <sketch@pkgsrc.org>2004-11-06 16:43:44 +0000
commit3f3eb898efedcf4ff48a868a9af22f0a7d3814fb (patch)
treee37174d05f765bf28e851986889ffbe77e825d8c /net
parentad3fff2e86ad5d3c1ed1cfe1fc90fd0cddaeb412 (diff)
downloadpkgsrc-3f3eb898efedcf4ff48a868a9af22f0a7d3814fb.tar.gz
The ORBit developers have found issues with sunpro's cpp and recommend using
/usr/lib/cpp with that compiler on Solaris instead. See http://mail.gnome.org/archives/orbit-list/2002-September/msg00035.html and related posts for more information. orbit-idl-2 now compiles devel/libbonobo correctly on Solaris/sunpro.
Diffstat (limited to 'net')
-rw-r--r--net/libIDL/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/net/libIDL/Makefile b/net/libIDL/Makefile
index 9e6a596b097..f8b3f7ef5cc 100644
--- a/net/libIDL/Makefile
+++ b/net/libIDL/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2004/10/03 00:17:54 tv Exp $
+# $NetBSD: Makefile,v 1.30 2004/11/06 16:43:44 sketch Exp $
#
DISTNAME= libIDL-0.8.4
@@ -21,6 +21,13 @@ USE_LIBTOOL= YES
PKGCONFIG_OVERRIDE= libIDL-2.0.pc.in
INFO_FILES= libIDL2.info
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Msunpro)
+OPSYSVARS+= CONFIGURE_ENV
+CONFIGURE_ENV.SunOS+= CPP=/usr/lib/cpp
+.endif
+
# Avoid an ICE in gcc2 on sparc64
CONFIGURE_ENV+= F77=${FALSE}