summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Wulf C. Krueger <philantrop@exherbo.org> 2015-04-20 22:29:57 +0200
committerAvatar Wulf C. Krueger <philantrop@exherbo.org> 2015-04-20 22:29:57 +0200
commitfba37f44ea0b174fc28bea14afebc20ae3e45d95 (patch)
tree238fe03c25f026f02a11e5e32333038fdb765e8e
parentb77990571557359a93eb03ff21fcc6abb1d64c42 (diff)
downloadtcl-fba37f44ea0b174fc28bea14afebc20ae3e45d95.tar.gz
tcl-fba37f44ea0b174fc28bea14afebc20ae3e45d95.tar.xz
tdom: cross adjustments
-rw-r--r--packages/dev-tcl/tdom/tdom-0.8.2.exheres-030
1 files changed, 18 insertions, 12 deletions
diff --git a/packages/dev-tcl/tdom/tdom-0.8.2.exheres-0 b/packages/dev-tcl/tdom/tdom-0.8.2.exheres-0
index 579f0e9..af34737 100644
--- a/packages/dev-tcl/tdom/tdom-0.8.2.exheres-0
+++ b/packages/dev-tcl/tdom/tdom-0.8.2.exheres-0
@@ -1,4 +1,4 @@
-# Copyright 2010 Wulf C. Krueger <philantrop@exherbo.org>
+# Copyright 2010-2015 Wulf C. Krueger <philantrop@exherbo.org>
# Distributed under the terms of the GNU General Public License v2
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.11 ] ]
@@ -37,6 +37,7 @@ DEFAULT_SRC_PREPARE_PATCHES=(
)
DEFAULT_SRC_CONFIGURE_PARAMS=(
+ --hates=datarootdir
--hates=docdir
--enable-shared
--enable-threads
@@ -59,19 +60,24 @@ src_configure() {
src_compile() {
do_default unix
+
edo pushd "${WORK}"/extensions/tnc
+
edo ./configure \
- --prefix=/usr \
- --with-tdom="${WORK}"/unix \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --datadir=/usr/share \
- --sysconfdir=/etc \
- --localstatedir=/var/lib \
- --libdir=/usr/${LIBDIR} \
- --enable-shared \
- --enable-threads
+ --prefix=/usr \
+ --with-tdom="${WORK}"/unix \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --datadir=/usr/share \
+ --sysconfdir=/etc \
+ --localstatedir=/var/lib \
+ --libdir=/usr/$(exhost --target)/lib \
+ --includedir=/usr/$(exhost --target)/include \
+ --enable-shared \
+ --enable-threads
+
default
+
edo popd
}
@@ -86,6 +92,6 @@ src_install() {
do_default extensions/tnc
edo cp "${WORK}"/doc/* "${IMAGE}"/usr/share/doc/${PNVR}
- edo rmdir "${IMAGE}"/usr/bin
+ edo rmdir "${IMAGE}"/usr/$(exhost --target)/bin
}