[130893] trunk/dports/devel/openssl

jeremyhu at macports.org jeremyhu at macports.org
Sat Jan 3 16:15:50 PST 2015


Revision: 130893
          https://trac.macports.org/changeset/130893
Author:   jeremyhu at macports.org
Date:     2015-01-03 16:15:50 -0800 (Sat, 03 Jan 2015)
Log Message:
-----------
openssl: Build in parallel

Modified Paths:
--------------
    trunk/dports/devel/openssl/Portfile

Added Paths:
-----------
    trunk/dports/devel/openssl/files/patch-Makefile.org-parallel.diff

Modified: trunk/dports/devel/openssl/Portfile
===================================================================
--- trunk/dports/devel/openssl/Portfile	2015-01-04 00:01:57 UTC (rev 130892)
+++ trunk/dports/devel/openssl/Portfile	2015-01-04 00:15:50 UTC (rev 130893)
@@ -39,6 +39,7 @@
 depends_lib         port:zlib
 
 patchfiles          patch-Makefile.org.diff patch-crypto-Makefile.diff \
+                    patch-Makefile.org-parallel.diff \
                     patch-bn_internal.pod.diff patch-Configure.diff
 
 post-patch {
@@ -54,8 +55,6 @@
 configure.args      -L${prefix}/lib --openssldir=${prefix}/etc/openssl zlib no-krb5 shared
 configure.ccache    no
 
-use_parallel_build  no
-
 destroot.destdir    INSTALL_PREFIX=${destroot}
 destroot.args       MANDIR=${prefix}/share/man MANSUFFIX=ssl
 

Added: trunk/dports/devel/openssl/files/patch-Makefile.org-parallel.diff
===================================================================
--- trunk/dports/devel/openssl/files/patch-Makefile.org-parallel.diff	                        (rev 0)
+++ trunk/dports/devel/openssl/files/patch-Makefile.org-parallel.diff	2015-01-04 00:15:50 UTC (rev 130893)
@@ -0,0 +1,44 @@
+--- Makefile.org.orig	2014-11-02 13:11:04.000000000 -0800
++++ Makefile.org	2014-11-02 13:35:46.000000000 -0800
+@@ -274,15 +274,15 @@ build_libs: build_crypto build_ssl build
+ 
+ build_crypto:
+ 	@dir=crypto; target=all; $(BUILD_ONE_CMD)
+-build_ssl:
++build_ssl: build_crypto
+ 	@dir=ssl; target=all; $(BUILD_ONE_CMD)
+-build_engines:
++build_engines: build_crypto
+ 	@dir=engines; target=all; $(BUILD_ONE_CMD)
+-build_apps:
++build_apps: build_libs
+ 	@dir=apps; target=all; $(BUILD_ONE_CMD)
+-build_tests:
++build_tests: build_libs
+ 	@dir=test; target=all; $(BUILD_ONE_CMD)
+-build_tools:
++build_tools: build_libs
+ 	@dir=tools; target=all; $(BUILD_ONE_CMD)
+ 
+ all_testapps: build_libs build_testapps
+@@ -538,9 +538,9 @@ dist:   
+ dist_pem_h:
+ 	(cd crypto/pem; $(MAKE) -e $(BUILDENV) pem.h; $(MAKE) clean)
+ 
+-install: all install_docs install_sw
++install: install_docs install_sw
+ 
+-install_sw:
++install_sw: build_all openssl.pc libssl.pc libcrypto.pc
+ 	@$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/bin \
+ 		$(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR) \
+ 		$(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines \
+@@ -634,7 +634,7 @@ install_html_docs:
+ 		done; \
+ 	done
+ 
+-install_docs:
++install_docs: build_all
+ 	@$(PERL) $(TOP)/util/mkdir-p.pl \
+ 		$(INSTALL_PREFIX)$(MANDIR)/man1 \
+ 		$(INSTALL_PREFIX)$(MANDIR)/man3 \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150103/8ecf50d4/attachment.html>


More information about the macports-changes mailing list