summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-11-09 23:28:43 +0000
committerRichard Purdie <rpurdie@rpsys.net>2006-11-09 23:28:43 +0000
commit090e64ce3914209a8d3cb2967974f7302daf7175 (patch)
tree78b256dadcf8a89dd076da86a09416cd189707ee
parent90c503e552ffe63e4704cb08e2bc3d64b3ed7eb8 (diff)
openswan: Add patch to workaround install flags causing build failures
-rw-r--r--packages/openswan/openswan-2.2.0/installflags.patch17
-rw-r--r--packages/openswan/openswan_2.2.0.bb1
2 files changed, 18 insertions, 0 deletions
diff --git a/packages/openswan/openswan-2.2.0/installflags.patch b/packages/openswan/openswan-2.2.0/installflags.patch
new file mode 100644
index 0000000000..837267d3e6
--- /dev/null
+++ b/packages/openswan/openswan-2.2.0/installflags.patch
@@ -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=
+
diff --git a/packages/openswan/openswan_2.2.0.bb b/packages/openswan/openswan_2.2.0.bb
index e1423d30b7..b1c5271b13 100644
--- a/packages/openswan/openswan_2.2.0.bb
+++ b/packages/openswan/openswan_2.2.0.bb
@@ -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}"