From acad91a195b6caaeba5feb0dfc7d7ac647d45ce6 Mon Sep 17 00:00:00 2001 From: sketch Date: Sat, 6 Nov 2004 16:43:44 +0000 Subject: 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. --- net/libIDL/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'net/libIDL') 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} -- cgit v1.2.3