summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-09-05 07:08:22 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-09-05 07:08:22 +0000
commit666b51c69b00b20af83f1335dba53589c95de879 (patch)
tree4350bb9bc98aa833b37d3c66dc726bdc06e32684 /sys-libs
parentFixed the ebuild to accurately reflect --prefix=/usr , thus fixing the (diff)
downloadgentoo-2-666b51c69b00b20af83f1335dba53589c95de879.tar.gz
gentoo-2-666b51c69b00b20af83f1335dba53589c95de879.tar.bz2
gentoo-2-666b51c69b00b20af83f1335dba53589c95de879.zip
do not install headers, as they conflict with ncurses
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libtermcap-compat/libtermcap-compat-1.2.3.ebuild19
1 files changed, 12 insertions, 7 deletions
diff --git a/sys-libs/libtermcap-compat/libtermcap-compat-1.2.3.ebuild b/sys-libs/libtermcap-compat/libtermcap-compat-1.2.3.ebuild
index b8f27661f0ca..46f113e842b3 100644
--- a/sys-libs/libtermcap-compat/libtermcap-compat-1.2.3.ebuild
+++ b/sys-libs/libtermcap-compat/libtermcap-compat-1.2.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libtermcap-compat/libtermcap-compat-1.2.3.ebuild,v 1.1 2002/09/05 06:39:01 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libtermcap-compat/libtermcap-compat-1.2.3.ebuild,v 1.2 2002/09/05 07:08:22 azarah Exp $
MY_PN="termcap-compat"
S="${WORKDIR}/${MY_PN}-${PV}"
@@ -12,7 +12,8 @@ LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="x86"
-DEPEND="virtual/glibc"
+DEPEND="virtual/glibc
+ sys-libs/ncurses"
src_unpack() {
unpack ${A}
@@ -21,15 +22,19 @@ src_unpack() {
}
src_compile() {
- emake prefix="/usr" \
- CFLAGS="${CFLAGS}" || die
+ emake prefix="/" \
+ CFLAGS="${CFLAGS} -I." || die
}
src_install () {
- dodir /usr/{include,lib}
- make prefix="${D}/usr" install || die
+ dodir /lib /include /usr/lib
+ make prefix="${D}" install || die
- dosym libtermcap.so.2.0.8 /usr/lib/libtermcap.so
+ # Conflicts with ncurses.
+ rm -rf ${D}/include
+
+ cd ${D}/lib; mv libtermcap.a ../usr/lib
+ dosym libtermcap.so.2.0.8 /lib/libtermcap.so
insinto /etc
newins ${S}/termtypes.tc termcap