stun/stun.spec

changeset 767
3ee660c5bc4f
parent 417
76ceb617f880
equal deleted inserted replaced
3:f261f7d7273d 4:7415cf1aafe4
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;' \

mercurial