summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authortez <tez@pkgsrc.org>2011-01-18 18:39:13 +0000
committertez <tez@pkgsrc.org>2011-01-18 18:39:13 +0000
commitde10eec2e3ade24e02364abd406624a76d0bfe11 (patch)
tree2ca606a8e8b6f4f819a7e35bf58e7b5e49ec2551 /chat
parent8ad4ee91c388afca8fdb5861aecb5d3f613384ce (diff)
downloadpkgsrc-de10eec2e3ade24e02364abd406624a76d0bfe11.tar.gz
fix for PR#44382 (don't use inline with sunpro compiler)
Diffstat (limited to 'chat')
-rw-r--r--chat/eggdrop/Makefile8
1 files changed, 7 insertions, 1 deletions
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