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
commit15ebee26c2654f54f75eb755894dc22ea7343731 (patch)
tree088648685aa4e4d6b1c690918883266d010e2ad8 /sys-libs/libtermcap-compat
parentFixed the ebuild to accurately reflect --prefix=/usr , thus fixing the (diff)
downloadhistorical-15ebee26c2654f54f75eb755894dc22ea7343731.tar.gz
historical-15ebee26c2654f54f75eb755894dc22ea7343731.tar.bz2
historical-15ebee26c2654f54f75eb755894dc22ea7343731.zip
do not install headers, as they conflict with ncurses
Diffstat (limited to 'sys-libs/libtermcap-compat')
-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