Ticket #35818: Portfile.diff
File Portfile.diff, 2.2 KB (added by lockhart (Thomas Lockhart), 12 years ago) |
---|
-
Portfile
old new 6 6 7 7 name py-omniORBpy 8 8 version 3.6 9 revision 09 revision 1 10 10 categories-append devel 11 11 license LGPL-2.1 12 12 platforms darwin 13 13 supported_archs i386 x86_64 14 14 15 15 maintainers stromnov openmaintainer 16 17 16 description Python bindings for omniORB 18 19 17 long_description omniORB is a robust high performance CORBA ORB for C++ and \ 20 18 Python. omniORB is largely CORBA 2.6 compliant. 21 22 homepage http://omniorb.sourceforge.net/ 19 homepage http://omniorb.sourceforge.net/ 23 20 master_sites sourceforge:project/omniorb/omniORBpy/omniORBpy-${version} 24 21 25 22 distname omniORBpy-${version} … … 48 45 49 46 patchfiles patch-dir.mk 50 47 48 use_configure yes 49 50 # Exactly the same as the post-patch for omniORB 51 51 post-patch { 52 # python libraries (PYTHON_PREFIX) 52 reinplace "s|\\(\$(CXXLINKOPTIONS)\\)|\\1 [get_canonical_archflags cc]|g" \ 53 ${worksrcpath}/mk/beforeauto.mk.in 54 55 # reinplace "s|,prefix=\'\$PYTHON_PREFIX\'||g" ${worksrcpath}/configure 53 56 reinplace "s|get_python_lib(0,\[^)\]*)|get_python_lib()|g" \ 54 57 ${worksrcpath}/configure 55 # compiled libraries to support python (PYTHON_EXEC_PREFIX)58 # reinplace "s|,prefix=\'\$PYTHON_EXEC_PREFIX\'||g" ${worksrcpath}/configure 56 59 reinplace "s|get_python_lib(1,\[^)\]*)|get_python_lib()|g" \ 57 60 ${worksrcpath}/configure 61 if {[variant_isset universal]} { 62 # system "cd ${worksrcpath} && ed - ./include/omniconfig.h.in < ${filespath}/include_omniconfig.h.in.ed" 63 } 58 64 } 59 65 60 use_configure yes66 configure.args-append PYTHON=${python.bin} 61 67 62 68 build.type gnu 63 69 build.cmd make … … 73 79 configure.args-append --with-openssl 74 80 depends_lib-append port:openssl 75 81 } 76 77 82 livecheck.type none 78 83 } else { 79 84 livecheck.type regex