Wrong _PATH_PRIVSEP_CHROOT_DIR: "/var/empty"
[termux-packages] / packages / elfutils / build.sh
index 859816e..4ce1985 100644 (file)
@@ -2,8 +2,8 @@ TERMUX_PKG_VERSION=0.166
 TERMUX_PKG_HOMEPAGE=https://fedorahosted.org/elfutils/
 TERMUX_PKG_DESCRIPTION="ELF object file access library"
 TERMUX_PKG_SRCURL=https://fedorahosted.org/releases/e/l/elfutils/${TERMUX_PKG_VERSION}/elfutils-${TERMUX_PKG_VERSION}.tar.bz2
-# For langinfo:
-TERMUX_PKG_DEPENDS="libandroid-support"
+# libandroid-support for langinfo.
+TERMUX_PKG_DEPENDS="libandroid-support, liblzma, libbz2"
 # Use "eu-" as program prefix to avoid conflict with binutils programs.
 # This is what several linux distributions do.
 TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--program-prefix='eu-'"
@@ -37,12 +37,3 @@ termux_step_pre_configure () {
         LDFLAGS+=" -L$TERMUX_PKG_TMPDIR/argp-standalone-1.3"
         CPPFLAGS+=" -isystem $TERMUX_PKG_TMPDIR/argp-standalone-1.3"
 }
-
-#termux_step_post_make_install () {
-#make install-includeHEADERS
-#}
-
-termux_step_post_massage () {
-        # Remove to avoid spurios linking to libelf (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=10648):
-        rm -f $TERMUX_PREFIX/lib/libelf*
-}