[28046] trunk/dports/iphone/iphone-openssl

source_changes at macosforge.org source_changes at macosforge.org
Sun Aug 19 01:02:16 PDT 2007


Revision: 28046
          http://trac.macosforge.org/projects/macports/changeset/28046
Author:   landonf at macports.org
Date:     2007-08-19 01:02:15 -0700 (Sun, 19 Aug 2007)

Log Message:
-----------
Build fixes

Modified Paths:
--------------
    trunk/dports/iphone/iphone-openssl/Portfile
    trunk/dports/iphone/iphone-openssl/files/patch-Makefile.org

Added Paths:
-----------
    trunk/dports/iphone/iphone-openssl/files/patch-Configure

Modified: trunk/dports/iphone/iphone-openssl/Portfile
===================================================================
--- trunk/dports/iphone/iphone-openssl/Portfile	2007-08-19 08:01:14 UTC (rev 28045)
+++ trunk/dports/iphone/iphone-openssl/Portfile	2007-08-19 08:02:15 UTC (rev 28046)
@@ -3,19 +3,21 @@
 PortSystem 1.0
 name			iphone-openssl
 version			0.9.7m
+revision		1
 platforms		darwin
 categories		iphone
 maintainers		landonf at macports.org openmaintainer at macports.org
 homepage		http://www.openssl.org/
-description		OpenSSL headers and libraries for iPhone cross-compilation
-long_description	${description}
+description		OpenSSL headers and link libraries for iPhone cross-compilation.
+long_description	${description}.
 
 master_sites		http://www.openssl.org/source/
 distname		openssl-${version}
 checksums		md5 74a4d1b87e1e6e1ec95dbe58cb4c5b9a \
 			sha1 546f6bcebdf72a633bad087469d3741a42f7b383 \
 			rmd160 fed13325d90ae4749d7ee858931d6925c3955614
-patchfiles		patch-Makefile.org
+patchfiles		patch-Makefile.org \
+			patch-Configure
 
 depends_lib		port:iphone-zlib
 depends_build		port:arm-apple-darwin-runtime \
@@ -23,8 +25,7 @@
 
 set iphone_prefix ${prefix}/arm-apple-darwin
 
-configure.env		PATH=${iphone_prefix}/bin:$env(PATH)
-configure.cmd		./config
+configure.cmd		./Configure darwin-arm-cc
 configure.pre_args	--prefix=${iphone_prefix}
 configure.args		--openssldir=${iphone_prefix}/etc/ssl \
 			zlib no-asm no-krb5 shared

Added: trunk/dports/iphone/iphone-openssl/files/patch-Configure
===================================================================
--- trunk/dports/iphone/iphone-openssl/files/patch-Configure	                        (rev 0)
+++ trunk/dports/iphone/iphone-openssl/files/patch-Configure	2007-08-19 08:02:15 UTC (rev 28046)
@@ -0,0 +1,10 @@
+--- Configure.orig	2007-08-18 02:13:00.000000000 -0700
++++ Configure	2007-08-18 02:13:13.000000000 -0700
+@@ -564,6 +564,7 @@
+ "rhapsody-ppc-cc","cc:-O3 -DB_ENDIAN::(unknown):MACOSX_RHAPSODY::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:::",
+ "darwin-ppc-cc","cc:-O3 -fomit-frame-pointer -DB_ENDIAN::-D_REENTRANT:MACOSX::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:asm/osx_ppc32.o:::::::::dlfcn:darwin-shared:-fPIC -fno-common::.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
+ "darwin-i386-cc","cc:-O3 -fomit-frame-pointer -fno-common::-D_REENTRANT:MACOSX::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:::::::::::darwin-shared:-fPIC::.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
++"darwin-arm-cc","arm-apple-darwin-cc:-O3 -fomit-frame-pointer -fno-common::-D_REENTRANT:MACOSX::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:::::::::::darwin-shared:-dynamic -fPIC::.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
+ 
+ ##### A/UX
+ "aux3-gcc","gcc:-O2 -DTERMIO::(unknown):AUX:-lbsd:RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:::",

Modified: trunk/dports/iphone/iphone-openssl/files/patch-Makefile.org
===================================================================
--- trunk/dports/iphone/iphone-openssl/files/patch-Makefile.org	2007-08-19 08:01:14 UTC (rev 28045)
+++ trunk/dports/iphone/iphone-openssl/files/patch-Makefile.org	2007-08-19 08:02:15 UTC (rev 28046)
@@ -8,8 +8,8 @@
 -		lib$$i.a $$libs -all_load -current_version ${SHLIB_MAJOR}.${SHLIB_MINOR} \
 -		-compatibility_version ${SHLIB_MAJOR}.`echo ${SHLIB_MINOR} | cut -d. -f1` \
 -		-install_name ${INSTALLTOP}/lib/lib$$i${SHLIB_EXT} ) || exit 1; \
-+		-dynamiclib -o lib$$i${SHLIB_EXT} \
-+		lib$$i.a $$libs ) || exit 1; \
++		-dynamiclib -o lib$$i${SHLIB_EXT} -Wl,all_load \
++		lib$$i.a $$libs -lz ) || exit 1; \
  	libs="-l`basename $$i${SHLIB_EXT} .dylib` $$libs"; \
  	echo "" ; \
  	done

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070819/89aa184e/attachment.html


More information about the macports-changes mailing list