# | Line 4 | Line 4 | Source: http://switch.dl.sourceforge.net | |
---|---|---|
4 | ||
5 | %build | |
6 | ./configure --prefix=%i | |
7 | + | case $(uname)-$(uname -m) in |
8 | + | Darwin*) |
9 | + | perl -p -i -e "s|\/\* #undef socklen_t \*\/|#undef socklen_t|" include/log4cplus/config.h;; |
10 | + | esac |
11 | make | |
12 | ||
13 | %install |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |