All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rico Bachmann <bachmann@tofwerk.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] add libfcgi to buildroot
Date: Thu, 29 Sep 2011 10:45:17 +0200	[thread overview]
Message-ID: <1317285917-2134-1-git-send-email-bachmann@tofwerk.com> (raw)
In-Reply-To: <add libfcgi to buildroot>

added the patches, still not working
could be a problem with the filepath in the patch?

Signed-off-by: Rico Bachmann <bachmann@tofwerk.com>
---
 package/libfcgi/Config.in               |    3 ++-
 package/libfcgi/libfcgi.mk              |    2 --
 package/libfcgi/link_math_cgifcgi.patch |   11 +++++++++++
 package/libfcgi/link_math_example.patch |   11 +++++++++++
 4 files changed, 24 insertions(+), 3 deletions(-)
 create mode 100755 package/libfcgi/link_math_cgifcgi.patch
 create mode 100755 package/libfcgi/link_math_example.patch

diff --git a/package/libfcgi/Config.in b/package/libfcgi/Config.in
index 169c6f2..a2f448b 100755
--- a/package/libfcgi/Config.in
+++ b/package/libfcgi/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LIBFCGI
     bool "libfcgi"
     help
-        fastcgi developerslibrary
+        This is a fastcgi developer library for C/C++
         http://www.fastcgi.com/
+
diff --git a/package/libfcgi/libfcgi.mk b/package/libfcgi/libfcgi.mk
index e338f29..04c9996 100755
--- a/package/libfcgi/libfcgi.mk
+++ b/package/libfcgi/libfcgi.mk
@@ -7,7 +7,5 @@ LIBFCGI_VERSION = 2.4.0
 LIBFCGI_SOURCE = fcgi-$(LIBFCGI_VERSION).tar.gz
 LIBFCGI_SITE = http://www.fastcgi.com/dist
 LIBFCGI_INSTALL_STAGING = YES
-LIBFCGI_INSTALL_TARGET = YES
-LIBFCGI_CONF_OPT = --enable-shared
 
 $(eval $(call AUTOTARGETS,package,libfcgi))
diff --git a/package/libfcgi/link_math_cgifcgi.patch b/package/libfcgi/link_math_cgifcgi.patch
new file mode 100755
index 0000000..add425a
--- /dev/null
+++ b/package/libfcgi/link_math_cgifcgi.patch
@@ -0,0 +1,11 @@
+--- ../../output/build/fcgi-2.4.0/Makefile	2011-09-29 09:03:22.000000000 +0200
++++ ../../output/build/fcgi-2.4.0/Makefile	2011-09-29 09:05:06.000000000 +0200
+@@ -119,7 +119,7 @@
+ 
+ DEFS = -DHAVE_CONFIG_H
+ DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
+-LDFLAGS = 
++LDFLAGS = -lm
+ LIBS = -lnsl 
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ DEP_FILES = $(DEPDIR)/cgi-fcgi.Po
diff --git a/package/libfcgi/link_math_example.patch b/package/libfcgi/link_math_example.patch
new file mode 100755
index 0000000..fff2595
--- /dev/null
+++ b/package/libfcgi/link_math_example.patch
@@ -0,0 +1,11 @@
+--- ../../output/build/fcgi-2.4.0/Makefile	2011-09-29 09:03:22.000000000 +0200
++++ ../../output/build/fcgi-2.4.0/Makefile	2011-09-29 09:04:37.000000000 +0200
+@@ -171,7 +171,7 @@
+ 
+ DEFS = -DHAVE_CONFIG_H
+ DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
+-LDFLAGS = 
++LDFLAGS = -lm
+ LIBS = -lnsl 
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ DEP_FILES = $(DEPDIR)/authorizer.Po $(DEPDIR)/echo-cpp.Po \
-- 
1.7.2.5

       reply	other threads:[~2011-09-29  8:45 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <add libfcgi to buildroot>
2011-09-29  8:45 ` Rico Bachmann [this message]
2011-09-29  9:58   ` [Buildroot] [PATCH 2/2] add libfcgi to buildroot Thomas Petazzoni
2011-10-01 20:59     ` Arnout Vandecappelle
2011-10-06  6:53       ` Rico Bachmann
2011-10-11 14:29       ` Rico Bachmann
2011-10-11 16:06         ` Arnout Vandecappelle
2011-10-12 10:12           ` Rico Bachmann
2011-10-13 22:33             ` Arnout Vandecappelle
2011-10-13 22:46               ` [Buildroot] [PATCH] package: add libfcgi fast cgi library Arnout Vandecappelle
2011-10-14  6:35                 ` Thomas Petazzoni
2011-10-14  7:59                   ` [Buildroot] [PATCH v2] " Arnout Vandecappelle
2011-10-14  9:08                     ` Thomas Petazzoni
2011-10-14  9:16                       ` [Buildroot] [PATCH v3] " Arnout Vandecappelle
2012-04-25 10:24                         ` Rico Bachmann
2012-04-27 21:11                           ` Arnout Vandecappelle
2012-04-29 18:37                         ` Peter Korsgaard
2012-04-30 14:13                           ` Rico Bachmann
2012-04-30 14:23                             ` Rico Bachmann
2012-04-30 15:48                               ` Rico Bachmann
2012-04-30 17:11                             ` Peter Korsgaard
2012-05-01  8:40                               ` Rico Bachmann
2011-09-29  9:30 ` [Buildroot] [PATCH 2/2] add libfcgi to buildroot Rico Bachmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1317285917-2134-1-git-send-email-bachmann@tofwerk.com \
    --to=bachmann@tofwerk.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.