From patchwork Mon Jun 11 17:20:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 164231 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 830A3B6FAC for ; Tue, 12 Jun 2012 03:33:30 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D021E32C87; Mon, 11 Jun 2012 17:33:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SCf42tRTvCtE; Mon, 11 Jun 2012 17:33:27 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 17DFC32C7C; Mon, 11 Jun 2012 17:33:27 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 20B058F78E for ; Mon, 11 Jun 2012 17:33:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C7D4689F9F for ; Mon, 11 Jun 2012 17:33:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7DqvTXGkLbxl for ; Mon, 11 Jun 2012 17:33:11 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from loknar.toptech.com.ar (loknar.toptech.com.ar [74.118.36.95]) by whitealder.osuosl.org (Postfix) with ESMTPS id C6808916D3 for ; Mon, 11 Jun 2012 17:20:51 +0000 (UTC) Received: from asgard (host122.186-109-203.telecom.net.ar [186.109.203.122]) (authenticated bits=0) by loknar.toptech.com.ar (8.14.5/8.14.5) with ESMTP id q5BHKjFE029215 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 11 Jun 2012 14:20:47 -0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1339435249; bh=uNi7IZkxvN17O+XjiQyTyebAVARakxGozh3+Ow73zsg=; h=From:To:Cc:Subject:Date:Message-Id; b=oiP+eP46C91RG2/b1nd838Zh5rowoIlucE1r/Bf2/TD0uegqOHga2lLO7nBUkY9ih hQPQB5kKndjR+QU0RlnS9IhvBGdyqP98LoCZDdNqvi370FYO9Z3voGjDT1CLJTgpj1 pe9Uz3+yc6dCkwTJcJoSBOiIsdx0okroVy6rFPgg= Received: by asgard (sSMTP sendmail emulation); Mon, 11 Jun 2012 14:20:39 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Mon, 11 Jun 2012 14:20:39 -0300 Message-Id: <1339435239-9581-1-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.7.3.4 X-Virus-Scanned: clamav-milter 0.97.3 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCH] pppd: fix plugin search path X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Fix the plugin search path by passing a --prefix to configure. DESTDIR is used in the source code for the search path of plugins (DESTDIR/lib/pppd/VERSION). Since DESTDIR defaults to /usr/local we get the search path wrong so the 'plugin' directive requires a full pathspec to the plugin rather than the .so name, which isn't nice or portable. Signed-off-by: Gustavo Zacarias --- package/pppd/pppd.mk | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/package/pppd/pppd.mk b/package/pppd/pppd.mk index 2137f6a..a62f495 100644 --- a/package/pppd/pppd.mk +++ b/package/pppd/pppd.mk @@ -26,7 +26,7 @@ endif define PPPD_CONFIGURE_CMDS $(SED) 's/FILTER=y/#FILTER=y/' $(PPPD_DIR)/pppd/Makefile.linux $(SED) 's/ifneq ($$(wildcard \/usr\/include\/pcap-bpf.h),)/ifdef FILTER/' $(PPPD_DIR)/*/Makefile.linux - ( cd $(@D); ./configure ) + ( cd $(@D); ./configure --prefix=/usr ) endef define PPPD_BUILD_CMDS