diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-04-27 04:59:41 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-04-27 04:59:41 +0000 |
commit | 65e7446cae25f556cc2eed4fd2b1fcebaf692610 (patch) | |
tree | 5e7ebd47d2e5efd93cec9c637f8a29992a815e89 /app-misc/ckermit | |
parent | Updated gnupg to 1.0.4-r1, added a check for nls, and added SUID on the gpg (diff) | |
download | gentoo-2-65e7446cae25f556cc2eed4fd2b1fcebaf692610.tar.gz gentoo-2-65e7446cae25f556cc2eed4fd2b1fcebaf692610.tar.bz2 gentoo-2-65e7446cae25f556cc2eed4fd2b1fcebaf692610.zip |
Fixed a glibc-2.2.2 header issue and hacked in CFLAGS support
Diffstat (limited to 'app-misc/ckermit')
-rw-r--r-- | app-misc/ckermit/ckermit-7.0.ebuild | 12 | ||||
-rw-r--r-- | app-misc/ckermit/files/ckermit-7.0-gentoo.diff | 13 |
2 files changed, 24 insertions, 1 deletions
diff --git a/app-misc/ckermit/ckermit-7.0.ebuild b/app-misc/ckermit/ckermit-7.0.ebuild index a81d739c234c..a2cb87ac9576 100644 --- a/app-misc/ckermit/ckermit-7.0.ebuild +++ b/app-misc/ckermit/ckermit-7.0.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Michael Conrad Tilstra <michael@gentoo.org> <tadpol@tadpol.org> -# $Header: /var/cvsroot/gentoo-x86/app-misc/ckermit/ckermit-7.0.ebuild,v 1.1 2001/04/25 18:50:01 michael Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/ckermit/ckermit-7.0.ebuild,v 1.2 2001/04/27 04:59:41 achim Exp $ #P= A=cku197.tar.gz @@ -13,7 +13,17 @@ HOMEPAGE="http://www.kermit-project.org/" DEPEND="virtual/glibc >=sys-libs/ncurses-5.2" +src_unpack () { + + unpack ${A} + cd ${S} + patch -p0 < ${FILESDIR}/${PF}-gentoo.diff + cp makefile makefile.orig + sed -e "s:-O:$CFLAGS:" makefile.orig > makefile +} + src_compile() { + try make \"KFLAGS=-DCK_SHADOW\" linux } diff --git a/app-misc/ckermit/files/ckermit-7.0-gentoo.diff b/app-misc/ckermit/files/ckermit-7.0-gentoo.diff new file mode 100644 index 000000000000..c0dcb04bf0d4 --- /dev/null +++ b/app-misc/ckermit/files/ckermit-7.0-gentoo.diff @@ -0,0 +1,13 @@ +--- ckcnet.c~ Sat Feb 5 18:27:48 2000 ++++ ckcnet.c Fri Apr 27 04:58:43 2001 +@@ -57,7 +57,9 @@ + #ifdef CK_SSL + #include "ck_ssl.h" + #endif /* CK_SSL */ +- ++#ifdef LINUX ++#include <time.h> ++#endif + #ifdef CK_DNS_SRV + #ifdef OS2 + #ifdef NT |