From patchwork Thu Dec 13 20:59:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1013147 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="i+Xn/9uj"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43G5fm1V35z9sC7 for ; Fri, 14 Dec 2018 08:00:16 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id AD16A85F30; Thu, 13 Dec 2018 21:00:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e6xSyknXTamB; Thu, 13 Dec 2018 21:00:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6CE4385AE9; Thu, 13 Dec 2018 21:00:13 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id E6F981BF3B8 for ; Thu, 13 Dec 2018 21:00:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id E4B40872F8 for ; Thu, 13 Dec 2018 21:00:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hzEzYBnOvvwV for ; Thu, 13 Dec 2018 21:00:05 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by hemlock.osuosl.org (Postfix) with ESMTPS id D052A868C2 for ; Thu, 13 Dec 2018 21:00:03 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id 96so3418811wrb.2 for ; Thu, 13 Dec 2018 13:00:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=TF5HVqSR4iyZumWL9ltd8Ko7njbnzJTA1PyQ2zpG2aY=; b=i+Xn/9ujBzalu0g37cxlNhwP/J0fLsTwq6Tt2upKBvQ94TuglLT7ej0Y7Sh1RsdFW+ QwE8YVKsvfOmG0HoKhVNiwjZss8SovCo0xQYbjd8BB/Oo5seGSLE4LML33aNMFW3v9bC YmWrDUPrXVW0lKJhO0l3E0hZAFVJKpdXvBLHCRCx4w6BXfJilFj9KjqOMBpV8nXuwair qmEi7GNJwkZWVP+bRn38LiR4OdlfmbkveooVj2BIoMMDr+rKlYuW5wZgK1ewRS9Tkvr8 8bSY9hYV2Wpd7TaOmK51Gp7eTR2bzgQCUXwozu/h14St4DG46rtu7lweSmeQRHhBq+en qRHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=TF5HVqSR4iyZumWL9ltd8Ko7njbnzJTA1PyQ2zpG2aY=; b=rT5vN7eDM/iNvC2rYdaZQWbY6tPxgItFElBDLqz0HBXfRyQ+oVQzkac4wd+E6d7fSH W6gnoj9B/Xx96ScIHoHvyQ9d19ZNn5zlVUO1oKT0B3DPJ2Px/i4RraXJz3GhlRnO5Y0u +EBemIOOAdTm02PqwaFp9J3QjaD2l+XYc06IgjSzSpXIMonNWtbQJPFUELLGR7ae0yqB FnhrJiIUlW4AxDggpppF9qGr3kG6iMagMpSIWnNRUzvK4cTH8hVAsWsVL0mbdy4BzdV4 1uXbJLDcpCXd6zbAze1SJS4ARVbLWVffPg8MoIFY/hL3guCt+y6tLfZ1IyDy0ZFV/ous pK5Q== X-Gm-Message-State: AA+aEWYfoWvifUd5EdDYhxRuiPi7P/XA6cFcgfhYMcs4mNR0n++8hQWD sYrG5n43/FWt/jV9REwbVsX+fxcx X-Google-Smtp-Source: AFSGD/ViNK/fClUIH0Ii23rpxnFiKY5lSyXzJuLYuS6/alV80pKxkcbPlsavtaq5ykZpNJojUiiu/w== X-Received: by 2002:adf:dfd1:: with SMTP id q17mr298554wrn.27.1544734801879; Thu, 13 Dec 2018 13:00:01 -0800 (PST) Received: from localhost.localdomain ([80.12.33.74]) by smtp.gmail.com with ESMTPSA id i13sm1887328wrw.32.2018.12.13.13.00.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Dec 2018 13:00:01 -0800 (PST) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Thu, 13 Dec 2018 21:59:52 +0100 Message-Id: <20181213205952.29015-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.14.1 Subject: [Buildroot] [PATCH 1/1] xapp_beforelight: fix build with pkgconf 1.5.3 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bernd Kuhls , Fabrice Fontaine MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Since the bump to 1.5.3, pkgconf prepends the sysroot to all absolute paths found in the .pc file. This is correct when the paths refer to something in STAGING_DIR (e.g. libdir, includedir), but not when it refers to something used for the target. xapp_beforelight uses the appdefaultdir variable from xt.pc to decide where to install things. Since DESTDIR is prepended to the install destination, this will end up in the wrong location. Until a better solution is found in pkgconf, pass the appdefaultdir to use explicitly instead of relying on xt.pc. Fixes: - http://autobuild.buildroot.org/results/164bb80f261f48525de508b5f74321f2fec91cce Signed-off-by: Fabrice Fontaine --- package/x11r7/xapp_beforelight/xapp_beforelight.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/x11r7/xapp_beforelight/xapp_beforelight.mk b/package/x11r7/xapp_beforelight/xapp_beforelight.mk index b39fe7870e..7dcb715ef3 100644 --- a/package/x11r7/xapp_beforelight/xapp_beforelight.mk +++ b/package/x11r7/xapp_beforelight/xapp_beforelight.mk @@ -10,5 +10,6 @@ XAPP_BEFORELIGHT_SITE = http://xorg.freedesktop.org/releases/individual/app XAPP_BEFORELIGHT_LICENSE = MIT XAPP_BEFORELIGHT_LICENSE_FILES = COPYING XAPP_BEFORELIGHT_DEPENDENCIES = xlib_libX11 xlib_libXScrnSaver xlib_libXaw xlib_libXt +XAPP_BEFORELIGHT_CONF_OPTS = --with-appdefaultdir=/usr/share/X11/app-defaults $(eval $(autotools-package))