summaryrefslogtreecommitdiff
path: root/package/screen/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-09-18 10:55:06 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-09-18 10:55:06 +0200
commit24bcf9338f60430dbb37c0392d2363aedf890fe8 (patch)
tree6406356bb7e9ff600eba4bcbe9992830ad8dd58d /package/screen/Makefile
parenta659b48c31fd5215fed44e4a8fb52260b9e20619 (diff)
fix musl compile, from sab0tage
Diffstat (limited to 'package/screen/Makefile')
-rw-r--r--package/screen/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/screen/Makefile b/package/screen/Makefile
index 0e63651cb..22a1bd6f3 100644
--- a/package/screen/Makefile
+++ b/package/screen/Makefile
@@ -21,6 +21,14 @@ $(eval $(call PKG_template,SCREEN,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PK
CONFIGURE_ENV+= $(foreach flag,rename fchmod fchown strerror lstat _exit utimes vsnprintf getcwd setlocale strftime,ac_cv_func_${flag}=yes)
CONFIGURE_ARGS+= --with-sys-screenrc=/etc/screenrc
+pre-build:
+ echo '#undef UTMPOK' >> ${WRKBUILD}/config.h
+ echo '#undef LOGINDEFAULT' >> ${WRKBUILD}/config.h
+ echo '#define LOGINDEFAULT 0' >> ${WRKBUILD}/config.h
+ echo '#undef GETUTENT' >> ${WRKBUILD}/config.h
+ echo '#undef UTHOST' >> ${WRKBUILD}/config.h
+ echo '#undef BUGGYGETLOGIN' >> ${WRKBUILD}/config.h
+
post-install:
${INSTALL_DIR} ${IDIR_SCREEN}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/screen ${IDIR_SCREEN}/usr/bin/