|
@@ -27,7 +27,7 @@ S="${WORKDIR}/${P%[a-z]}"
|
|
DOCS=(ChangeLog README NEWS TODO)
|
|
DOCS=(ChangeLog README NEWS TODO)
|
|
|
|
|
|
PATCHES=(
|
|
PATCHES=(
|
|
- "${FILESDIR}/${P}-errorline.patch"
|
|
|
|
|
|
+
|
|
"${FILESDIR}/${P}-bindir.patch"
|
|
"${FILESDIR}/${P}-bindir.patch"
|
|
"${FILESDIR}/${P}-versioning.patch"
|
|
"${FILESDIR}/${P}-versioning.patch"
|
|
"${FILESDIR}/${P}-clear.patch"
|
|
"${FILESDIR}/${P}-clear.patch"
|
|
@@ -35,16 +35,17 @@ PATCHES=(
|
|
)
|
|
)
|
|
|
|
|
|
src_prepare() {
|
|
src_prepare() {
|
|
- default
|
|
|
|
|
|
|
|
- #has_version ">=dev-lang/tcl-8.6.0" && epatch "${FILESDIR}"/${P}-errorline.patch
|
|
|
|
|
|
+if has_version ">=dev-lang/tcl-8.6.0"; then
|
|
|
|
+ PATCHES="${FILESDIR}/${P}-errorline.patch"
|
|
|
|
+fi
|
|
|
|
|
|
|
|
+ # Do patching
|
|
|
|
+ default
|
|
sed -e "s:@EPREFIX@:${EPREFIX}:g" \
|
|
sed -e "s:@EPREFIX@:${EPREFIX}:g" \
|
|
"${FILESDIR}"/modules.sh.in > modules.sh || die
|
|
"${FILESDIR}"/modules.sh.in > modules.sh || die
|
|
|
|
|
|
- AT_M4DIR="."
|
|
|
|
eautoreconf
|
|
eautoreconf
|
|
-
|
|
|
|
}
|
|
}
|
|
|
|
|
|
src_configure() {
|
|
src_configure() {
|
|
@@ -57,13 +58,11 @@ src_configure() {
|
|
--with-tcl="${EPREFIX}/usr/$(get_libdir)"
|
|
--with-tcl="${EPREFIX}/usr/$(get_libdir)"
|
|
$(use_with X x)
|
|
$(use_with X x)
|
|
)
|
|
)
|
|
- econf ${myeconfargs}
|
|
|
|
-
|
|
|
|
|
|
+ econf "${myeconfargs[@]}"
|
|
}
|
|
}
|
|
|
|
|
|
src_install() {
|
|
src_install() {
|
|
|
|
|
|
- echo "I am in install"
|
|
|
|
default
|
|
default
|
|
|
|
|
|
insinto /etc/profile.d
|
|
insinto /etc/profile.d
|