aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTed Tanberry <ted.tanberry@gmail.com>2015-02-01 18:36:28 +0100
committerTed Tanberry <ted.tanberry@gmail.com>2015-02-01 18:36:28 +0100
commite8418dde4777cafc81f5a09b1067993fd5f20d7d (patch)
tree61e14d18f2525ae8307bf88ed3e59aeabbbb01ca /eclass
parentUpdated EBO_DESCRIPTION for two embassy packages and added missing sci-biolog... (diff)
downloadsci-e8418dde4777cafc81f5a09b1067993fd5f20d7d.tar.gz
sci-e8418dde4777cafc81f5a09b1067993fd5f20d7d.tar.bz2
sci-e8418dde4777cafc81f5a09b1067993fd5f20d7d.zip
Modified emboss.eclass to define AUTOTOOLS_AUTORECONF before inherit'ing autotools-utils. Included HOMEPAGE in embassy.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/emboss.eclass11
1 files changed, 7 insertions, 4 deletions
diff --git a/eclass/emboss.eclass b/eclass/emboss.eclass
index 0c0bb1206..e06e43042 100644
--- a/eclass/emboss.eclass
+++ b/eclass/emboss.eclass
@@ -44,8 +44,12 @@ case ${EAPI:-0} in
*) die "this eclass doesn't support < EAPI 4" ;;
esac
-AUTOTOOLS_IN_SOURCE_BUILD=1
-inherit autotools autotools-utils eutils flag-o-matic
+if [[ -f "${FILESDIR}"/${P}_fix-build-system.patch ]]; then
+ AUTOTOOLS_AUTORECONF=1
+ AUTOTOOLS_IN_SOURCE_BUILD=1
+fi
+
+inherit autotools-utils eutils flag-o-matic
HOMEPAGE="http://emboss.sourceforge.net/"
LICENSE="LGPL-2 GPL-2"
@@ -80,7 +84,7 @@ if [[ ${PN} == embassy-* ]]; then
S="${WORKDIR}"/${EF}
fi
-DOCS=""
+DOCS=()
#DOCS="AUTHORS ChangeLog NEWS README"
# @FUNCTION: emboss_src_prepare
@@ -95,7 +99,6 @@ emboss_src_prepare() {
if [[ -f "${FILESDIR}"/${P}_fix-build-system.patch ]]; then
mv configure.{in,ac} || die
epatch "${FILESDIR}"/${P}_fix-build-system.patch
- AUTOTOOLS_AUTORECONF=1
fi
[[ -n ${EBO_PATCH} ]] && epatch "${WORKDIR}"/${P}-upstream.patch