summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2003-12-23 13:56:44 +0000
committerHeinrich Wendel <lanius@gentoo.org>2003-12-23 13:56:44 +0000
commit9d56abca9aec143bff3e5336626a1e2817ffe950 (patch)
treec501c2c336ece811d19d589349f50e5dbe6deba9 /eclass
parenttypo (diff)
downloadgentoo-2-9d56abca9aec143bff3e5336626a1e2817ffe950.tar.gz
gentoo-2-9d56abca9aec143bff3e5336626a1e2817ffe950.tar.bz2
gentoo-2-9d56abca9aec143bff3e5336626a1e2817ffe950.zip
add vars for lesstif dirs
Diffstat (limited to 'eclass')
-rw-r--r--eclass/motif.eclass20
1 files changed, 4 insertions, 16 deletions
diff --git a/eclass/motif.eclass b/eclass/motif.eclass
index cfef61f48193..7d4b4764c6f5 100644
--- a/eclass/motif.eclass
+++ b/eclass/motif.eclass
@@ -1,24 +1,12 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/motif.eclass,v 1.1 2003/12/01 15:02:31 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/motif.eclass,v 1.2 2003/12/23 13:56:44 lanius Exp $
#
# Heinrich Wednel <lanius@gentoo.org>
ECLASS=motif
INHERITED="$INHERITED $ECLASS"
-DEPEND="${DEPEND} >=sys-apps/sed-4"
-# Fix all headers to version ${1}
-motif_fix_headers() {
- VERSION=${1}
-
- MATCHES="$(grep -l -i -R -e "#include <Xm" -e "#include <Mrm" -e "#include <uil" * | sort -u)"
-
- for i in ${MATCHES}
- do
- sed -i -e "s:#include <Xm:#include <Xm/${VERSION}/Xm:g" \
- -e "s:#include <Mrm:#include <Mrm/${VERSION}/Mrm:g" \
- -e "s:#include <uil:#include <uil/${VERSION}/uil:g" \
- ${i}
- done
-}
+LESSTIF_INC_DIR="/usr/X11R6/include/lesstif"
+LESSTIF_LIB_DIR="/usr/X11R6/lib/lesstif"
+LESSTIF_BIN_DIR="/usr/X11R6/bin/lesstif"