From de10eec2e3ade24e02364abd406624a76d0bfe11 Mon Sep 17 00:00:00 2001 From: tez Date: Tue, 18 Jan 2011 18:39:13 +0000 Subject: fix for PR#44382 (don't use inline with sunpro compiler) --- chat/eggdrop/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'chat') diff --git a/chat/eggdrop/Makefile b/chat/eggdrop/Makefile index a5c0ac520d7..97dc7088e1e 100644 --- a/chat/eggdrop/Makefile +++ b/chat/eggdrop/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.31 2009/06/10 13:33:39 obache Exp $ +# $NetBSD: Makefile,v 1.32 2011/01/18 18:39:13 tez Exp $ DISTNAME= eggdrop1.6.19 PKGNAME= eggdrop-1.6.19 @@ -23,6 +23,12 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} CONFIGURE_ENV+= TCLLIB="${PREFIX}/lib" TCLINC="${PREFIX}/include" +.include "../../mk/bsd.prefs.mk" +.if !empty(PKGSRC_COMPILER:Msunpro) +# fix for PR#44382 +CONFIGURE_ENV+= ac_cv_c_inline= +.endif + EGDIR= ${PREFIX}/share/examples/eggdrop CONF_FILES= ${EGDIR}/eggdrop.conf ${PKG_SYSCONFDIR}/eggdrop.conf -- cgit v1.2.3