Browse Source

l/zxcvbn-cpp: Rebuilt without debugging.

slackware-14.2
Damien Goutte-Gattat 4 years ago
parent
commit
9f2ba20db3
  1. 12
      l/zxcvbn-cpp/zxcvbn-cpp-autoconfiscate.diff
  2. 2
      l/zxcvbn-cpp/zxcvbn-cpp.SlackBuild

12
l/zxcvbn-cpp/zxcvbn-cpp-autoconfiscate.diff

@ -79,10 +79,10 @@ index 0000000..1620cda
+ adjacency_graphs.cpp
diff --git a/native-src/zxcvbn/configure.ac b/native-src/zxcvbn/configure.ac
new file mode 100644
index 0000000..ea8f8d8
index 0000000..4c88e16
--- /dev/null
+++ b/native-src/zxcvbn/configure.ac
@@ -0,0 +1,28 @@
@@ -0,0 +1,36 @@
+dnl Configure template for the zxcvbn C++ library
+
+AC_INIT([zxcvbncpp], [0.1.0], [rian@alum.mit.edu])
@ -109,6 +109,14 @@ index 0000000..ea8f8d8
+AC_SUBST(ZXCVBNCPP_LT_AGE)
+AC_SUBST(ZXCVBNCPP_LT_REVISION)
+
+AC_ARG_ENABLE([debug],
+ [AS_HELP_STRING([--enable-debug],
+ [Compile with debugging support])],
+ [], [enable_debug=no])
+AS_IF([test "x$enable_debug" != xyes],
+ [AC_DEFINE([NDEBUG], [1])],
+ [CPPFLAGS="${CPPFLAGS} -g -O0"])
+
+AC_CONFIG_FILES([Makefile zxcvbncpp.pc])
+AC_OUTPUT
diff --git a/native-src/zxcvbn/zxcvbncpp.pc.in b/native-src/zxcvbn/zxcvbncpp.pc.in

2
l/zxcvbn-cpp/zxcvbn-cpp.SlackBuild

@ -36,7 +36,7 @@ REPO=${REPO:-https://github.com/rianhunter/zxcvbn-cpp.git}
# Build infos
NAMEPKG=${NAMEPKG:-zxcvbn-cpp}
BUILD=${BUILD:-2GGD}
BUILD=${BUILD:-3GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}

Loading…
Cancel
Save