Ticket #49913: Portfile.diff
File Portfile.diff, 2.3 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 9 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 PortGroup github 1.0 6 6 7 github.setup anholt libepoxy 1.2 v 8 revision 1 7 github.setup anholt libepoxy 1.3.1 v 9 8 license MIT permissive 10 9 categories graphics 11 10 maintainers devans openmaintainer … … 16 15 17 16 long_description ${description} 18 17 19 checksums rmd160 f fe7d6d6c85af31dca7a0fea7a3c9bf7af103807\20 sha256 3364f09ef5cf0c53f8879b6b6165d4d7bd82756ee44f019075fad679346be6d818 checksums rmd160 fc67ebfc18fe1209d23d8ef315cc9ab387731563 \ 19 sha256 2c8155016e6bcf2ad604094ba84f0404edda3278dea851d6ce44830291eb885b 21 20 22 21 depends_build port:pkgconfig \ 23 22 port:autoconf \ 24 23 port:automake \ 25 24 port:libtool \ 26 port:xorg-util-macros \ 27 port:python34 25 port:xorg-util-macros 28 26 29 27 depends_lib port:mesa \ 30 28 port:xorg-libX11 … … 32 30 patchfiles patch-configure.ac.diff \ 33 31 patch-src-dispatch_common.c.diff 34 32 33 # turn on support for glx 34 # see https://github.com/anholt/libepoxy/commit/e3051481cc9f5b7b36b317aff1454ee16ea9cdb9 35 # see https://github.com/anholt/libepoxy/releases/tag/v1.3 36 patchfiles-append patch-glx.diff 37 35 38 post-patch { 36 39 reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/dispatch_common.c 37 40 } 38 41 39 42 configure.cmd ./autogen.sh 40 43 41 configure.python ${prefix}/bin/python3.442 43 44 configure.args --disable-silent-rules 45 46 variant python27 conflicts python34 python35 description {build with python 2.7} { 47 depends_lib-append port:python27 48 configure.python ${prefix}/bin/python2.7 49 } 50 51 variant python34 conflicts python27 python35 description {build with python 3.4} { 52 depends_lib-append port:python34 53 configure.python ${prefix}/bin/python3.4 54 } 55 56 variant python35 conflicts python27 python34 description {build with python 3.5} { 57 depends_lib-append port:python35 58 configure.python ${prefix}/bin/python3.5 59 } 60 61 if {![variant_isset python27] && ![variant_isset python34] && ![variant_isset python35]} { 62 default_variants +python34 63 }