diff options
author | tez <tez> | 2011-01-18 18:39:13 +0000 |
---|---|---|
committer | tez <tez> | 2011-01-18 18:39:13 +0000 |
commit | 6257ccf746899acb4049b6a4bd5c903273afd9ec (patch) | |
tree | 2ca606a8e8b6f4f819a7e35bf58e7b5e49ec2551 | |
parent | 44cb8b0e25f0314484b952ea42047341a6bd3b7f (diff) | |
download | pkgsrc-6257ccf746899acb4049b6a4bd5c903273afd9ec.tar.gz |
fix for PR#44382 (don't use inline with sunpro compiler)
-rw-r--r-- | chat/eggdrop/Makefile | 8 |
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 |