pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kore: remove hardcoded optimization (-O2) flag.
Module Name: pkgsrc-wip
Committed By: Frederic Cambus <fred%statdns.com@localhost>
Pushed By: fcambus
Date: Tue Jul 2 15:54:54 2019 +0200
Changeset: 082af1ee1978e0d68d3856ec51d4460ca6aaa3f0
Modified Files:
kore/distinfo
kore/patches/patch-Makefile
kore/patches/patch-kodev_Makefile
Log Message:
kore: remove hardcoded optimization (-O2) flag.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=082af1ee1978e0d68d3856ec51d4460ca6aaa3f0
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
kore/distinfo | 4 ++--
kore/patches/patch-Makefile | 13 +++++++++++--
kore/patches/patch-kodev_Makefile | 13 +++++++++++--
3 files changed, 24 insertions(+), 6 deletions(-)
diffs:
diff --git a/kore/distinfo b/kore/distinfo
index 62f3c8f7b2..d3b6c19224 100644
--- a/kore/distinfo
+++ b/kore/distinfo
@@ -4,5 +4,5 @@ SHA1 (kore-3.3.1.tar.gz) = 6f1caa21cbedda8b9757bc3d363bf8389ecb47fc
RMD160 (kore-3.3.1.tar.gz) = 706efbac47e047427ed50d6e55f709c52626850b
SHA512 (kore-3.3.1.tar.gz) = a6641632fdd125948379884920e5804f428650644b25c757adaace86a286b69ff62947ba85601f9851abbacd697e6fd9385c37c1b2571e55a3f23b15e33a4750
Size (kore-3.3.1.tar.gz) = 1009866 bytes
-SHA1 (patch-Makefile) = aff05cd0cce01cbb63481b3b4229f165e06765f1
-SHA1 (patch-kodev_Makefile) = 74aadccd5db6fb739242a9356538fd63a9eaebf0
+SHA1 (patch-Makefile) = cef31294580a20e45168d93cdaed7c08c708f455
+SHA1 (patch-kodev_Makefile) = a5366d2879f59f27302b08d33f50620698ff5654
diff --git a/kore/patches/patch-Makefile b/kore/patches/patch-Makefile
index 1140bb0074..3ff0aaff1c 100644
--- a/kore/patches/patch-Makefile
+++ b/kore/patches/patch-Makefile
@@ -2,7 +2,7 @@ $NetBSD$
Adapt install target for pkgsrc.
---- Makefile.orig 2019-01-21 09:58:12.000000000 +0000
+--- Makefile.orig 2019-06-03 13:29:24.000000000 +0000
+++ Makefile
@@ -1,13 +1,14 @@
# Kore Makefile
@@ -20,7 +20,16 @@ Adapt install target for pkgsrc.
SHARE_DIR=$(PREFIX)/share/kore
INCLUDE_DIR=$(PREFIX)/include/kore
-@@ -161,14 +162,14 @@ $(OBJDIR):
+@@ -46,8 +47,6 @@ endif
+
+ ifneq ("$(NOOPT)", "")
+ CFLAGS+=-O0
+-else
+- CFLAGS+=-O2
+ endif
+
+ ifneq ("$(NOSENDFILE)", "")
+@@ -176,14 +175,14 @@ $(OBJDIR):
@mkdir -p $(OBJDIR)
install:
diff --git a/kore/patches/patch-kodev_Makefile b/kore/patches/patch-kodev_Makefile
index c986040050..1f5568fc8c 100644
--- a/kore/patches/patch-kodev_Makefile
+++ b/kore/patches/patch-kodev_Makefile
@@ -2,7 +2,7 @@ $NetBSD$
Adapt install target for pkgsrc.
---- kodev/Makefile.orig 2019-01-21 09:58:12.000000000 +0000
+--- kodev/Makefile.orig 2019-06-03 13:29:24.000000000 +0000
+++ kodev/Makefile
@@ -4,6 +4,7 @@ CC?=cc
PREFIX?=/usr/local
@@ -12,7 +12,16 @@ Adapt install target for pkgsrc.
INSTALL_DIR=$(PREFIX)/bin
S_SRC= ../src/cli.c
-@@ -37,8 +38,8 @@ $(OBJDIR):
+@@ -16,8 +17,6 @@ LDFLAGS=-lcrypto
+
+ ifneq ("$(NOOPT)", "")
+ CFLAGS+=-O0
+-else
+- CFLAGS+=-O2
+ endif
+
+ OSNAME=$(shell uname -s | sed -e 's/[-_].*//g' | tr A-Z a-z)
+@@ -37,8 +36,8 @@ $(OBJDIR):
@mkdir -p $(OBJDIR)
install: $(KODEV)
Home |
Main Index |
Thread Index |
Old Index