summaryrefslogtreecommitdiff
path: root/packages/matrixssl
diff options
context:
space:
mode:
Diffstat (limited to 'packages/matrixssl')
-rw-r--r--packages/matrixssl/matrixssl.inc2
-rw-r--r--packages/matrixssl/matrixssl_1.1.1.bb7
2 files changed, 5 insertions, 4 deletions
diff --git a/packages/matrixssl/matrixssl.inc b/packages/matrixssl/matrixssl.inc
index 5f6bf43a9e..bb6b8e0bdc 100644
--- a/packages/matrixssl/matrixssl.inc
+++ b/packages/matrixssl/matrixssl.inc
@@ -1,5 +1,5 @@
def define_os (d):
import bb
- if bb.data.getVar('TARGET_OS', d).startswith('linux'):
+ if bb.data.getVar('TARGET_OS', d, 1).startswith('linux'):
return "-DLINUX"
return ""
diff --git a/packages/matrixssl/matrixssl_1.1.1.bb b/packages/matrixssl/matrixssl_1.1.1.bb
index 09df504a8b..60f1bb423f 100644
--- a/packages/matrixssl/matrixssl_1.1.1.bb
+++ b/packages/matrixssl/matrixssl_1.1.1.bb
@@ -1,13 +1,14 @@
DESCRIPTION = "A secure sockets library"
SECTION = "libs"
LICENSE = "GPL"
-
-SRC_URI = "http://openembedded.org/dl/matrixssl-1-1-1.tar.gz \
+PR = "r1"
+SRC_URI = "http://wiki.openembedded.org/dl/matrixssl-${PV}.tar.gz \
file://cross.patch;patch=1"
S = "${WORKDIR}/matrixssl/src"
require matrixssl.inc
-CFLAGS += " ${@define_os(d)}"
+
+CFLAGS_append = " ${@define_os(d)}"
do_install () {
install -d ${D}${includedir}