]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
m4: Clean up naoki-makefile.
authorSchantl Stefan <Stevee@ipfire.org>
Sun, 14 Mar 2010 20:31:35 +0000 (21:31 +0100)
committerSchantl Stefan <Stevee@ipfire.org>
Sun, 14 Mar 2010 20:31:35 +0000 (21:31 +0100)
pkgs/core/m4/m4.nm

index 0f1d59e68c6e2a5b1370d1d4318535b20811bd63..de8c55f073d0ed6ed84d5573448d142b88ba782c 100644 (file)
@@ -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