From bb5dd2a7b0d07bca0d6f7945af641d57e1fcfc76 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 14 Dec 2010 00:46:06 +0100 Subject: [PATCH] dmidecode: add patch to make this build with newer gmake. --- srcpkgs/dmidecode/patches/fix_for_gmake.diff | 11 +++++++++++ srcpkgs/dmidecode/template | 1 + 2 files changed, 12 insertions(+) create mode 100644 srcpkgs/dmidecode/patches/fix_for_gmake.diff diff --git a/srcpkgs/dmidecode/patches/fix_for_gmake.diff b/srcpkgs/dmidecode/patches/fix_for_gmake.diff new file mode 100644 index 0000000000..4e725951f8 --- /dev/null +++ b/srcpkgs/dmidecode/patches/fix_for_gmake.diff @@ -0,0 +1,11 @@ +--- Makefile.orig 2010-12-14 00:44:40.207776131 +0100 ++++ Makefile 2010-12-14 00:44:44.599106588 +0100 +@@ -39,7 +39,7 @@ PROGRAMS += $(shell test `uname -m 2>/de + # BSD make doesn't understand the $(shell) syntax above, it wants the != + # syntax below. GNU make ignores the line below so in the end both BSD + # make and GNU make are happy. +-PROGRAMS != echo dmidecode ; test `uname -m 2>/dev/null` != ia64 && echo biosdecode ownership vpddecode ++#PROGRAMS != echo dmidecode ; test `uname -m 2>/dev/null` != ia64 && echo biosdecode ownership vpddecode + + all : $(PROGRAMS) + diff --git a/srcpkgs/dmidecode/template b/srcpkgs/dmidecode/template index d353667c80..ebd91794dd 100644 --- a/srcpkgs/dmidecode/template +++ b/srcpkgs/dmidecode/template @@ -19,4 +19,5 @@ long_desc=" slots (e.g. AGP, PCI, ISA) and memory module slots, and the list of I/O ports (e.g. serial, parallel, USB)." +disable_parallel_build=yes Add_dependency full glibc