summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/openrc/files/openrc-0.6.2-fix-make-3.82.patch')
-rw-r--r--sys-apps/openrc/files/openrc-0.6.2-fix-make-3.82.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-apps/openrc/files/openrc-0.6.2-fix-make-3.82.patch b/sys-apps/openrc/files/openrc-0.6.2-fix-make-3.82.patch
new file mode 100644
index 000000000000..56bea9a2683c
--- /dev/null
+++ b/sys-apps/openrc/files/openrc-0.6.2-fix-make-3.82.patch
@@ -0,0 +1,14 @@
+diff --git a/pkgconfig/Makefile b/pkgconfig/Makefile
+index cdcf8be..4bf28cf 100644
+--- a/pkgconfig/Makefile
++++ b/pkgconfig/Makefile
+@@ -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
++.DEFAULT:
++ ${SED} -n -e 's/^VERSION=[[:space:]]*\([^[:space:]]*\).*/#define VERSION "\1${GITVER}\"/p' ../../Makefile > version.h
+
+ SED_EXTRA= -e 's:@VERSION@:${VERSION}:g'
+