diff options
Diffstat (limited to 'package/screen/Makefile')
-rw-r--r-- | package/screen/Makefile | 8 |
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/ |