summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2005-12-20 19:51:23 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-12-20 19:51:23 +0000
commita4a5db14be65dbf5daa1d7c4068ac71fb160d327 (patch)
tree644141f395d33a29f2a3088ec7c2ba1ef33ee4d1
parentdad684d8f6b68397817fbd4d4990699cbc33d3ad (diff)
openswan-2.2.0: fix makefile for make 3.81beta
-rw-r--r--packages/openswan/openswan-2.2.0/makefile-whitespace-fix.patch11
-rw-r--r--packages/openswan/openswan_2.2.0.bb1
2 files changed, 12 insertions, 0 deletions
diff --git a/packages/openswan/openswan-2.2.0/makefile-whitespace-fix.patch b/packages/openswan/openswan-2.2.0/makefile-whitespace-fix.patch
new file mode 100644
index 0000000000..e54ff1c63a
--- /dev/null
+++ b/packages/openswan/openswan-2.2.0/makefile-whitespace-fix.patch
@@ -0,0 +1,11 @@
+--- openswan-2.2.0/programs/Makefile.program.orig 2005-12-17 17:15:13 +0100
++++ openswan-2.2.0/programs/Makefile.program 2005-12-17 17:15:36 +0100
+@@ -114,7 +110,7 @@
+ endif
+
+ # cancel the rule that compiles directly
+-%: %.c
++%: %.c
+
+ %: %.o $(OBJS) $(OPENSWANLIB)
+ $(CC) $(CFLAGS) -o $@ $@.o ${OBJS} $(LDFLAGS) $(LIBS)
diff --git a/packages/openswan/openswan_2.2.0.bb b/packages/openswan/openswan_2.2.0.bb
index 5246b0044a..3087b21ec3 100644
--- a/packages/openswan/openswan_2.2.0.bb
+++ b/packages/openswan/openswan_2.2.0.bb
@@ -12,6 +12,7 @@ PR = "r4"
SRC_URI = "http://www.openswan.org/download/openswan-${PV}.tar.gz \
file://openswan-2.2.0-gentoo.patch;patch=1 \
file://gcc4-fixes.patch;patch=1 \
+ file://makefile-whitespace-fix.patch;patch=1 \
file://ld-library-path-breakage.patch;patch=1"
S = "${WORKDIR}/openswan-${PV}"