diff options
author | 2006-01-31 01:18:37 +0000 | |
---|---|---|
committer | 2006-01-31 01:18:37 +0000 | |
commit | e5640dc61289116d0e93b7936ffaa1694f67181c (patch) | |
tree | ab7bba4c4dd982b27559d9c514ff184b3a07f0a8 /dev-libs/matrixssl/files | |
parent | old (diff) | |
download | historical-e5640dc61289116d0e93b7936ffaa1694f67181c.tar.gz historical-e5640dc61289116d0e93b7936ffaa1694f67181c.tar.bz2 historical-e5640dc61289116d0e93b7936ffaa1694f67181c.zip |
Version bump.
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'dev-libs/matrixssl/files')
-rw-r--r-- | dev-libs/matrixssl/files/digest-matrixssl-1.7.3 | 3 | ||||
-rw-r--r-- | dev-libs/matrixssl/files/matrixssl-1.7.3-build.patch | 43 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-libs/matrixssl/files/digest-matrixssl-1.7.3 b/dev-libs/matrixssl/files/digest-matrixssl-1.7.3 new file mode 100644 index 000000000000..7e85f22b95cb --- /dev/null +++ b/dev-libs/matrixssl/files/digest-matrixssl-1.7.3 @@ -0,0 +1,3 @@ +MD5 b80faff3e389000b9a161dda4812112d matrixssl-1-7-3-open.tar.gz 346585 +RMD160 9fe0061ceb9c03a51335fd96b41416df8fd68949 matrixssl-1-7-3-open.tar.gz 346585 +SHA256 66b60065eb1cc3fc6d98cb161b50ceef4eb48bdccdc919b6773d9bf5b6e44b28 matrixssl-1-7-3-open.tar.gz 346585 diff --git a/dev-libs/matrixssl/files/matrixssl-1.7.3-build.patch b/dev-libs/matrixssl/files/matrixssl-1.7.3-build.patch new file mode 100644 index 000000000000..f8944f686230 --- /dev/null +++ b/dev-libs/matrixssl/files/matrixssl-1.7.3-build.patch @@ -0,0 +1,43 @@ +Respect host build env + +--- matrixssl/src/Makefile ++++ matrixssl/src/Makefile +@@ -51,5 +51,6 @@ + else + #DFLAGS = -Os +-DFLAGS = -O3 ++DFLAGS := $(CFLAGS) ++STRIP = test + endif + +@@ -62,6 +63,6 @@ + # Override variables for compilation on x86-64 (AMD64, Nacona, etc) + # +-ifeq ($(shell uname -m),x86_64) +-DFLAGS += -march=k8 -fPIC -DFP_64BIT -DTFM_X86_64 -DRDTSC ++ifeq ($(findstring x86_64-,$(CHOST)),x86_64-) ++DFLAGS += -fPIC -DFP_64BIT -DTFM_X86_64 -DRDTSC + endif + +@@ -69,17 +70,17 @@ + # Compile options + # +-SHARED = -shared ++SHARED = -shared -Wl,-soname=$(LIBRARY) + CFLAGS = $(DFLAGS) -DLINUX -I./ +-LDFLAGS = -lc -lpthread ++LDFLAGS += -lc -lpthread + + # + # Override variables for compilation on Mac OS X (Darwin) + # +-ifeq ($(shell uname),Darwin) ++ifeq ($(findstring -darwin,$(CHOST)),-darwin) + CC = cc + SO = .dylib + SHARED = -dynamiclib + CFLAGS += -DOSX -isystem -I/usr/include +-LDFLAGS = -flat_namespace -install_name @executable_path/../src/$(LIBRARY) ++LDFLAGS += -flat_namespace -install_name @executable_path/../src/$(LIBRARY) + STRIP = test + endif |