From: Fabian Groffen Date: Wed, 19 May 2010 17:18:40 +0000 (+0200) Subject: Merge remote branch 'overlays-gentoo-org/master' into prefix X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=077fdc0e49521ce3b397ebdf63ccb5d018bb1636;p=portage.git Merge remote branch 'overlays-gentoo-org/master' into prefix --- 077fdc0e49521ce3b397ebdf63ccb5d018bb1636 diff --cc bin/misc-functions.sh index 2bd385f78,7fb61f69e..c06b52421 mode 100644,100755..100644 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@@ -379,25 -341,15 +379,15 @@@ install_qa_check_misc() # this should help to ensure that all (most?) shared libraries are executable # and that all libtool scripts / static libraries are not executable - for i in "${D}"opt/*/lib{,32,64} \ - "${D}"lib{,32,64} \ - "${D}"usr/lib{,32,64} \ - "${D}"usr/X11R6/lib{,32,64} ; do + for i in "${ED}"opt/*/lib{,32,64} \ + "${ED}"lib{,32,64} \ + "${ED}"usr/lib{,32,64} \ + "${ED}"usr/X11R6/lib{,32,64} ; do [[ ! -d ${i} ]] && continue - for j in "${i}"/*.so.* "${i}"/*.so ; do + for j in "${i}"/*.so.* "${i}"/*.so "${i}"/*.dylib "${i}"/*.dll ; do [[ ! -e ${j} ]] && continue - if [[ -L ${j} ]] ; then - linkdest=$(readlink "${j}") - if [[ ${linkdest} == /* ]] ; then - vecho -ne '\a\n' - eqawarn "QA Notice: Found an absolute symlink in a library directory:" - eqawarn " ${j#${D}} -> ${linkdest}" - eqawarn " It should be a relative symlink if in the same directory" - eqawarn " or a linker script if it crosses the /usr boundary." - fi - continue - fi + [[ -L ${j} ]] && continue [[ -x ${j} ]] && continue vecho "making executable: ${j#${D}}" chmod +x "${j}" diff --cc cnf/make.globals index 70001b89f,42e7d3215..c20d8e762 --- a/cnf/make.globals +++ b/cnf/make.globals @@@ -28,18 -28,21 +28,21 @@@ ACCEPT_LICENSE="* -@EULA ACCEPT_PROPERTIES="*" # Repository Paths -PORTDIR=/usr/portage -DISTDIR=/usr/portage/distfiles -PKGDIR=/usr/portage/packages -RPMDIR=/usr/portage/rpm +PORTDIR="@PORTAGE_EPREFIX@/usr/portage" +DISTDIR="@PORTAGE_EPREFIX@/usr/portage/distfiles" +PKGDIR="@PORTAGE_EPREFIX@/usr/portage/packages" +RPMDIR="@PORTAGE_EPREFIX@/usr/portage/rpm" # Temporary build directory -PORTAGE_TMPDIR=/var/tmp +PORTAGE_TMPDIR="@PORTAGE_EPREFIX@/var/tmp" # Fetching command (5 tries, passive ftp for firewall compatibility) -FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" -RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" +FETCHCOMMAND="@PORTAGE_WGET@ -t 5 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" +RESUMECOMMAND="@PORTAGE_WGET@ -c -t 5 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" + FETCHCOMMAND_RSYNC="rsync -avP \"\${URI}\" \"\${DISTDIR}/\${FILE}\"" + RESUMECOMMAND_RSYNC="rsync -avP \"\${URI}\" \"\${DISTDIR}/\${FILE}\"" + # Default user options FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"