mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

553 lines
17 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/base/glibc/glibc.conf
  9. # ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. pkg_glibc_version=${xpkg#glibc}
  23. pkg_glibc_target=${arch_target}
  24. pkg_glibc_cross=""
  25. case "$xpkg" in
  26. glibc??-cross-*)
  27. if [[ $xpkg = *25 ]] ; then
  28. echo_error "Cross package not yet supported by glibc25. Use glibc23!"
  29. exit 1
  30. fi
  31. if [[ $xpkg = *26 ]] ; then
  32. echo_error "Cross package not yet supported by glibc26. Use glibc23!"
  33. exit 1
  34. fi
  35. pkg_glibc_cross="${xpkg#glibc*-cross-}"
  36. pkg_glibc_version=${pkg_glibc_version%-cross-*}
  37. pkg_glibc_target="${pkg_glibc_cross}-unknown-linux-gnu"
  38. echo_status "Preparing to build a cross-glibc package for $pkg_glibc_cross."
  39. ;;
  40. glibc??)
  41. ;;
  42. *)
  43. echo_error "Not supported $pkg package name: $xpkg"
  44. exit 1
  45. ;;
  46. esac
  47. pkg_glibc_linuxthreads=1
  48. [ "$ROCKCFG_PKG_GLIBC23_LINUXTHREADS" = "0" ] && pkg_glibc_linuxthreads=0
  49. # fall back to linuxthreads for cross glibcs
  50. [ -n "$pkg_glibc_cross" ] && pkg_glibc_linuxthreads=1
  51. [ "${pkg_glibc_version}" = "25" -o "${pkg_glibc_version}" = "26" ] && pkg_glibc_linuxthreads=0
  52. # Give a more descriptive error message than the one that would happen during the build.
  53. kernel_mainline="`uname -r | cut -f-2 -d'.'`"
  54. if [ $pkg_glibc_linuxthreads = 0 -a "$kernel_mainline" != "2.6" ] ; then
  55. echo_error 'You are running a kernel of the $kernel_mainline series.'
  56. echo_error 'Glibc with NPTL support cannot be built on $kernel_mainline kernels.'
  57. echo_error 'Boot a 2.6 kernel to build Glibc with NPTL support or build Glibc'
  58. echo_error 'with old threading support (linuxthreads) instead.'
  59. abort
  60. fi
  61. #---------------------------------
  62. if [ $pkg_glibc_version = 22 ]; then
  63. glibc_custmain() {
  64. cat > configparms <<- EOF
  65. prefix = /usr
  66. slibdir = /lib
  67. sysconfdir = /etc
  68. install_root = $root
  69. CC = $CC
  70. BUILD_CC = $BUILDCC
  71. AR = $AR
  72. RANLIB = $RANLIB
  73. EOF
  74. # Disable glibc internal debuging but build debuging and profile
  75. # code so we can use this glibc to debug other programs.
  76. CFLAGS="$CFLAGS -g -DNDEBUG=1" ./configure --with-gnu-binutils \
  77. --enable-add-ons --enable-profile \
  78. --with-headers=$root/usr/include \
  79. --with-gd=/usr \
  80. --with-gd-lib=/usr/lib \
  81. --with-gd-include=/usr/include \
  82. --build=${arch_build} ${arch_target}
  83. echo $BUILDCC elf/sln.c -o elf/dyn_sln
  84. $BUILDCC elf/sln.c -o elf/dyn_sln
  85. eval $MAKE symbolic-link-prog=elf/dyn_sln all install
  86. # Misc. stuff
  87. #
  88. if [ "$crossnative" = native ] ; then
  89. [ $stagelevel -gt 1 ] && eval $MAKE install-locales -C localedata
  90. # otherwise we risk the hosts /usr/lib/locale/locale-archive being overwritten
  91. mkdir -p $root/usr/share/man/man3
  92. if [ -f /usr/bin/perl ] ; then
  93. eval $MAKE -C linuxthreads/man \
  94. MANDIR=$root/usr/share/man/man3 all install
  95. fi
  96. fi
  97. ln -sf libbsd-compat.a $root/usr/lib/libbsd.a
  98. # copy linuxthreads and crypt documentation
  99. #
  100. cp linuxthreads/ChangeLog $docdir/ChangeLog.threads
  101. cp linuxthreads/Changes $docdir/Changes.threads
  102. cp linuxthreads/README $docdir/README.threads
  103. cp linuxthreads/FAQ.html $docdir/FAQ-threads.html
  104. cp -r linuxthreads/Examples $docdir/examples.threads
  105. cp crypt/README.ufc-crypt $docdir/README.crypt
  106. # NSCD Init script and config
  107. #
  108. cp $confdir/nscd.conf $confdir/nsswitch.conf $root/etc/
  109. install_init nscd $confdir/nscd.init
  110. # No absolute path in libc.so if cross-compileing
  111. #
  112. if [ $crossnative = cross ] ; then
  113. libcso=$root/usr/lib/libc.so
  114. for x in 1 2 3 4 5 ; do
  115. sed -i 's,/[a-z/]*/,,' $libcso
  116. done
  117. fi
  118. # Install ld.so.conf
  119. #
  120. {
  121. echo "/usr/lib"
  122. echo "/usr/X11/lib"
  123. echo "/usr/local/lib"
  124. echo "/opt/*/lib"
  125. } > $root/etc/ld.so.conf
  126. if [ -f $root/usr/sbin/ldconfig ] ; then
  127. ln -sf ../usr/sbin/ldconfig $root/sbin/
  128. fi
  129. }
  130. fi
  131. #---------------------------------
  132. #---------------------------------
  133. if [ $pkg_glibc_version = 23 ]; then
  134. glibc_custmain() {
  135. # check whether profiling is enabled
  136. if [ $ROCKCFG_PKG_GLIBC_ENABLE_PROFILE = 1 ] ; then
  137. G_PROFILE=--enable-profile
  138. else
  139. G_PROFILE=--disable-profile
  140. fi
  141. # Let's use an 'objdir' directory for building glibc
  142. mkdir -p objdir; cd objdir
  143. # NPTL doesn't work with plain i386 CPUs
  144. if [ $pkg_glibc_linuxthreads = 1 ]; then
  145. temp_arch_target="$arch_target"
  146. temp_arch_build="$arch_build"
  147. configure_without_tls="--without-tls"
  148. else
  149. temp_arch_target="${arch_target/i386/i486}"
  150. temp_arch_build="${arch_build/i386/i486}"
  151. configure_without_tls=""
  152. fi
  153. # Disable glibc internal debuging but build debuging and profile
  154. # code so we can use this glibc to debug other programs.
  155. create_config_cache >> config.cache
  156. CFLAGS="$CFLAGS -g -DNDEBUG=1" ../configure --prefix=$root/$prefix \
  157. --with-gnu-binutils --enable-add-ons"$ADDONS" $G_PROFILE \
  158. --with-headers=$root/$prefix/include --with-gd=/$prefix \
  159. --with-gd-lib=/$prefix/lib --with-gd-include=/$prefix/include \
  160. $configure_without_tls --cache-file=config.cache \
  161. --build=${temp_arch_build} --host=${temp_arch_target}
  162. eval $MAKE prefix=/usr slibdir=/lib sysconfdir=/etc all
  163. if [ -z "$pkg_glibc_cross" ]
  164. then
  165. eval $MAKE prefix=/$prefix slibdir=/lib \
  166. sysconfdir=/etc install_root=$root install
  167. else
  168. eval $MAKE prefix=/$prefix install_root=$root install
  169. fi
  170. ln -sf libbsd-compat.a $root/$prefix/lib/libbsd.a
  171. # install locales
  172. #
  173. if [ $stagelevel -gt 1 ] ; then
  174. # otherwise we risk the hosts /usr/lib/locale/locale-archive being overwritten
  175. eval $MAKE localedata/install-locales
  176. cp ../localedata/SUPPORTED $root/usr/share/i18n/
  177. fi
  178. # copy crypt documentation
  179. #
  180. cp ../crypt/README.ufc-crypt $docdir/README.crypt
  181. # NSCD Init script and config
  182. #
  183. cp $confdir/nscd.conf $confdir/nsswitch.conf $root/etc/
  184. install_init nscd $confdir/nscd.init
  185. # Misc. stuff
  186. #
  187. if [ $stagelevel -gt 1 -a -z "$pkg_glibc_cross" ]
  188. then
  189. # install linuxthread manpages
  190. #
  191. mkdir -p $root/usr/share/man/man3
  192. if [ -f /usr/bin/perl -a $pkg_glibc_linuxthreads = 1 ] ; then
  193. eval $MAKE -C ../linuxthreads/man \
  194. MANDIR=$root/usr/share/man/man3 all install
  195. fi
  196. # copy linuxthreads documentation
  197. #
  198. if [ $pkg_glibc_linuxthreads = 1 ]; then
  199. cp ../linuxthreads/ChangeLog $docdir/ChangeLog.threads
  200. cp ../linuxthreads/Changes $docdir/Changes.threads
  201. cp ../linuxthreads/README $docdir/README.threads
  202. cp ../linuxthreads/FAQ.html $docdir/FAQ-threads.html
  203. cp -r ../linuxthreads/Examples $docdir/examples.threads
  204. fi
  205. fi
  206. # No wrong absolute path in *.so linker scripts
  207. #
  208. if [ -d $root/ROCK/tools.cross -a -z "$pkg_glibc_cross" ]; then
  209. rm -f $root/ROCK/tools.cross/$arch_target/lib/libc.so
  210. rm -f $root/ROCK/tools.cross/$arch_target/lib/libpthread.so
  211. sed 's,/[^ ]*/,,g' $root/$prefix/lib/libc.so > $root/ROCK/tools.cross/$arch_target/lib/libc.so
  212. sed 's,/[^ ]*/,,g' $root/$prefix/lib/libpthread.so > $root/ROCK/tools.cross/$arch_target/lib/libpthread.so
  213. fi
  214. # Install ld.so.conf
  215. #
  216. if [ ! -f $root/etc/ld.so.conf -a -z "$pkg_glibc_cross" ]
  217. then
  218. { echo "/usr/lib" ; echo "/usr/X11/lib"
  219. echo "/usr/local/lib" ; echo "/opt/*/lib"
  220. } > $root/etc/ld.so.conf
  221. fi
  222. # Move 'ldconfig' and 'sln' binaries
  223. #
  224. if [ -z "$pkg_glibc_cross" ]
  225. then
  226. if [ -f "$root/usr/sbin/ldconfig" ]; then
  227. mv -v $root/usr/sbin/ldconfig $root/sbin/ldconfig
  228. fi
  229. if [ -f "$root/usr/sbin/sln" ]; then
  230. mv -v $root/usr/sbin/sln $root/sbin/sln
  231. fi
  232. fi
  233. # Create /lib/ld-lsb.so.1 symlink
  234. #
  235. if [ -z "$pkg_glibc_cross" ]
  236. then
  237. if [ -f $root/lib/ld-linux-$arch_machine.so.2 ]; then
  238. ln -vfs ld-linux-$arch_machine.so.2 $root/lib/ld-lsb.so.1
  239. elif [ -f $root/lib/ld-linux.so.2 ]; then
  240. ln -vfs ld-linux.so.2 $root/lib/ld-lsb.so.1
  241. fi
  242. fi
  243. }
  244. fi
  245. #---------------------------------
  246. #---------------------------------
  247. if [ $pkg_glibc_version = 25 -o $pkg_glibc_version = 26 ]; then
  248. glibc_custmain() {
  249. # check whether profiling is enabled
  250. if [ $ROCKCFG_PKG_GLIBC_ENABLE_PROFILE = 1 ] ; then
  251. G_PROFILE=--enable-profile
  252. else
  253. G_PROFILE=--disable-profile
  254. fi
  255. # Let's use an 'objdir' directory for building glibc
  256. mkdir -p objdir; cd objdir
  257. # NPTL doesn't work with plain i386 CPUs
  258. temp_arch_target="${arch_target/i386/i486}"
  259. temp_arch_build="${arch_build/i386/i486}"
  260. configure_without_tls=""
  261. # Disable glibc internal debuging but build debuging and profile
  262. # code so we can use this glibc to debug other programs.
  263. create_config_cache >> config.cache
  264. CFLAGS="$CFLAGS -g -DNDEBUG=1" ../configure --prefix=$root/$prefix \
  265. --with-gnu-binutils --enable-add-ons"$ADDONS" $G_PROFILE \
  266. --with-headers=$root/$prefix/include --with-gd=/$prefix \
  267. --with-gd-lib=/$prefix/lib --with-gd-include=/$prefix/include \
  268. $configure_without_tls --cache-file=config.cache \
  269. --build=${temp_arch_build} --host=${temp_arch_target}
  270. # No wrong absolute path in *.so linker scripts
  271. # this must be called from glibc makefile right after installing usr/lib/libc.so
  272. #
  273. if [ -d $root/ROCK/tools.cross -a -z "$pkg_glibc_cross" ]; then
  274. export ROCK_FIXUP_CROSS_LIBC_SO=$builddir/fixup-cross-libc-so.sh
  275. cat << EOT > $builddir/fixup-cross-libc-so.sh
  276. if [ -f $root/$prefix/lib/libc.so ]; then
  277. echo "Fixing $root/ROCK/tools.cross/$arch_target/lib/libc.so."
  278. rm -f $root/ROCK/tools.cross/$arch_target/lib/libc.so
  279. sed 's,/[^ ]*/,,g' $root/$prefix/lib/libc.so > $root/ROCK/tools.cross/$arch_target/lib/libc.so
  280. fi
  281. if [ -f $root/$prefix/lib/libpthread.so ]; then
  282. echo "Fixing $root/ROCK/tools.cross/$arch_target/lib/libpthread.so."
  283. rm -f $root/ROCK/tools.cross/$arch_target/lib/libpthread.so
  284. sed 's,/[^ ]*/,,g' $root/$prefix/lib/libpthread.so > $root/ROCK/tools.cross/$arch_target/lib/libpthread.so
  285. fi
  286. EOT
  287. chmod +x $builddir/fixup-cross-libc-so.sh
  288. fi
  289. eval $MAKE prefix=/usr slibdir=/lib sysconfdir=/etc all
  290. eval $MAKE prefix=/$prefix slibdir=/lib \
  291. sysconfdir=/etc install_root=$root install
  292. ln -sf libbsd-compat.a $root/$prefix/lib/libbsd.a
  293. $builddir/fixup-cross-libc-so.sh
  294. # install locales
  295. #
  296. if [ $stagelevel -gt 1 ] ; then
  297. # otherwise we risk the hosts /usr/lib/locale/locale-archive being overwritten
  298. eval $MAKE localedata/install-locales
  299. cp ../localedata/SUPPORTED $root/usr/share/i18n/
  300. fi
  301. # copy crypt documentation
  302. #
  303. cp ../crypt/README.ufc-crypt $docdir/README.crypt
  304. # NSCD Init script and config
  305. #
  306. cp $confdir/nscd.conf $confdir/nsswitch.conf $root/etc/
  307. install_init nscd $confdir/nscd.init
  308. # Install ld.so.conf
  309. #
  310. if [ ! -f $root/etc/ld.so.conf ]
  311. then
  312. { echo "/usr/lib" ; echo "/usr/X11/lib"
  313. echo "/usr/local/lib" ; echo "/opt/*/lib"
  314. } > $root/etc/ld.so.conf
  315. fi
  316. # Move 'ldconfig' and 'sln' binaries
  317. #
  318. if [ -f "$root/usr/sbin/ldconfig" ]; then
  319. mv -v $root/usr/sbin/ldconfig $root/sbin/ldconfig
  320. fi
  321. if [ -f "$root/usr/sbin/sln" ]; then
  322. mv -v $root/usr/sbin/sln $root/sbin/sln
  323. fi
  324. # Create /lib/ld-lsb.so.1 symlink
  325. #
  326. if [ -f $root/lib/ld-linux-$arch_machine.so.2 ]; then
  327. ln -vfs ld-linux-$arch_machine.so.2 $root/lib/ld-lsb.so.1
  328. elif [ -f $root/lib/ld-linux.so.2 ]; then
  329. ln -vfs ld-linux.so.2 $root/lib/ld-lsb.so.1
  330. fi
  331. }
  332. fi
  333. #---------------------------------
  334. glibc_prepatch() {
  335. if [ $pkg_glibc_linuxthreads = 1 -a -f $archdir/*linuxthreads*.tar.bz2 ]; then
  336. tar $taropt $archdir/*linuxthreads*.tar.bz2
  337. fi
  338. if [ "${pkg_glibc_version}" = "25" -o "${pkg_glibc_version}" = "26" ] ; then
  339. echo "extracting glibc-ports"
  340. tar $taropt $archdir/glibc-ports-*.tar.bz2
  341. fi
  342. }
  343. glibc_stage0() {
  344. if [ $pkg_glibc_version = 25 -o $pkg_glibc_version = 26 ]
  345. then
  346. mkdir -p objdir; cd objdir
  347. confopt="${confopt% --target=*}"
  348. var_append confopt " " "--enable-add-ons"$ADDONS" --build=\$arch_build \
  349. --host=\$arch_target"
  350. # in stage 0 we do not have the cross compiler yet.
  351. # some configure checks which would fail without
  352. # a working cross compiler in stage 0..
  353. export libc_cv_mlong_double_128=yes
  354. export libc_cv_mlong_double_128ibm=yes
  355. export libc_cv_mabi_ibmlongdouble=yes
  356. export libc_cv_ppc_machine=yes
  357. # more configure hacks: tls support everywhere
  358. for x in $( find .. -name configure | xargs grep libc_cv_.*_tls | \
  359. sed -r 's,.*(libc_cv),\1,; s,(_tls).*,\1,' | sort -u; )
  360. do eval "export $x=yes"; done
  361. # due to assembler check - and we do not yet have as ...
  362. if [ $arch = hppa ]; then
  363. var_append confopt " " "--enable-hacker-mode"
  364. fi
  365. eval "../configure --enable-add-ons"$ADDONS" $confopt"
  366. make -k cross-compiling=yes install-headers || true
  367. cp -v ../include/features.h $root/$prefix/include
  368. fi
  369. if [ $pkg_glibc_version = 23 ]
  370. then
  371. # .cross patches don't get applied automagically if we build a -cross- pkg
  372. # maybe add $confdir/glibc23/*.patch.${pkg_glibc_cross:0:3} to the for loop ?
  373. if [ -n "$pkg_glibc_cross" ] ; then
  374. for i in $confdir/glibc23/*.patch.cross
  375. do
  376. echo "Applying patch $i..."
  377. patch -p1 < $i ;
  378. done
  379. fi
  380. # for mips*, tries to add -mabi. for headers, we don't have a compiler allowing that yet
  381. # if cross-compiling. the values of _MIPS_SIM can be found in sysdeps/mips/sgidefs.h
  382. if [ \( $arch = mips -a $crossnative = cross \) -o -n "$pkg_glibc_cross" ] ; then
  383. patch -p1 < $confdir/glibc23/no-mabi-mips64.cross.diff
  384. mv sysdeps/mips/mips32/Makefile sysdeps/mips/mips32/Makefile-x
  385. echo "CC += -D_MIPS_SZPTR=32 -D_MIPS_SIM=1" > sysdeps/mips/mips32/Makefile
  386. mv sysdeps/mips/mips64/n32/Makefile sysdeps/mips/mips64/n32/Makefile-x
  387. echo "CC += -D_MIPS_SZPTR=64 -D_MIPS_SIM=2" > sysdeps/mips/mips64/n32/Makefile
  388. echo "long-double-fcts = yes" >> sysdeps/mips/mips64/n32/Makefile
  389. mv sysdeps/mips/mips64/n64/Makefile sysdeps/mips/mips64/n64/Makefile-x
  390. echo "CC += -D_MIPS_SZPTR=64 -D_MIPS_SIM=3" > sysdeps/mips/mips64/n64/Makefile
  391. echo "long-double-fcts = yes" >> sysdeps/mips/mips64/n64/Makefile
  392. fi
  393. mkdir -p objdir; cd objdir
  394. confopt="${confopt% --target=*}"
  395. var_append confopt " " "--enable-add-ons"$ADDONS" --build=\$arch_build \
  396. --host=\$arch_target"
  397. # due to assembler check - and we do not yet have as ...
  398. [ $arch = hppa ] && var_append confopt " " "--enable-hacker-mode"
  399. eval "../configure --enable-add-ons"$ADDONS" $confopt"
  400. make -k cross-compiling=yes install-headers || true
  401. cp -v ../include/features.h $root/$prefix/include
  402. fi
  403. if [ $pkg_glibc_version = 22 ]
  404. then
  405. eval "./configure --enable-add-ons $confopt"
  406. make cross-compiling=yes install-headers
  407. cp -v include/features.h $root/$prefix/include
  408. fi
  409. mkdir -p $root/$prefix/include/gnu
  410. touch $root/$prefix/include/gnu/stubs.h
  411. cp -v bits/stdio_lim.h $root/$prefix/include/bits
  412. }
  413. patchfiles="`ls $confdir/glibc$pkg_glibc_version/*.patch \
  414. $confdir/glibc$pkg_glibc_version/*.patch.$arch 2>/dev/null | tr '\n' ' '` $patchfiles"
  415. if [ $pkg_glibc_linuxthreads = 1 ]; then
  416. patchfiles="`ls $confdir/glibc$pkg_glibc_version/*.patch-linuxthreads | tr '\n' ' '` $patchfiles"
  417. fi
  418. if [ $stagelevel -le 1 ]; then
  419. patchfiles="`ls $patchfiles $confdir/glibc$pkg_glibc_version/*.patch.cross \
  420. $confdir/glibc$pkg_glibc_version/*.patch.cross.$arch 2>/dev/null | tr '\n' ' '`"
  421. fi
  422. if [ $pkg_glibc_version = 22 ] ; then
  423. # auto-detect for the old glibc
  424. ADDONS=""
  425. else
  426. # new glibc is using NPTL per default, set to linuxthreads if needed
  427. if [ $pkg_glibc_linuxthreads = 1 ]; then
  428. ADDONS="=linuxthreads"
  429. else
  430. ADDONS=""
  431. fi
  432. fi
  433. threadsver="$ver"
  434. prepatch="glibc_prepatch"
  435. if [ -z "$pkg_glibc_cross" ]
  436. then
  437. if [ $stagelevel -eq 0 ]
  438. then
  439. custmain="glibc_stage0"
  440. else
  441. custmain="glibc_custmain"
  442. fi
  443. else
  444. if [ $pkg_glibc_version = 22 ]; then
  445. echo_error "Cross-packages are not supported for glibc22!"
  446. exit 1
  447. fi
  448. arch_target="$pkg_glibc_target"
  449. arch_machine="${arch_target/-*/}"
  450. prefix="$prefix/$pkg_glibc_target"
  451. set_confopt
  452. if [ -z "$( type -p $pkg_glibc_target-gcc )" ]
  453. then
  454. echo_status "Building only cross-headers because there is no cross-gcc (yet)."
  455. custmain="glibc_stage0"
  456. else
  457. export CC=$pkg_glibc_target-gcc
  458. export AS=$pkg_glibc_target-as
  459. export LD=$pkg_glibc_target-ld
  460. export AR=$pkg_glibc_target-ar
  461. export NM=$pkg_glibc_target-nm
  462. export GASP=$pkg_glibc_target-gasp
  463. export STRIP=$pkg_glibc_target-strip
  464. export RANLIB=$pkg_glibc_target-ranlib
  465. export CFLAGS="-O2"
  466. custmain="glibc_custmain"
  467. fi
  468. fi
  469. if [ $stagelevel -eq 1 -a -f $confdir/glibc$pkg_glibc_version/no_path_in_glibcso.diff ]
  470. then
  471. var_append patchfiles " " $confdir/glibc$pkg_glibc_version/no_path_in_glibcso.diff
  472. fi