summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny van Dyk <kugelfang@gentoo.org>2004-07-04 22:24:14 +0000
committerDanny van Dyk <kugelfang@gentoo.org>2004-07-04 22:24:14 +0000
commitbfb5d8b049c133dd66cdaca181f5b84ea96c264f (patch)
tree613d72a6334ebf3751e5fd07725f83f37dcacaa0 /net-libs/libhttpd-persistent/libhttpd-persistent-1.3p-r6.ebuild
parentAdded a minor fix before going on vacation (nothing serious). I also added a ... (diff)
downloadhistorical-bfb5d8b049c133dd66cdaca181f5b84ea96c264f.tar.gz
historical-bfb5d8b049c133dd66cdaca181f5b84ea96c264f.tar.bz2
historical-bfb5d8b049c133dd66cdaca181f5b84ea96c264f.zip
Fixed BUG #56029.
Diffstat (limited to 'net-libs/libhttpd-persistent/libhttpd-persistent-1.3p-r6.ebuild')
-rw-r--r--net-libs/libhttpd-persistent/libhttpd-persistent-1.3p-r6.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/net-libs/libhttpd-persistent/libhttpd-persistent-1.3p-r6.ebuild b/net-libs/libhttpd-persistent/libhttpd-persistent-1.3p-r6.ebuild
index 20170631fe5e..e566e02bfbf3 100644
--- a/net-libs/libhttpd-persistent/libhttpd-persistent-1.3p-r6.ebuild
+++ b/net-libs/libhttpd-persistent/libhttpd-persistent-1.3p-r6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libhttpd-persistent/libhttpd-persistent-1.3p-r6.ebuild,v 1.5 2004/07/04 10:08:04 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libhttpd-persistent/libhttpd-persistent-1.3p-r6.ebuild,v 1.6 2004/07/04 22:24:14 kugelfang Exp $
MY_P="libhttpd-1.3p-f"
@@ -9,7 +9,7 @@ HOMEPAGE="http://www.deleet.de/projekte/daap/daapd/"
SRC_URI="http://www.deleet.de/projekte/daap/daapd/${MY_P}.tgz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ~ppc ~sparc"
+KEYWORDS="x86 ~ppc ~amd64"
IUSE=""
DEPEND=""
@@ -27,8 +27,11 @@ src_compile() {
cd ${S}/src
ranlib libhttpd-persistent.a || die
- echo g++ ${CFLAGS} -D_OS_UNIX -fPIC protocol.c api.c version.c ip_acl.c select.c -o libhttpd-persistent.so -Wl,-shared,-soname,libhttpd-persistent.so
- g++ ${CFLAGS} -D_OS_UNIX -fPIC protocol.c api.c version.c ip_acl.c select.c -o libhttpd-persistent.so -Wl,-shared,-soname,libhttpd-persistent.so || die
+
+ for FILE in "protocol.c api.c version.c ip_acl.c select.c"; do
+ g++ ${CFLAGS} -D_OS_UNIX -fPIC -c ${FILE}
+ done
+ g++ -shared -Wl,-shared,-soname,libhttpd-persistent.so -o libhttpd-persistent.so || die
}
src_install() {