openswan: Add patch to workaround install flags causing build failures
authorRichard Purdie <rpurdie@rpsys.net>
Thu, 9 Nov 2006 23:28:43 +0000 (23:28 +0000)
committerRichard Purdie <rpurdie@rpsys.net>
Thu, 9 Nov 2006 23:28:43 +0000 (23:28 +0000)
packages/openswan/openswan-2.2.0/installflags.patch [new file with mode: 0644]
packages/openswan/openswan_2.2.0.bb

diff --git a/packages/openswan/openswan-2.2.0/installflags.patch b/packages/openswan/openswan-2.2.0/installflags.patch
new file mode 100644 (file)
index 0000000..837267d
--- /dev/null
@@ -0,0 +1,17 @@
+---
+ Makefile.inc |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: openswan-2.2.0/Makefile.inc
+===================================================================
+--- openswan-2.2.0.orig/Makefile.inc   2006-11-06 23:06:33.000000000 +0000
++++ openswan-2.2.0/Makefile.inc        2006-11-08 20:16:26.000000000 +0000
+@@ -170,7 +170,7 @@ INSTALL=install
+ # how backup names are composed.
+ # Note that the install procedures will never overwrite an existing config
+ # file, which is why -b is not specified for them.
+-INSTBINFLAGS=-b --suffix=.old
++INSTBINFLAGS=
+ INSTMANFLAGS=
+ INSTCONFFLAGS=
index e1423d3..b1c5271 100644 (file)
@@ -11,6 +11,7 @@ PR = "r5"
 SRC_URI = "http://www.openswan.org/download/old/openswan-${PV}.tar.gz \
           file://openswan-2.2.0-gentoo.patch;patch=1 \
            file://gcc4-fixes.patch;patch=1 \
+           file://installflags.patch;patch=1 \
           file://makefile-whitespace-fix.patch;patch=1 \
           file://ld-library-path-breakage.patch;patch=1"
 S = "${WORKDIR}/openswan-${PV}"