Ticket #48402: Portfile-nghttp2.diff
File Portfile-nghttp2.diff, 2.2 KB (added by Schamschula (Marius Schamschula), 9 years ago) |
---|
-
Portfile
old new 5 5 PortGroup cxx11 1.0 6 6 PortGroup github 1.0 7 7 8 github.setup tatsuhiro-t nghttp2 1.1.1 v 8 github.setup tatsuhiro-t nghttp2 1.1.2 v 9 set PythonVersion 2.7 9 10 categories www 10 11 platforms darwin 11 12 maintainers gmail.com:mschamschula openmaintainer … … 19 20 github.tarball_from releases 20 21 use_xz yes 21 22 22 checksums rmd160 52570dd747832bd151d34fa9c2b9e3ec232e485f\23 sha256 d36ba13066f4e0594c741a6448547f0b492e31043e0149bd39d2503854d6411c23 checksums rmd160 863f176b35b6b1ec7f2d77eea40383650b030606 \ 24 sha256 8bd4a1dde16bf82fbacfe26ba48f22f6758c2d38202e7a956e0d070372699237 24 25 25 26 depends_build port:pkgconfig 26 27 … … 37 38 configure.args --disable-silent-rules \ 38 39 --disable-threads 39 40 40 configure.env PYTHON=${prefix}/bin/python2.7 CYTHON=${prefix}/bin/cython-2.7\41 configure.env CYTHON=${prefix}/bin/cython-${PythonVersion} \ 41 42 JANSSON_CFLAGS=-I${prefix}/include JANSSON_LIBS="-L${prefix}/lib -ljansson" \ 42 43 LIBEVENT_OPENSSL_CFLAGS=-I${prefix}/include/event2 \ 43 44 LIBEVENT_OPENSSL_LIBS="-L${prefix}/lib -levent -levent_openssl" \ 44 45 OPENSSL_CFLAGS=-I${prefix}/include/openssl \ 45 46 OPENSSL_LIBS="-L${prefix}/lib -lcrypto -lssl" \ 46 PYTHON_EXTRA_LDFLAGS="-u _PyMac_Error ${frameworks_dir}/Python.framework/Versions/2.7/Python" 47 PYTHON=${prefix}/bin/python${PythonVersion} \ 48 PYTHON_EXTRA_LDFLAGS="-u _PyMac_Error ${frameworks_dir}/Python.framework/Versions/${PythonVersion}/Python" 49 50 # Patch to deal with https://github.com/tatsuhiro-t/nghttp2/issues/303 51 # Remove once this is fixed upstream. 52 patchfiles patch-python-Makefile.in.diff 47 53 48 54 destroot.env PYTHONPATH=${destroot}${prefix}/lib/python2.7/site-packages/ 49 55 50 56 pre-destroot { 51 xinstall -d ${destroot}${prefix}/lib/python 2.7/site-packages/57 xinstall -d ${destroot}${prefix}/lib/python${PythonVersion}/site-packages/ 52 58 }