103 -e 's;/gmodule-2\.0;/gmodule;g' \ |
103 -e 's;/gmodule-2\.0;/gmodule;g' \ |
104 -e 's;/gio-unix-2\.0;/gio-unix;g' \ |
104 -e 's;/gio-unix-2\.0;/gio-unix;g' \ |
105 -e 's;/gio-2\.0;/gio;g' \ |
105 -e 's;/gio-2\.0;/gio;g' \ |
106 -e 's;-l\(g[a-z]*\)-2\.0;-l\1;g' \ |
106 -e 's;-l\(g[a-z]*\)-2\.0;-l\1;g' \ |
107 *-2.0.pc.in |
107 *-2.0.pc.in |
|
108 %{l_shtool} subst \ |
|
109 -e 's;\(#define _XOPEN_SOURCE\) 600;\1 601;' \ |
|
110 glib/tests/strfuncs.c |
|
111 case "%{l_platform -t}" in |
|
112 *-sunos* ) |
|
113 %{l_shtool} subst \ |
|
114 -e 's;^\(LIBELF_LIBS =\);\1 -lelf;' \ |
|
115 gio/Makefile.in |
|
116 ;; |
|
117 esac |
108 libs="" |
118 libs="" |
109 %if "%{with_threads}" == "yes" |
119 %if "%{with_threads}" == "yes" |
110 case "%{l_platform -t}" in |
120 case "%{l_platform -t}" in |
111 *-netbsd* ) libs="-lpthread" ;; |
121 *-netbsd* ) libs="-lpthread" ;; |
|
122 *-sunos* ) libs="-lnsl -lsocket" ;; |
112 esac |
123 esac |
113 %endif |
124 %endif |
114 CC="%{l_cc}" \ |
125 CC="%{l_cc}" \ |
115 CFLAGS="%{l_cflags -O}" \ |
126 CFLAGS="%{l_cflags -O}" \ |
116 CPPFLAGS="%{l_cppflags}" \ |
127 CPPFLAGS="%{l_cppflags}" \ |