Ticket #51565: pianobar-2016.06.02.diff
File pianobar-2016.06.02.diff, 2.1 KB (added by ryandesign (Ryan Carsten Schmidt), 8 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 PortGroup github 1.0 6 6 7 github.setup PromyLOPh pianobar 2015.11.22 8 revision 2 7 github.setup PromyLOPh pianobar 2016.06.02 9 8 categories audio 10 9 platforms darwin 11 10 maintainers gmail.com:aguynamedryan+pianobar … … 21 20 configure keybindings, last.fm scrobbling, \ 22 21 proxy support for listening outside of USA. 23 22 24 checksums rmd160 375d9a1a4a8a879df98affe9ed063d779f7b822e\25 sha256 120f34fa70c34c12194b7c350952c9d5fd706b820bdd49cb139dabe785499bc923 checksums rmd160 949a4991e8935f53c943eaca7ca932eddce27bc8 \ 24 sha256 be02852ad04767604b56742f3ae8208ff6032d2fb3d792c3b80b735c203eeaba 26 25 27 26 depends_build port:pkgconfig 28 27 … … 32 31 port:libgcrypt \ 33 32 port:json-c 34 33 35 post-patch {36 # Disable silent rules.37 # https://github.com/PromyLOPh/pianobar/issues/57138 reinplace -E "s/^(\t+)@(\\\$\{)/\\1\\2/" ${worksrcpath}/Makefile39 reinplace -E "/^\t+@echo \" /d" ${worksrcpath}/Makefile40 }41 42 34 configure.cflags-append -std=c99 43 35 44 36 # Prevent upgrade failure. … … 49 41 variant universal {} 50 42 51 43 build.args CC="${configure.cc} [get_canonical_archflags cc]" \ 44 DYNLINK=1 \ 52 45 PREFIX=${prefix} \ 53 46 CFLAGS="${configure.cflags} ${configure.cppflags}" \ 54 LDFLAGS="${configure.ldflags}" 47 LDFLAGS="${configure.ldflags}" \ 48 V=1 55 49 56 50 destroot.args PREFIX=${prefix} 57 51 52 if {${subport} eq ${name}} { 53 depends_lib-append port:libpiano 54 } 55 58 56 subport libpiano { 59 57 depends_lib-append port:gnutls 60 58 build.target libpiano.so.0