* [Buildroot] [PATCH] pppd: fix plugin search path
@ 2012-06-11 17:20 Gustavo Zacarias
2012-06-11 19:32 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Zacarias @ 2012-06-11 17:20 UTC (permalink / raw)
To: buildroot
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 <gustavo@zacarias.com.ar>
---
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
--
1.7.3.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] pppd: fix plugin search path
2012-06-11 17:20 [Buildroot] [PATCH] pppd: fix plugin search path Gustavo Zacarias
@ 2012-06-11 19:32 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2012-06-11 19:32 UTC (permalink / raw)
To: buildroot
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Fix the plugin search path by passing a --prefix to configure.
Gustavo> DESTDIR is used in the source code for the search path of plugins
Gustavo> (DESTDIR/lib/pppd/VERSION).
Gustavo> Since DESTDIR defaults to /usr/local we get the search path wrong so the
Gustavo> 'plugin' directive requires a full pathspec to the plugin rather than
Gustavo> the .so name, which isn't nice or portable.
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-06-11 19:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-11 17:20 [Buildroot] [PATCH] pppd: fix plugin search path Gustavo Zacarias
2012-06-11 19:32 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox