summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPreston A. Elder <prez@gentoo.org>2002-10-15 00:37:56 +0000
committerPreston A. Elder <prez@gentoo.org>2002-10-15 00:37:56 +0000
commit3f50a4ec3499a335cee31f59dfab9480fc5226b8 (patch)
tree09f998441fba3c0219bb7f2044125f35cea469c4 /dev-libs
parentunmasking commonbox-styles-extra (diff)
downloadhistorical-3f50a4ec3499a335cee31f59dfab9480fc5226b8.tar.gz
historical-3f50a4ec3499a335cee31f59dfab9480fc5226b8.tar.bz2
historical-3f50a4ec3499a335cee31f59dfab9480fc5226b8.zip
Better way to add IPV6
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/ace/ace-5.2.4-r1.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-libs/ace/ace-5.2.4-r1.ebuild b/dev-libs/ace/ace-5.2.4-r1.ebuild
index 735d6af721c6..2152f8280899 100644
--- a/dev-libs/ace/ace-5.2.4-r1.ebuild
+++ b/dev-libs/ace/ace-5.2.4-r1.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/dev-libs/ace/ace-5.2.4-r1.ebuild,v 1.1 2002/10/14 23:40:47 prez Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ace-5.2.4-r1.ebuild,v 1.2 2002/10/15 00:37:56 prez Exp $
S=${WORKDIR}/ACE_wrappers
DESCRIPTION="The Adaptive Communications Environment"
@@ -18,10 +18,10 @@ src_unpack() {
unpack ${A}
cd ${S}/ace
- cp config-linux.h config.h
+ use ipv6 && sed -e "s/#define ACE_HAS_PTHREADS/#define ACE_HAS_PTHREADS\n#define ACE_HAS_IPV6/" config-linux.h >config.h
+ use ipv6 || cp config-linux.h config.h
cd ${S}/include/makeinclude
sed -e "s:-O3:${CFLAGS}:" platform_linux.GNU >platform_macros.GNU
- use ipv6 && echo "CPPFLAGS += -DACE_HAS_IPV6" >>platform_macros.GNU
}
src_compile() {