pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

multimail: remove hardcoded optimization (-O2) flag and honour CXXFLAGS.



Module Name:	pkgsrc-wip
Committed By:	Frederic Cambus <fred%statdns.com@localhost>
Pushed By:	fcambus
Date:		Mon May 27 09:25:29 2019 +0200
Changeset:	5b3074b27e04de01479ca0c9b243bc2ac892381c

Modified Files:
	multimail/distinfo
	multimail/patches/patch-Makefile

Log Message:
multimail: remove hardcoded optimization (-O2) flag and honour CXXFLAGS.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5b3074b27e04de01479ca0c9b243bc2ac892381c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 multimail/distinfo               |  2 +-
 multimail/patches/patch-Makefile | 12 ++++++++++--
 2 files changed, 11 insertions(+), 3 deletions(-)

diffs:
diff --git a/multimail/distinfo b/multimail/distinfo
index f4e94b5870..dc17ea1283 100644
--- a/multimail/distinfo
+++ b/multimail/distinfo
@@ -4,4 +4,4 @@ SHA1 (mmail-0.52.tar.gz) = 6a0e2d9ed1bdf1c00afae15f008a7f7e4850b0fa
 RMD160 (mmail-0.52.tar.gz) = b518caf178399540b0384bbc54aae0fa0bf172d5
 SHA512 (mmail-0.52.tar.gz) = 2e0b834db289ec94d893deb0250dcc44e826ca7cbf28c6e39b23c3ac9a008e7f5da6a584d0f32547ca057c5ae44c3d84bbe0833bb1b8bb6df4f652174ee139b4
 Size (mmail-0.52.tar.gz) = 221721 bytes
-SHA1 (patch-Makefile) = beff612a3b60a2e8ad2f45b685a925e5d2af95c8
+SHA1 (patch-Makefile) = dcbee2769026575a51d00c82d8ae76c620b077f9
diff --git a/multimail/patches/patch-Makefile b/multimail/patches/patch-Makefile
index 7704cbd0c5..ddb64ece2c 100644
--- a/multimail/patches/patch-Makefile
+++ b/multimail/patches/patch-Makefile
@@ -1,10 +1,18 @@
 $NetBSD$
 
-Link against ncursesw and adapt install target for pkgsrc.
+Link against ncursesw, honour CXXFLAGS, and adapt install target for pkgsrc.
 
 --- Makefile.orig	2019-02-22 01:00:59.000000000 +0000
 +++ Makefile
-@@ -18,7 +18,8 @@ endif
+@@ -11,14 +11,15 @@ isrc = interfac
+ ifeq ($(DEBUG),Y)
+ 	OPTS = -g -Wall -pedantic
+ else
+-	OPTS = -O2 -Wall -pedantic
++	OPTS = $(CXXFLAGS) -Wall -pedantic
+ 	POST = strip mm$(E)
+ endif
+ 
  # PREFIX is the base directory under which to install the binary and man
  # page; generally either /usr/local or /usr (or perhaps /opt...).
  


Home | Main Index | Thread Index | Old Index