Prechádzať zdrojové kódy

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
Phil Sutter 12 rokov pred
rodič
commit
9616461df0
1 zmenil súbory, kde vykonal 2 pridanie a 3 odobranie
  1. 2 3
      package/dropbear/Makefile

+ 2 - 3
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: