diff options
author | arved <arved@FreeBSD.org> | 2006-03-17 16:15:15 +0000 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2006-03-17 16:15:15 +0000 |
commit | 306750562da8c82e0c479a26625ffb2de75c8bf3 (patch) | |
tree | 3d07c03c5ef441b79f0e79373620569ec6fdc053 /security/matrixssl | |
parent | 0ef9a1bec3cb7cc0fda5580f7535e2039e27ba9a (diff) | |
download | FreeBSD-ports-306750562da8c82e0c479a26625ffb2de75c8bf3.zip FreeBSD-ports-306750562da8c82e0c479a26625ffb2de75c8bf3.tar.gz |
Fix build on amd64
Diffstat (limited to 'security/matrixssl')
-rw-r--r-- | security/matrixssl/files/patch-Makefile | 53 |
1 files changed, 49 insertions, 4 deletions
diff --git a/security/matrixssl/files/patch-Makefile b/security/matrixssl/files/patch-Makefile index 13742da..f3726d4 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) + |