diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-17 13:21:35 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-17 13:21:35 +0000 |
commit | 65f76c989538ab2131aaa25a2041537694e3bbf7 (patch) | |
tree | da3191757da5cbfc7a7016a430ee4813d4d3cad1 /sys-block | |
parent | Stable on sh. (diff) | |
download | gentoo-2-65f76c989538ab2131aaa25a2041537694e3bbf7.tar.gz gentoo-2-65f76c989538ab2131aaa25a2041537694e3bbf7.tar.bz2 gentoo-2-65f76c989538ab2131aaa25a2041537694e3bbf7.zip |
old
Diffstat (limited to 'sys-block')
-rw-r--r-- | sys-block/mbuffer/files/digest-mbuffer-20050125 | 1 | ||||
-rw-r--r-- | sys-block/mbuffer/files/mbuffer-20050125-configure.patch | 54 | ||||
-rw-r--r-- | sys-block/mbuffer/mbuffer-20050125.ebuild | 42 |
3 files changed, 0 insertions, 97 deletions
diff --git a/sys-block/mbuffer/files/digest-mbuffer-20050125 b/sys-block/mbuffer/files/digest-mbuffer-20050125 deleted file mode 100644 index 2c583bf3f352..000000000000 --- a/sys-block/mbuffer/files/digest-mbuffer-20050125 +++ /dev/null @@ -1 +0,0 @@ -MD5 788c922ef8073172e0a99a0307564a5e mbuffer-20050125.tgz 75224 diff --git a/sys-block/mbuffer/files/mbuffer-20050125-configure.patch b/sys-block/mbuffer/files/mbuffer-20050125-configure.patch deleted file mode 100644 index 249fdb19d832..000000000000 --- a/sys-block/mbuffer/files/mbuffer-20050125-configure.patch +++ /dev/null @@ -1,54 +0,0 @@ -Remove CFLAG crap and clean up the --enable-{debug,md5} options -to work correctly. - ---- mbuffer-20050125/configure.in -+++ mbuffer-20050125/configure.in -@@ -23,17 +23,6 @@ - AC_SEARCH_LIBS(sem_init,rt posix,,AC_MSG_ERROR(could not find semaphore functions!)) - AC_PATH_PROG(MT,mt,AC_MSG_WARN(could not find the program mt - you might need this if you want autoloader support)) - --if test -n "$GCC"; then -- CFLAGS="$CFLAGS -Wall" -- case "$target_cpu" in -- i586*) -- CFLAGS="$CFLAGS -march=pentium" -- ;; -- i686*) -- CFLAGS="$CFLAGS -march=pentiumpro" -- ;; -- esac --fi - - AC_TYPE_SIGNAL - AC_FUNC_MMAP -@@ -49,15 +38,26 @@ - - AC_ARG_ENABLE(debug, - --disable-debug disable verbose logging to console for debugging purpose, -- ,AC_DEFINE_UNQUOTED(DEBUG), -+ ,enable_debug=yes - ) -+if test x$enable_debug = xyes ; then -+ AC_DEFINE_UNQUOTED(DEBUG) -+fi - - AC_ARG_ENABLE(md5, - --disable-md5 disable md5 hash generation, -- , -- AC_SEARCH_LIBS(mhash_init,mhash,AC_DEFINE_UNQUOTED(MHASH), -- AC_SEARCH_LIBS(MD5Init,md5,AC_DEFINE_UNQUOTED(MD5),AC_MSG_WARN(could not find the mhash library containing the md5 hash functions - md5 support disabled))) -+ ,enable_md5=auto - ) -+if test x$enable_md5 != xno ; then -+ AC_SEARCH_LIBS(mhash_init,mhash,AC_DEFINE_UNQUOTED(HAVE_MHASH), -+ AC_SEARCH_LIBS(MD5Init,md5,AC_DEFINE_UNQUOTED(MD5), -+ if test x$enable_md5 = xauto ; then -+ AC_MSG_WARN(could not find the mhash library containing the md5 hash functions - md5 support disabled) -+ else -+ AC_MSG_ERROR(could not find the mhash library) -+ fi -+ )) -+fi - - AC_SUBST(DEBUG) - AC_DEFINE_UNQUOTED(PACKAGE,"${PACKAGE}") diff --git a/sys-block/mbuffer/mbuffer-20050125.ebuild b/sys-block/mbuffer/mbuffer-20050125.ebuild deleted file mode 100644 index 2bb3aafd1868..000000000000 --- a/sys-block/mbuffer/mbuffer-20050125.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/mbuffer/mbuffer-20050125.ebuild,v 1.1 2005/03/20 23:40:11 vapier Exp $ - -inherit eutils - -DESCRIPTION="M(easuring)buffer is a replacement for buffer with additional functionality." -HOMEPAGE="http://www.rcs.ei.tum.de/~maierkom/privat/software/mbuffer/" -SRC_URI="http://www.rcs.ei.tum.de/~maierkom/privat/software/mbuffer/${P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="debug mhash" - -RDEPEND="mhash? ( app-crypt/mhash )" -DEPEND="${RDEPEND} - ~sys-devel/autoconf-2.13" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-configure.patch - sed -i \ - -e 's:MHASH:HAVE_MHASH:g' \ - configure.in mbuffer.c - autoconf-2.13 || die "autoconf failed" -} - -src_compile() { - econf \ - $(use_enable mhash md5) \ - $(use_enable debug) \ - || die "econf failed" - emake || die "compile problem" -} - -src_install() { - dodir /usr/bin - einstall exec_prefix="${D}"/usr || die "install failed" - dodoc AUTHORS INSTALL NEWS README ChangeLog -} |