67 } |
67 } |
68 |
68 |
69 %prep |
69 %prep |
70 %setup -q -n stund |
70 %setup -q -n stund |
71 %patch -p0 |
71 %patch -p0 |
|
72 %{l_shtool} subst \ |
|
73 -e 's;\(|| defined(__i386__)\) );\1 || defined(__x86_64__) );' \ |
|
74 stun.cxx |
72 case "%{l_platform -t}" in |
75 case "%{l_platform -t}" in |
73 *-sunos* ) |
76 *-sunos* ) |
74 %{l_shtool} subst \ |
77 %{l_shtool} subst \ |
75 -e 's;^\(LDFLAGS\)+=.*;\1=;' \ |
78 -e 's;^\(LDFLAGS\)+=.*;\1=;' \ |
76 -e 's;^#\(LDFLAGS+=\) -lnsl -lsocket;\1-lsocket -lnsl -ldl;' \ |
79 -e 's;^#\(LDFLAGS+=\) -lnsl -lsocket;\1-lsocket -lnsl -ldl;' \ |