summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
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}