From: Schantl Stefan Date: Sun, 14 Mar 2010 20:31:35 +0000 (+0100) Subject: m4: Clean up naoki-makefile. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5b118dd9b57d839c0caf112de93d4dde328fdd2;p=ipfire-3.x.git m4: Clean up naoki-makefile. --- diff --git a/pkgs/core/m4/m4.nm b/pkgs/core/m4/m4.nm index 0f1d59e68..de8c55f07 100644 --- a/pkgs/core/m4/m4.nm +++ b/pkgs/core/m4/m4.nm @@ -45,21 +45,8 @@ endef PKG_TARBALL = $(THISAPP).tar.bz2 -############################################################################### -# Installation Details -############################################################################### - -define STAGE_BUILD - # We need -D_GNU_SOURCE because this version of M4 has a bug in gnulib (or - # possibly autoconf) that doesn't recognise that we have asprintf() in libc. - cd $(DIR_APP) && \ - CPPFLAGS="-D_GNU_SOURCE" \ - gl_cv_func_printf_directive_n=no \ - ./configure \ - --prefix=/usr - - cd $(DIR_APP) && make $(PARALLELISMFLAGS) -endef +CONFIGURE_ENVIRONMENT += CPPFLAGS="-D_GNU_SOURCE" \ + gl_cv_func_printf_directive_n=no \ # fails #define STAGE_TEST