./configure in psmisc 22.6 tested for a working C++ compiler and errored out if not found, even though psmisc doesn't need it - Fixed in 22.8. pstree.c uses __progname for pstree.x11 support, which isn't (per default) available in uclibc. This stuff isn't really critical, so just disable it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
24 lines
719 B
Makefile
24 lines
719 B
Makefile
#############################################################
|
|
#
|
|
# psmisc
|
|
#
|
|
#############################################################
|
|
PSMISC_VERSION:=22.8
|
|
PSMISC_SOURCE:=psmisc-$(PSMISC_VERSION).tar.gz
|
|
PSMISC_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/psmisc
|
|
PSMISC_AUTORECONF:=NO
|
|
PSMISC_INSTALL_STAGING:=NO
|
|
PSMISC_INSTALL_TARGET:=YES
|
|
PSMISC_CONF_ENV:=ac_cv_func_malloc_0_nonnull=yes \
|
|
ac_cv_func_realloc_0_nonnull=yes
|
|
PSMISC_CONF_OPT:= $(DISABLE_IPV6)
|
|
PSMISC_DEPENDENCIES:=ncurses
|
|
|
|
ifeq ($(BR2_ENABLE_LOCALE),y)
|
|
# psmisc gets confused and forgets to link with libintl
|
|
PSMISC_MAKE_OPT:=LIBS=-lintl
|
|
PSMISC_DEPENDENCIES+= gettext libintl
|
|
endif
|
|
|
|
$(eval $(call AUTOTARGETS,package,psmisc))
|