110 glib/tests/strfuncs.c |
110 glib/tests/strfuncs.c |
111 %{l_shtool} subst \ |
111 %{l_shtool} subst \ |
112 -e 's;\(completiondir =\) \$(sysconfdir)/bash_completion.d;\1 $(pkgdatadir)/giobash;' \ |
112 -e 's;\(completiondir =\) \$(sysconfdir)/bash_completion.d;\1 $(pkgdatadir)/giobash;' \ |
113 gio/Makefile.in |
113 gio/Makefile.in |
114 case "%{l_platform -t}" in |
114 case "%{l_platform -t}" in |
115 *-sunos* ) |
115 *-sunos* ) |
116 %{l_shtool} subst \ |
116 %{l_shtool} subst \ |
117 -e 's;^\(LIBELF_LIBS =\);\1 -lelf;' \ |
117 -e 's;^\(LIBELF_LIBS =\);\1 -lelf;' \ |
118 gio/Makefile.in |
118 gio/Makefile.in |
119 %{l_shtool} subst \ |
119 %{l_shtool} subst \ |
120 -e 's;\(Libs.private:.*\) *$;\1 -lsocket -lnsl;' \ |
120 -e 's;\(Libs.private:.*\) *$;\1 -lsocket -lnsl;' \ |
125 *sun4[uv]-* ) l_cflags="$l_cflags -march=v9" ;; |
125 *sun4[uv]-* ) l_cflags="$l_cflags -march=v9" ;; |
126 *sun*-* ) l_cflags="$l_cflags -march=v8" ;; |
126 *sun*-* ) l_cflags="$l_cflags -march=v8" ;; |
127 *i?86-* | *amd64-* | *ia64-* ) l_cflags="$l_cflags -march=native" ;; |
127 *i?86-* | *amd64-* | *ia64-* ) l_cflags="$l_cflags -march=native" ;; |
128 esac |
128 esac |
129 libs="" |
129 libs="" |
|
130 case "%{l_platform -t}" in |
|
131 *-sunos* ) libs="-lnsl -lsocket" ;; |
|
132 esac |
130 %if "%{with_threads}" == "yes" |
133 %if "%{with_threads}" == "yes" |
131 case "%{l_platform -t}" in |
134 case "%{l_platform -t}" in |
132 *-netbsd* ) libs="-lpthread" ;; |
135 *-netbsd* ) libs="-lpthread" ;; |
133 *-sunos* ) libs="-lnsl -lsocket" ;; |
136 *-sunos* ) libs="-lnsl -lsocket" ;; |
134 esac |
137 esac |