pkgsrc-WIP-changes archive

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

vsearch: Respect build env



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Fri May 10 10:02:08 2019 -0500
Changeset:	22c5729353d62e16662392c29dd7ae06c0a1ccc2

Modified Files:
	vsearch/distinfo
Added Files:
	vsearch/patches/patch-configure.ac
	vsearch/patches/patch-src_Makefile.am

Log Message:
vsearch: Respect build env

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

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

diffstat:
 vsearch/distinfo                      |  2 ++
 vsearch/patches/patch-configure.ac    | 16 ++++++++++++++++
 vsearch/patches/patch-src_Makefile.am | 22 ++++++++++++++++++++++
 3 files changed, 40 insertions(+)

diffs:
diff --git a/vsearch/distinfo b/vsearch/distinfo
index 9be34c98b8..1a704959d4 100644
--- a/vsearch/distinfo
+++ b/vsearch/distinfo
@@ -4,5 +4,7 @@ SHA1 (vsearch-2.13.3.tar.gz) = 064bfbef4271c254848f18b03bed7c41a15ae2ab
 RMD160 (vsearch-2.13.3.tar.gz) = d8f00a88449fb827878b7e301f9127799ce3d43c
 SHA512 (vsearch-2.13.3.tar.gz) = a3c539d60ed6db8bdb964a1aee18e79a6b8ed397dc01d47aad873019a8f123ed8892b08536dfd5f785f8d327fee75d42b4a744f354f5c6e3bb03d0bf10f054e5
 Size (vsearch-2.13.3.tar.gz) = 233846 bytes
+SHA1 (patch-configure.ac) = 536a8565514cf9b43f4f8892d1cba0444f752c5e
+SHA1 (patch-src_Makefile.am) = bcdd1bbe9f04197084825e2c3560ba27a750f124
 SHA1 (patch-src_city.cc) = 3a5bcbca0a0c733a32a9d152189de10df3cb515f
 SHA1 (patch-src_vsearch.h) = 26b8dc6ce0448e7463ee1c3ff73747ad07286543
diff --git a/vsearch/patches/patch-configure.ac b/vsearch/patches/patch-configure.ac
new file mode 100644
index 0000000000..708890d628
--- /dev/null
+++ b/vsearch/patches/patch-configure.ac
@@ -0,0 +1,16 @@
+$NetBSD$
+
+# Respect build env
+
+--- configure.ac.orig	2019-05-09 20:58:52 UTC
++++ configure.ac
+@@ -14,9 +14,6 @@ MACOSX_DEPLOYMENT_TARGET="10.9"
+ 
+ # Set default gcc and g++ options
+ 
+-CFLAGS='-g'
+-CXXFLAGS='-g'
+-
+ # Checks for programs.
+ AC_PROG_CXX
+ AC_PROG_RANLIB
diff --git a/vsearch/patches/patch-src_Makefile.am b/vsearch/patches/patch-src_Makefile.am
new file mode 100644
index 0000000000..abf66190db
--- /dev/null
+++ b/vsearch/patches/patch-src_Makefile.am
@@ -0,0 +1,22 @@
+$NetBSD$
+
+# Respect build env
+
+--- src/Makefile.am.orig	2019-04-30 11:57:32 UTC
++++ src/Makefile.am
+@@ -1,12 +1,12 @@
+ bin_PROGRAMS = $(top_builddir)/bin/vsearch
+ 
+ if TARGET_PPC
+-AM_CXXFLAGS=-Wall -Wsign-compare -O3 -g -mcpu=power8
++AM_CXXFLAGS=-Wall -Wsign-compare
+ else
+ if TARGET_AARCH64
+-AM_CXXFLAGS=-Wall -Wsign-compare -O3 -g -march=armv8-a+simd -mtune=generic
++AM_CXXFLAGS=-Wall -Wsign-compare
+ else
+-AM_CXXFLAGS=-Wall -Wsign-compare -O3 -g -march=x86-64 -mtune=generic
++AM_CXXFLAGS=-Wall -Wsign-compare
+ endif
+ endif
+ 


Home | Main Index | Thread Index | Old Index