From 0d475ec8a3dcc2b11e78730d64e135315181392f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= <slavek.banko@axis.cz>
Date: Fri, 24 May 2019 16:09:35 +0200
Subject: DEB adept: Disable build with --enable-final. Cleanup rules.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
---
 ubuntu/_base/applications/adept/debian/rules | 23 +++--------------------
 1 file changed, 3 insertions(+), 20 deletions(-)

(limited to 'ubuntu/_base/applications/adept/debian')

diff --git a/ubuntu/_base/applications/adept/debian/rules b/ubuntu/_base/applications/adept/debian/rules
index 82a27d5c8..e68cf457c 100755
--- a/ubuntu/_base/applications/adept/debian/rules
+++ b/ubuntu/_base/applications/adept/debian/rules
@@ -1,5 +1,8 @@
 #!/usr/bin/make -f
 
+# Currently is not possible to build piklab with --enable-final
+DEB_BUILD_OPTIONS += noopt
+
 include /usr/share/cdbs/1/rules/debhelper.mk
 include debian/cdbs/debian-tde.mk
 
@@ -19,23 +22,3 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
 # Enable us to locate the old libept-trinity library and includes
 CPPFLAGS += -I/opt/trinity/include
 LDFLAGS += -L/opt/trinity/lib -lept
-
-post-patches:: debian/stamp-bootstrap
-
-debian/stamp-bootstrap:
-ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
-	cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
-endif
-ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
-	cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
-endif
-ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
-	cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
-endif
-	cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
-	
-	make -f admin/Makefile.common cvs
-	touch debian/stamp-bootstrap
-
-# Store build information
-common-binary-post-install-arch common-binary-post-install-indep::
-- 
cgit v1.2.1