summaryrefslogtreecommitdiff
path: root/package/dropbear/Makefile
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2012-01-12 19:36:28 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2012-01-15 11:05:20 +0100
commit9616461df02f2ae50466a67926cf89c0577ae748 (patch)
treeb0da7ca618eb6700b51eb07f5a9464f45f1ac2c3 /package/dropbear/Makefile
parente696319db107c0cf30d0e8f97ab98ce71583bf7a (diff)
package/dropbear: fix utmp support flavour
- NEVER give --enable-utmp, it does the opposite of what you think it does - specify conf_utmp_location as variable to configure, so it doesn't search the build system for it's location - utmp support without pututline is totally broken
Diffstat (limited to 'package/dropbear/Makefile')
-rw-r--r--package/dropbear/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/package/dropbear/Makefile b/package/dropbear/Makefile
index 917edb016..1fdab9501 100644
--- a/package/dropbear/Makefile
+++ b/package/dropbear/Makefile
@@ -35,13 +35,12 @@ CONFIGURE_ARGS+= --disable-pam \
--disable-wtmp \
--disable-wtmpx \
--disable-loginfunc \
- --disable-pututline \
--disable-pututxline \
--disable-zlib
ifeq (${ADK_PACKAGE_DROPBEAR_WITH_UTMP},)
-CONFIGURE_ARGS+= --disable-utmp
+CONFIGURE_ARGS+= --disable-utmp --disable-pututline
else
-CONFIGURE_ARGS+= --enable-utmp
+CONFIGURE_ENV+= conf_utmp_location=/var/run/utmp
endif
pre-configure: