From d9e7e6ea6931272b46cabbaa189b5eefe99e246d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 28 Oct 2010 03:58:02 +0200 Subject: [PATCH] OpenRC: add path to make it build with GNU make 3.82. --- srcpkgs/OpenRC/patches/make_3.82_fix.diff | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 srcpkgs/OpenRC/patches/make_3.82_fix.diff diff --git a/srcpkgs/OpenRC/patches/make_3.82_fix.diff b/srcpkgs/OpenRC/patches/make_3.82_fix.diff new file mode 100644 index 00000000000..a88b8a6b771 --- /dev/null +++ b/srcpkgs/OpenRC/patches/make_3.82_fix.diff @@ -0,0 +1,12 @@ +--- pkgconfig/Makefile.orig 2010-10-28 03:47:39.000000000 +0200 ++++ pkgconfig/Makefile 2010-10-28 03:48:00.000000000 +0200 +@@ -2,7 +2,8 @@ DIR= ${LIBDIR}/pkgconfig + SRCS= einfo.pc.in openrc.pc.in + INC= einfo.pc openrc.pc + +-sed -n -e 's/^VERSION=[[:space:]]*\([^[:space:]]*\).*/#define VERSION "\1${GITVER}\"/p' ../../Makefile > version.h ++all: ++ sed -n -e 's/^VERSION=[[:space:]]*\([^[:space:]]*\).*/#define VERSION "\1${GITVER}\"/p' ../Makefile.inc > version.h + + SED_EXTRA= -e 's:@VERSION@:${VERSION}:g' +