Ticket #35818: patch-omniORB-pyomniORB-4.2.0.diff
File patch-omniORB-pyomniORB-4.2.0.diff, 3.2 KB (added by pixilla (Bradley Giesbrecht), 10 years ago) |
---|
-
devel/omniORB/Portfile
4 4 PortSystem 1.0 5 5 6 6 name omniORB 7 version 4.1.6 8 revision 2 7 version 4.2.0 9 8 categories devel 10 9 platforms darwin 11 10 # executables are GPL, libs are LGPL … … 20 19 homepage http://omniorb.sourceforge.net/ 21 20 master_sites sourceforge:omniorb 22 21 23 checksums rmd160 a0ba42721a1932d29abeb37dff0dc3ea7a9ddce6\24 sha256 74 9c5e615130c804e40f4028104c1f98469613ff32a7f81562d06e669ba0b2c122 checksums rmd160 0f9c18c95df9718d3a3b960cf24e1732a851a23d \ 23 sha256 74c273fc997c2881b128feb52182dbe067acfecc4cf37475f43c104338eba8bc 25 24 26 25 use_bzip2 yes 27 26 -
python/py-omniORBpy/Portfile
5 5 PortGroup python 1.0 6 6 7 7 name py-omniORBpy 8 version 3.6 9 revision 0 8 version 4.2.0 10 9 categories-append devel 11 10 license LGPL-2.1 12 11 platforms darwin … … 24 23 25 24 distname omniORBpy-${version} 26 25 27 checksums rmd160 96b73cfcac7f2b8df2894c93b3e422bd85412251\28 sha256 b845eef13b56dfb47c98d65636ede5155ed4b84b2a64e35831b94668878af7c726 checksums rmd160 4359c1723126e74f06fadf9f24bc884819de7f85 \ 27 sha256 c82b3bafacbb93cfaace41765219155f2b24eb3781369bba0581feb1dc50fe5e 29 28 30 29 use_bzip2 yes 31 30 … … 36 35 # Ugly but it works. 37 36 38 37 python.versions 24 25 26 27 39 python.default_version 2 438 python.default_version 27 40 39 41 40 if {${name} ne ${subport}} { 41 42 PortGroup active_variants 1.1 43 require_active_variants omniORB python${python.version} 42 44 notes \ 43 45 "${name} must be compatible with the corresponding omniORB installation. 44 46 Ensure that the same python version has been specified for the omniORB variant." … … 48 50 49 51 patchfiles patch-dir.mk 50 52 53 use_configure yes 54 55 # Exactly the same as the post-patch for omniORB 51 56 post-patch { 52 # python libraries (PYTHON_PREFIX) 57 reinplace "s|\\(\$(CXXLINKOPTIONS)\\)|\\1 [get_canonical_archflags cc]|g" \ 58 ${worksrcpath}/mk/beforeauto.mk.in 59 60 # reinplace "s|,prefix=\'\$PYTHON_PREFIX\'||g" ${worksrcpath}/configure 53 61 reinplace "s|get_python_lib(0,\[^)\]*)|get_python_lib()|g" \ 54 62 ${worksrcpath}/configure 55 # compiled libraries to support python (PYTHON_EXEC_PREFIX)63 # reinplace "s|,prefix=\'\$PYTHON_EXEC_PREFIX\'||g" ${worksrcpath}/configure 56 64 reinplace "s|get_python_lib(1,\[^)\]*)|get_python_lib()|g" \ 57 65 ${worksrcpath}/configure 66 if {[variant_isset universal]} { 67 # system "cd ${worksrcpath} && ed - ./include/omniconfig.h.in < ${filespath}/include_omniconfig.h.in.ed" 68 } 58 69 } 59 70 60 use_configure yes71 configure.args-append PYTHON=${python.bin} 61 72 62 73 build.type gnu 63 74 build.cmd make