From patchwork Wed Nov 23 16:56:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Roger Pau Monne X-Patchwork-Id: 9443863 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EDA8C60778 for ; Wed, 23 Nov 2016 16:58:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 00C25205AB for ; Wed, 23 Nov 2016 16:58:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E6CDB26E1A; Wed, 23 Nov 2016 16:58:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 70682205AB for ; Wed, 23 Nov 2016 16:58:48 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9aqu-0006IA-NE; Wed, 23 Nov 2016 16:56:56 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9aqs-0006Ht-Ly for xen-devel@lists.xenproject.org; Wed, 23 Nov 2016 16:56:54 +0000 Received: from [85.158.137.68] by server-12.bemta-3.messagelabs.com id B7/02-28947-55AC5385; Wed, 23 Nov 2016 16:56:53 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprAIsWRWlGSWpSXmKPExsWyU9JRQjfklGm EwYw2G4vvWyYzOTB6HP5whSWAMYo1My8pvyKBNWP1k/usBbs4K543z2ZsYFzF0cXIySEh4Cfx fPs/JhCbTUBH4uLcnWxdjBwcIgIqErf3GoCEmQWKJb6u6mMFsYUFrCWuHTnKAmKzCKhKHGpYA NbKK2AhcfzYZWaIkboSt5ftYoeIC0qcnPmEBWKOpkTr9t/sELa8RPPW2WD1QgKKEv3zHrBB9K ZLbP37i3kCI+8sJO2zkLTPQtK+gJF5FaNGcWpRWWqRrpGhXlJRZnpGSW5iZo6uoYGxXm5qcXF iempOYlKxXnJ+7iZGYEjVMzAw7mDs2et3iFGSg0lJlPf0RtMIIb6k/JTKjMTijPii0pzU4kOM MhwcShK8bSeBcoJFqempFWmZOcDghklLcPAoifDagqR5iwsSc4sz0yFSpxgVpcR5y0ASAiCJj NI8uDZYRF1ilJUS5mVkYGAQ4ilILcrNLEGVf8UozsGoJMzLCjKFJzOvBG76K6DFTECLJb8Zgy wuSURISTUwhssUbqz0F9p8V/Ll3fsPAp7ylrefuml1cs+6E6tvhtezil6NFvzpU+d4X8E7Xj/ 2xffCbIEZyXtap1y+p6n6uOhowcl5B4yaj3vxL2AusvTrdOfdfXT1+33tdtyFNc153pH1E5TU l8uFKLgYu12wVwz4H2n0JG3pvl0tyQ8dz/dW+yYl8N9TYinOSDTUYi4qTgQAo0NmI6MCAAA= X-Env-Sender: prvs=128ba4e88=roger.pau@citrix.com X-Msg-Ref: server-15.tower-31.messagelabs.com!1479920212!68542630!1 X-Originating-IP: [185.25.65.24] X-SpamReason: No, hits=0.0 required=7.0 tests=UPPERCASE_25_50, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 9.0.16; banners=-,-,- X-VirusChecked: Checked Received: (qmail 55486 invoked from network); 23 Nov 2016 16:56:52 -0000 Received: from smtp.eu.citrix.com (HELO SMTP.EU.CITRIX.COM) (185.25.65.24) by server-15.tower-31.messagelabs.com with RC4-SHA encrypted SMTP; 23 Nov 2016 16:56:52 -0000 X-IronPort-AV: E=Sophos;i="5.31,539,1473120000"; d="scan'208";a="35491595" From: Roger Pau Monne To: Date: Wed, 23 Nov 2016 16:56:39 +0000 Message-ID: <20161123165639.3609-1-roger.pau@citrix.com> X-Mailer: git-send-email 2.9.3 (Apple Git-75) MIME-Version: 1.0 X-ClientProxiedBy: AMSPEX02CAS01.citrite.net (10.69.22.112) To AMSPEX02CL02.citrite.net (10.69.22.126) Cc: Wei Liu , Ian Jackson , Roger Pau Monne Subject: [Xen-devel] [PATCH] libxl: fix creation of pkgconf install dir X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP When PKG_INSTALLDIR was introduced the creation of the previous pkgconf install directory was not changed. Fix this by correctly using PKG_INSTALLDIR for the directory creation in libxl Makefile. Signed-off-by: Roger Pau Monné --- Cc: Ian Jackson Cc: Wei Liu --- Not sure whether this should be considered for 4.8. IMHO, it's a harmless fix for Linux (where PKG_INSTALLDIR is already $(SHAREDIR)/pkgconfig), but it might be more important for FreeBSD. --- tools/libxl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile index f5053a0..ef01785 100644 --- a/tools/libxl/Makefile +++ b/tools/libxl/Makefile @@ -308,7 +308,7 @@ install: all $(INSTALL_DIR) $(DESTDIR)$(includedir) $(INSTALL_DIR) $(DESTDIR)$(BASH_COMPLETION_DIR) $(INSTALL_DIR) $(DESTDIR)$(LIBEXEC_BIN) - $(INSTALL_DIR) $(DESTDIR)$(SHAREDIR)/pkgconfig + $(INSTALL_DIR) $(DESTDIR)$(PKG_INSTALLDIR) $(INSTALL_PROG) xl $(DESTDIR)$(sbindir) $(INSTALL_PROG) libxl-save-helper $(DESTDIR)$(LIBEXEC_BIN) $(INSTALL_SHLIB) libxenlight.so.$(MAJOR).$(MINOR) $(DESTDIR)$(libdir)