summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2006-07-06 14:55:19 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-07-06 14:55:19 +0000
commitd2ff879f1ef977b4aa9204f73c22af345ecdd737 (patch)
tree0170242e4f41c2f21e254761482e48105fa9d4cf
parentd9b77064129417d1800c7aca13fa255cbdec8c2c (diff)
ssmtp 2.61: Dont use -s to install so it doesn't attemp to use the host
strip during do_install. OE will take care of running the target strip during packaging.
-rw-r--r--packages/ssmtp/ssmtp-2.61/dont-strip.patch14
-rw-r--r--packages/ssmtp/ssmtp_2.61.bb1
2 files changed, 15 insertions, 0 deletions
diff --git a/packages/ssmtp/ssmtp-2.61/dont-strip.patch b/packages/ssmtp/ssmtp-2.61/dont-strip.patch
new file mode 100644
index 0000000000..5071633ad8
--- /dev/null
+++ b/packages/ssmtp/ssmtp-2.61/dont-strip.patch
@@ -0,0 +1,14 @@
+Don't try and strip ssmtp during install as this tries to run the native
+strip rather than strip for the target platform.
+
+--- ssmtp-2.61/Makefile.in 2006/07/04 04:43:06 1.1
++++ ssmtp-2.61/Makefile.in 2006/07/04 04:43:17
+@@ -48,7 +48,7 @@
+ .PHONY: install
+ install: ssmtp $(GEN_CONFIG)
+ $(INSTALL) -d -m 755 $(bindir)
+- $(INSTALL) -s -m 755 ssmtp $(bindir)/ssmtp
++ $(INSTALL) -m 755 ssmtp $(bindir)/ssmtp
+ $(INSTALL) -d -m 755 $(mandir)
+ $(INSTALL) -m 644 $(srcdir)/ssmtp.8 $(mandir)/ssmtp.8
+ $(INSTALL) -d -m 755 $(SSMTPCONFDIR)
diff --git a/packages/ssmtp/ssmtp_2.61.bb b/packages/ssmtp/ssmtp_2.61.bb
index 0f208da2df..6a4a94a0e3 100644
--- a/packages/ssmtp/ssmtp_2.61.bb
+++ b/packages/ssmtp/ssmtp_2.61.bb
@@ -9,6 +9,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/s/ssmtp/ssmtp_${PV}.orig.tar.gz \
file://ldflags.patch;patch=1 \
file://configure.patch;patch=1 \
file://libs-lcrypto.patch;patch=1 \
+ file://dont-strip.patch;patch=1 \
file://ssmtp.conf"
S = "${WORKDIR}/${PN}-2.61"
LICENSE = "GPL"