diff options
-rw-r--r-- | meta-oe/recipes-support/imapfilter/imapfilter/ldflags.patch | 16 | ||||
-rw-r--r-- | meta-oe/recipes-support/imapfilter/imapfilter_2.6.16.bb | 6 |
2 files changed, 21 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/imapfilter/imapfilter/ldflags.patch b/meta-oe/recipes-support/imapfilter/imapfilter/ldflags.patch new file mode 100644 index 0000000000..ceda8394a7 --- /dev/null +++ b/meta-oe/recipes-support/imapfilter/imapfilter/ldflags.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | Append to LDFLAGS so it can respect the LDFLAGS passed from environment. This helps | ||
2 | with using propert GNU_HASH settings during link on mips/arm | ||
3 | |||
4 | Upstream-Status: Pending | ||
5 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
6 | --- a/src/Makefile | ||
7 | +++ b/src/Makefile | ||
8 | @@ -24,7 +24,7 @@ CFLAGS = -Wall -Wextra -O \ | ||
9 | -DCONFIG_SSL_CAPATH='"$(SSLCAPATH)"' \ | ||
10 | -DCONFIG_SSL_CAFILE='"$(SSLCAFILE)"' \ | ||
11 | $(INCDIRS) $(MYCFLAGS) | ||
12 | -LDFLAGS = $(LIBDIRS) $(MYLDFLAGS) | ||
13 | +LDFLAGS += $(LIBDIRS) $(MYLDFLAGS) | ||
14 | LIBS = -lm -ldl $(LIBLUA) $(LIBPCRE) $(LIBSSL) $(LIBCRYPTO) $(MYLIBS) | ||
15 | |||
16 | MAN1 = imapfilter.1 | ||
diff --git a/meta-oe/recipes-support/imapfilter/imapfilter_2.6.16.bb b/meta-oe/recipes-support/imapfilter/imapfilter_2.6.16.bb index 7d4e12dfb8..86553b5a8c 100644 --- a/meta-oe/recipes-support/imapfilter/imapfilter_2.6.16.bb +++ b/meta-oe/recipes-support/imapfilter/imapfilter_2.6.16.bb | |||
@@ -2,7 +2,9 @@ SUMMARY = "IMAPFilter is a mail filtering utility that processes mailboxes based | |||
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ccca8573ead8e965c130b6b2946a36ab" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ccca8573ead8e965c130b6b2946a36ab" |
4 | 4 | ||
5 | SRC_URI = "https://codeload.github.com/lefcha/${BPN}/tar.gz/v${PV};downloadfilename=v${PV}.tar.gz" | 5 | SRC_URI = "https://codeload.github.com/lefcha/${BPN}/tar.gz/v${PV};downloadfilename=${BP}.tar.gz \ |
6 | file://ldflags.patch \ | ||
7 | " | ||
6 | SRC_URI[sha256sum] = "90af9bc9875e03fb5a09a3233287b74dd817867cb18ec9ff52fead615755563e" | 8 | SRC_URI[sha256sum] = "90af9bc9875e03fb5a09a3233287b74dd817867cb18ec9ff52fead615755563e" |
7 | 9 | ||
8 | DEPENDS= "openssl lua libpcre" | 10 | DEPENDS= "openssl lua libpcre" |
@@ -15,3 +17,5 @@ do_install(){ | |||
15 | # No need for manuals at this point, MANDIR is hardcoded to depend on prefix | 17 | # No need for manuals at this point, MANDIR is hardcoded to depend on prefix |
16 | rm -rf ${D}${prefix}/man | 18 | rm -rf ${D}${prefix}/man |
17 | } | 19 | } |
20 | |||
21 | ASNEEDED = "" | ||