diff options
author | joerg <joerg> | 2013-12-15 19:50:19 +0000 |
---|---|---|
committer | joerg <joerg> | 2013-12-15 19:50:19 +0000 |
commit | 8dccdf74e13f4853a5c6264cc47b2ec82c3a9591 (patch) | |
tree | 490e0d6a26eda40abb5b67382e452e8590a79ed9 /textproc | |
parent | 1466395d246de118fe001d9db73d70cf6744e393 (diff) | |
download | pkgsrc-8dccdf74e13f4853a5c6264cc47b2ec82c3a9591.tar.gz |
Build expr.c without optimisation for clang.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/groonga/Makefile | 7 | ||||
-rw-r--r-- | textproc/groonga/distinfo | 3 | ||||
-rw-r--r-- | textproc/groonga/patches/patch-lib_Makefile.in | 22 |
3 files changed, 30 insertions, 2 deletions
diff --git a/textproc/groonga/Makefile b/textproc/groonga/Makefile index b818ad78d28..d3f0db41537 100644 --- a/textproc/groonga/Makefile +++ b/textproc/groonga/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2013/12/04 14:01:15 obache Exp $ +# $NetBSD: Makefile,v 1.30 2013/12/15 19:50:19 joerg Exp $ # DISTNAME= groonga-3.1.0 @@ -50,6 +50,11 @@ REPLACE_RUBY+= data/munin/groonga_query_performance REPLACE_RUBY+= data/munin/groonga_status .include "../../lang/ruby/replace.mk" +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mclang) +MAKE_ENV+= CLANG_NO_OPT=-O0 +.endif + .include "../../devel/editline/buildlink3.mk" .include "../../devel/glib2/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/groonga/distinfo b/textproc/groonga/distinfo index db4e2297953..a7e816d0a79 100644 --- a/textproc/groonga/distinfo +++ b/textproc/groonga/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.17 2013/12/04 14:01:15 obache Exp $ +$NetBSD: distinfo,v 1.18 2013/12/15 19:50:19 joerg Exp $ SHA1 (groonga-3.1.0.tar.gz) = 7d4ad3be8ade2b97ccf6790063b2b08d111daa59 RMD160 (groonga-3.1.0.tar.gz) = 49adee9c12c06a5ca5d8da1c571696440a6d0615 Size (groonga-3.1.0.tar.gz) = 11005661 bytes +SHA1 (patch-lib_Makefile.in) = 0c8b6cd27df67cfdd8389d519bda8119412c35a2 diff --git a/textproc/groonga/patches/patch-lib_Makefile.in b/textproc/groonga/patches/patch-lib_Makefile.in new file mode 100644 index 00000000000..66932c7ba53 --- /dev/null +++ b/textproc/groonga/patches/patch-lib_Makefile.in @@ -0,0 +1,22 @@ +$NetBSD: patch-lib_Makefile.in,v 1.1 2013/12/15 19:50:19 joerg Exp $ + +--- lib/Makefile.in.orig 2013-12-15 13:52:48.000000000 +0000 ++++ lib/Makefile.in +@@ -619,13 +619,15 @@ distclean-compile: + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + ++CFLAGS.expr.c= ${CLANG_NO_OPT} ++ + .c.lo: + @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ +-@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ ++@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< ${CFLAGS.$<} &&\ + @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< ++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< ${CFLAGS.$<} + + .cpp.o: + @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ |