/[gentoo-x86]/eclass/eutils.eclass
Gentoo

Diff of /eclass/eutils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.443 Revision 1.444
1# Copyright 1999-2015 Gentoo Foundation 1# Copyright 1999-2015 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.443 2015/03/20 18:22:05 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.444 2015/03/20 18:28:11 vapier Exp $
4 4
5# @ECLASS: eutils.eclass 5# @ECLASS: eutils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# base-system@gentoo.org 7# base-system@gentoo.org
8# @BLURB: many extra (but common) functions that are used in ebuilds 8# @BLURB: many extra (but common) functions that are used in ebuilds
707 EPATCH_SUFFIX="patch" \ 707 EPATCH_SUFFIX="patch" \
708 EPATCH_FORCE="yes" \ 708 EPATCH_FORCE="yes" \
709 EPATCH_MULTI_MSG="Applying user patches from ${EPATCH_SOURCE} ..." \ 709 EPATCH_MULTI_MSG="Applying user patches from ${EPATCH_SOURCE} ..." \
710 epatch 710 epatch
711 echo "${EPATCH_SOURCE}" > "${applied}" 711 echo "${EPATCH_SOURCE}" > "${applied}"
712 has epatch_user_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS+=" epatch_user_death_notice"
712 return 0 713 return 0
713 fi 714 fi
714 done 715 done
715 echo "none" > "${applied}" 716 echo "none" > "${applied}"
716 return 1 717 return 1
718}
719# @FUNCTION: epatch_user_death_notice
720# @INTERNAL
721# @DESCRIPTION:
722# Include an explicit notice in the die message itself that user patches were
723# applied to this build.
724epatch_user_death_notice() {
725 ewarn "!!! User patches were applied to this build!"
717} 726}
718 727
719# @FUNCTION: emktemp 728# @FUNCTION: emktemp
720# @USAGE: [temp dir] 729# @USAGE: [temp dir]
721# @DESCRIPTION: 730# @DESCRIPTION:

Legend:
Removed from v.1.443  
changed lines
  Added in v.1.444

  ViewVC Help
Powered by ViewVC 1.1.20