diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2019-06-08 17:58:55 +0200 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2019-06-15 16:47:17 -0400 |
commit | 45cad46dbefc45377652a087e50205b7b4529cd7 (patch) | |
tree | 320d9b93936ab383555aff20232306aac7113d1c /app-crypt/libu2f-server | |
parent | dev-cpp/gtest: Update to 1.9.0_pre20190607 (diff) | |
download | gentoo-45cad46dbefc45377652a087e50205b7b4529cd7.tar.gz gentoo-45cad46dbefc45377652a087e50205b7b4529cd7.tar.bz2 gentoo-45cad46dbefc45377652a087e50205b7b4529cd7.zip |
app-crypt/libu2f-server: remove unused patch
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
Diffstat (limited to 'app-crypt/libu2f-server')
-rw-r--r-- | app-crypt/libu2f-server/files/libu2f-server-1.0.1-tests-fix.patch | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/app-crypt/libu2f-server/files/libu2f-server-1.0.1-tests-fix.patch b/app-crypt/libu2f-server/files/libu2f-server-1.0.1-tests-fix.patch deleted file mode 100644 index 3cbb9c93868c..000000000000 --- a/app-crypt/libu2f-server/files/libu2f-server-1.0.1-tests-fix.patch +++ /dev/null @@ -1,54 +0,0 @@ -From: Gokturk Yuksek <gokturk@gentoo.org> -Subject: [PATCH] Make tests with CHECK optional at configure time - ---- a/configure.ac -+++ b/configure.ac -@@ -63,7 +63,15 @@ - - PKG_CHECK_MODULES([LIBCRYPTO], [libcrypto], [], []) - --PKG_CHECK_MODULES([CHECK], [check], [], []) -+AC_ARG_ENABLE([tests], -+ [AS_HELP_STRING([--enable-tests], -+ [use check to run the unit tests])], -+ [enable_tests=$enableval], -+ [enable_tests=no]) -+AM_CONDITIONAL([ENABLE_TESTS],[test '!' "$enable_tests" = no]) -+if test '!' "$enable_tests" = no; then -+ PKG_CHECK_MODULES([CHECK], [check], [], [AC_MSG_NOTICE(Check package not found `make check` won't work)]) -+fi - - AC_ARG_ENABLE([coverage], - [AS_HELP_STRING([--enable-coverage], -@@ -123,11 +131,15 @@ - Makefile - gtk-doc/Makefile - src/Makefile -- tests/Makefile - u2f-server/Makefile - u2f-server/u2f-server-version.h - u2f-server/u2f-server.pc - ]) -+if test '!' "$enable_tests" = no; then -+ AC_CONFIG_FILES([ -+ tests/Makefile -+ ]) -+fi - AC_OUTPUT - - AC_MSG_NOTICE([summary of build options: ---- a/Makefile.am -+++ b/Makefile.am -@@ -25,7 +25,11 @@ - # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - --SUBDIRS = u2f-server src tests gtk-doc -+SUBDIRS = u2f-server src gtk-doc -+ -+if ENABLE_TESTS -+SUBDIRS+=tests -+endif - - ACLOCAL_AMFLAGS = -I m4 - |