From f990ca8bc1ee65c6a2a76dda2cb1e2a24b946467 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Fri, 15 Aug 2008 04:18:57 -0400 Subject: [PATCH] crm114: patched to not enable profiling, which cause runtime troubles because it wants to write gmon.out --- mail/crm114/dont_profile.patch | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 mail/crm114/dont_profile.patch diff --git a/mail/crm114/dont_profile.patch b/mail/crm114/dont_profile.patch new file mode 100644 index 000000000..36330d52d --- /dev/null +++ b/mail/crm114/dont_profile.patch @@ -0,0 +1,29 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../crm114/dont_profile.patch +# Copyright (C) 2008 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +the -pg option makes `crm` whine when it can't write a gmon.out file + +--- ./Makefile.orig 2008-08-14 06:13:22.000000000 -0400 ++++ ./Makefile 2008-08-14 06:13:48.000000000 -0400 +@@ -81,7 +81,7 @@ + # BSD users - do NOT use -static-libgcc!!! + #LDFLAGS += -static -static-libgcc + # use this one if you want program profiling. +-LDFLAGS += -static -static-libgcc -pg ++#LDFLAGS += -static -static-libgcc -pg + # + # Any standard install flags? We nominally use protection 755 + INSTALLFLAGS += -m 755