aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2006-03-17 16:15:15 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2006-03-17 16:15:15 +0000
commit605674f88fe5c0030fd245760142760725df1e23 (patch)
tree709bfc98cdba87d851d2a257f2f78cb69fbcbd3c
parentd63e3f2974f1d615a715546ca8975b67ad06ed82 (diff)
downloadports-605674f88fe5c0030fd245760142760725df1e23.tar.gz
ports-605674f88fe5c0030fd245760142760725df1e23.zip
Fix build on amd64
Notes
Notes: svn path=/head/; revision=157502
-rw-r--r--security/matrixssl/files/patch-Makefile53
1 files changed, 49 insertions, 4 deletions
diff --git a/security/matrixssl/files/patch-Makefile b/security/matrixssl/files/patch-Makefile
index 13742dae3fd5..f3726d4814ea 100644
--- a/security/matrixssl/files/patch-Makefile
+++ b/security/matrixssl/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig Fri Mar 17 16:30:14 2006
-+++ Makefile Fri Mar 17 16:31:40 2006
-@@ -5,7 +5,6 @@
+--- Makefile.orig Thu Aug 18 02:20:28 2005
++++ Makefile Fri Mar 17 17:06:22 2006
+@@ -5,11 +5,11 @@
# Copyright (c) PeerSec Networks, 2002-2005. All Rights Reserved.
#
@@ -8,7 +8,39 @@
STRIP = strip
AR = ar
RANLIB = ranlib
-@@ -69,8 +68,8 @@
+ O = .o
++SOBJ = .O
+ SO = .so
+ A = .a
+ E =
+@@ -37,6 +37,26 @@
+ pki/rsaPki$(O) \
+ pki/x509$(O)
+
++SOBJECTS = \
++ cipherSuite$(SOBJ) \
++ matrixSsl$(SOBJ) \
++ sslDecode$(SOBJ) \
++ sslEncode$(SOBJ) \
++ sslv3$(SOBJ) \
++ os/debug$(SOBJ) \
++ os/linux/linux$(SOBJ) \
++ crypto/peersec/arc4$(SOBJ) \
++ crypto/peersec/base64$(SOBJ) \
++ crypto/peersec/des3$(SOBJ) \
++ crypto/peersec/md5$(SOBJ) \
++ crypto/peersec/md2$(SOBJ) \
++ crypto/peersec/mpi$(SOBJ) \
++ crypto/peersec/rsa$(SOBJ) \
++ crypto/peersec/sha1$(SOBJ) \
++ pki/asn1$(SOBJ) \
++ pki/rsaPki$(SOBJ) \
++ pki/x509$(SOBJ)
++
+ #
+ # Debug flags (Define MATRIXSSL_DEBUG in shell to build debug)
+ # bash: export MATRIXSSL_DEBUG=1
+@@ -69,8 +89,8 @@
# Compile options
#
SHARED = -shared
@@ -19,3 +51,16 @@
#
# Override variables for compilation on Mac OS X (Darwin)
+@@ -110,7 +130,11 @@
+ #
+ # Build the library
+ #
+-$(LIBRARY): $(OBJECTS)
++%.O: %.c
++ $(CC) -c $(CFLAGS) -fPIC -o $@ $^
++
++
++$(LIBRARY): $(SOBJECTS)
+ $(CC) $(SHARED) -o $@ $^ $(LDFLAGS)
+ $(STRIP) $(LIBRARY)
+