Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Fri, 9 Sep 2011, Michael Stahl wrote:

On 09.09.2011 21:28, Peter Foley wrote:
On Fri, 9 Sep 2011, Norbert Thiebaud wrote:

On Fri, Sep 9, 2011 at 11:20 AM, Peter Foley <pefoley2@verizon.net> wrote:


Without the ifeq and with SYSTEM_MESA_HEADERS=YES I got this error.

/root/libreoffice/slideshow/Library_OGLTrans.mk:66: *** gb_LinkTarget_use_external: unknown 
external: Mesa.  Stop.

what happen if you change the RepositoryExternal.mk part to

+ifeq ($(SYSTEM_MESA_HEADERS),YES)
+
+define gb_LinkTarget__use_Mesa
+endef
+
+else
+
+define gb_LinkTarget__use_Mesa
+$(eval $(call gb_LinkTarget_add_external_headers,$(1),Mesa_inc))
+
+endef
+
+endif
+

Norbert



I got the same error when SYSTEM_MESA_HEADERS=YES. But it worked when 
SYSTEM_MESA_HEADERS=NO.

the problem is this:

define gb_LinkTarget_use_external
$(if $(value gb_LinkTarget__use_$(2)),\
  $(call gb_LinkTarget__use_$(2),$(1)),\
  $(error gb_LinkTarget_use_external: unknown external: $(2)))
endef

the "if" is just intended to check that there actually is a variable
defined, but what it actually checks is whether there is a variable
defined that has a non-empty value.

until this Mesa case nobody noticed  :)

can you try the following patch:




Thanks, that worked. I'll send out a new patch shortly.

Peter

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.