summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-10-13 19:42:34 +0000
committerEric Andersen <andersen@codepoet.org>2004-10-13 19:42:34 +0000
commit042bb97d179a0cdea97a059ca2a2aa12f653d8c0 (patch)
treee0229c22abcd440e1a881363db26e783e09f8dd3
parentc04d0fca9add10dbe030fdddc119303a4f590242 (diff)
downloadbuildroot-novena-042bb97d179a0cdea97a059ca2a2aa12f653d8c0.tar.gz
buildroot-novena-042bb97d179a0cdea97a059ca2a2aa12f653d8c0.zip
teach boa to compile
-rw-r--r--package/boa/boa.mk29
1 files changed, 24 insertions, 5 deletions
diff --git a/package/boa/boa.mk b/package/boa/boa.mk
index 91bf2496b..da893e646 100644
--- a/package/boa/boa.mk
+++ b/package/boa/boa.mk
@@ -4,7 +4,7 @@
#
#############################################################
-BOA_VERSION=0.94.14rc4
+BOA_VERSION=0.94.14rc20
# Don't alter below this line unless you (think) you know
# what you are doing! Danger, Danger!
@@ -24,13 +24,32 @@ $(BOA_DIR)/.unpacked: $(DL_DIR)/$(BOA_SOURCE)
$(BOA_WORKDIR)/Makefile: $(BOA_DIR)/.unpacked
rm -f $(BOA_WORKDIR)/Makefile
mkdir -p $(BOA_WORKDIR)
- (cd $(BOA_WORKDIR) && CONFIG_SITE=package/boa/boa-config.site-$(ARCH) \
- CC=$(TARGET_CC) $(BOA_DIR)/configure)
- touch $(BOA_WORKDIR)/.depend
+ #CONFIG_SITE=package/boa/boa-config.site-$(ARCH)
+ (cd $(BOA_WORKDIR); rm -rf config.cache; \
+ $(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="$(TARGET_CFLAGS)" \
+ CPPFLAGS="$(SED_CFLAGS)" \
+ $(BOA_DIR)/configure \
+ --target=$(GNU_TARGET_NAME) \
+ --host=$(GNU_TARGET_NAME) \
+ --build=$(GNU_HOST_NAME) \
+ --prefix=/usr \
+ --exec-prefix=/usr \
+ --bindir=/usr/bin \
+ --sbindir=/usr/sbin \
+ --libexecdir=/usr/lib \
+ --sysconfdir=/etc \
+ --datadir=/usr/share \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --infodir=/usr/info \
+ $(DISABLE_NLS) \
+ );
+ touch $(BOA_WORKDIR)/Makefile
$(BOA_WORKDIR)/boa $(BOA_WORKDIR)/boa_indexer: $(BOA_WORKDIR)/Makefile
rm -f $@
- $(MAKE) VPATH=$(BOA_DIR)/src/ -C $(BOA_WORKDIR)
+ $(MAKE) -C $(BOA_WORKDIR)
$(BOA_WORKDIR)/.installed: $(BOA_WORKDIR)/boa $(BOA_WORKDIR)/boa_indexer
mkdir -p $(TARGET_DIR)/usr/sbin