summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2017-06-03 17:39:58 +0200
committerTupone Alfredo <tupone@gentoo.org>2017-06-03 17:39:58 +0200
commit723b561794a285c6359bbe6b9a1dbfb43adce07f (patch)
tree7d57d68842aef396a4c7aa30233dcdf1969e948f /dev-ada
parentapp-text/poppler: fix build with jpeg or jpeg2k USE flags disabled (diff)
downloadgentoo-723b561794a285c6359bbe6b9a1dbfb43adce07f.tar.gz
gentoo-723b561794a285c6359bbe6b9a1dbfb43adce07f.tar.bz2
gentoo-723b561794a285c6359bbe6b9a1dbfb43adce07f.zip
dev-ada/gtkada: Enable verbose mode
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/gtkada/files/gtkada-2016-gentoo.patch23
1 files changed, 20 insertions, 3 deletions
diff --git a/dev-ada/gtkada/files/gtkada-2016-gentoo.patch b/dev-ada/gtkada/files/gtkada-2016-gentoo.patch
index e7e9b0b98c3..c740aab39ff 100644
--- a/dev-ada/gtkada/files/gtkada-2016-gentoo.patch
+++ b/dev-ada/gtkada/files/gtkada-2016-gentoo.patch
@@ -32,13 +32,13 @@
tools:
@echo "====== Building tools ====="
- ${GPRBUILD_FULL} -XLIBRARY_TYPE=$(LIBRARY_TYPE_FOR_TOOLS) -Psrc/tools/tools.gpr
-+ ${GPRBUILD_FULL} -XLIBRARY_TYPE=$(LIBRARY_TYPE_FOR_TOOLS) \
++ ${GPRBUILD_FULL} -v -XLIBRARY_TYPE=$(LIBRARY_TYPE_FOR_TOOLS) \
+ -Psrc/tools/tools.gpr -cargs:Ada $(ADAFLAGS)
build_library_type/%: src/gtkada-intl.adb
@echo "====== Building $(@F) libraries ====="
- ${GPRBUILD_FULL} -XLIBRARY_TYPE=$(@F) -Psrc/gtkada.gpr
-+ ${GPRBUILD_FULL} -XLIBRARY_TYPE=$(@F) -Psrc/gtkada.gpr \
++ ${GPRBUILD_FULL} -v -XLIBRARY_TYPE=$(@F) -Psrc/gtkada.gpr \
+ -cargs:Ada $(ADAFLAGS) -cargs:C $(CFLAGS)
ifeq (${HAVE_OPENGL}, True)
${GPRBUILD_FULL} -XLIBRARY_TYPE=$(@F) -Psrc/opengl/gtkada_gl.gpr
@@ -55,7 +55,7 @@
tests: testgtk/opengl/view_gl.adb
@echo "====== Building tests ====="
- cd testgtk; ${GPRBUILD_FULL} -XLIBRARY_TYPE=$(LIBRARY_TYPE_FOR_TOOLS) -Ptestgtk.gpr -aP ../src
-+ cd testgtk; ${GPRBUILD_FULL} -XLIBRARY_TYPE=$(LIBRARY_TYPE_FOR_TOOLS) \
++ cd testgtk; ${GPRBUILD_FULL} -v -XLIBRARY_TYPE=$(LIBRARY_TYPE_FOR_TOOLS) \
+ -Ptestgtk.gpr -aP ../src -cargs:Ada $(ADAFLAGS)
install/%: force
@@ -83,3 +83,20 @@
@echo '-----------------------------------------------------------------------'
@echo '-- GtkAda has now been installed. --'
+--- gtkada-gpl-2016-src/src/gtkada.gpr.old 2017-05-31 14:21:35.007965274 +0200
++++ gtkada-gpl-2016-src/src/gtkada.gpr 2017-05-31 14:23:16.597315577 +0200
+@@ -41,7 +41,13 @@
+ for Library_Name use "gtkada";
+ for Library_Version use
+ "lib" & Project'Library_Name & Shared.So_Ext & "." & Version;
+- for Library_Options use Shared.Gtk_Libs;
++
++ case Shared.Library_Kind is
++ when "relocatable" =>
++ for Library_Options use Shared.Gtk_Libs;
++ when others =>
++ null;
++ end case;
+
+ package Builder renames Shared.Builder;
+ package Naming renames Shared.Naming;