hd_brummy 12/05/20 17:33:41
Modified: ChangeLog vdr-plugin-2.eclass
Log:
some debug infos for wrong use of vdr-plugin-2.eclass
Revision Changes Path
1.256 eclass/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.256&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.256&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.255&r2=1.256
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.255
retrieving revision 1.256
diff -u -r1.255 -r1.256
--- ChangeLog 20 May 2012 17:12:34 -0000 1.255
+++ ChangeLog 20 May 2012 17:33:41 -0000 1.256
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.255 2012/05/20 17:12:34 pesa Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.256 2012/05/20 17:33:41 hd_brummy Exp $
+
+ 20 May 2012; Joerg Bornkessel <hd_brummy@g.o> vdr-plugin-2.eclass:
+ some debug infos for wrong use of vdr-plugin-2.eclass
20 May 2012; Davide Pesavento <pesa@g.o> qt4-build.eclass:
Try to avoid sandbox violation when running qhelpgenerator, bug 415517.
1.3 eclass/vdr-plugin-2.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/vdr-plugin-2.eclass?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/vdr-plugin-2.eclass?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/vdr-plugin-2.eclass?r1=1.2&r2=1.3
Index: vdr-plugin-2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/vdr-plugin-2.eclass,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- vdr-plugin-2.eclass 29 Apr 2012 15:03:09 -0000 1.2
+++ vdr-plugin-2.eclass 20 May 2012 17:33:41 -0000 1.3
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin-2.eclass,v 1.2 2012/04/29 15:03:09 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin-2.eclass,v 1.3 2012/05/20 17:33:41 hd_brummy Exp $
# @ECLASS: vdr-plugin-2.eclass
# @MAINTAINER:
@@ -445,10 +445,10 @@
vdr-plugin-2_src_unpack() {
if [[ -z ${VDR_INCLUDE_DIR} ]]; then
eerror "Wrong use of vdr-plugin-2.eclass."
- eerror "An ebuild for a vdr-plugin will not work without calling vdr-plugin-2_pkg_setup."
+ eerror "An ebuild for a vdr-plugin will not work without calling vdr-plugin-2_src_unpack."
echo
eerror "Please report this at bugs.gentoo.org."
- die "vdr-plugin-2_pkg_setup not called!"
+ die "vdr-plugin-2_src_unpack not called!"
fi
if [ -z "$1" ]; then
@@ -459,6 +459,14 @@
}
vdr-plugin-2_src_prepare() {
+ if [[ -z ${VDR_INCLUDE_DIR} ]]; then
+ eerror "Wrong use of vdr-plugin-2.eclass."
+ eerror "An ebuild for a vdr-plugin will not work without calling vdr-plugin-2_src_prepare."
+ echo
+ eerror "Please report this at bugs.gentoo.org."
+ die "vdr-plugin-2_src_prepare not called!"
+ fi
+
base_src_prepare
vdr-plugin-2_src_util prepare
}
@@ -475,10 +483,10 @@
if [[ ! -f ${WORKDIR}/.vdr-plugin_makefile_patched ]]; then
eerror "Wrong use of vdr-plugin-2.eclass."
eerror "An ebuild for a vdr-plugin will not work without"
- eerror "calling vdr-plugin-2_src_unpack to patch the Makefile."
+ eerror "calling vdr-plugin-2_src_compile to patch the Makefile."
echo
eerror "Please report this at bugs.gentoo.org."
- die "vdr-plugin-2_src_unpack not called!"
+ die "vdr-plugin-2_src_compile not called!"
fi
cd "${S}"
@@ -498,6 +506,14 @@
}
vdr-plugin-2_src_install() {
+ if [[ -z ${VDR_INCLUDE_DIR} ]]; then
+ eerror "Wrong use of vdr-plugin-2.eclass."
+ eerror "An ebuild for a vdr-plugin will not work without calling vdr-plugin-2_src_install."
+ echo
+ eerror "Please report this at bugs.gentoo.org."
+ die "vdr-plugin-2_src_install not called!"
+ fi
+
[[ -n "${VDRSOURCE_DIR}" ]] && vdr-plugin-2_install_source_tree
cd "${WORKDIR}"
|