Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] add libfcgi to buildroot it will have compiling errors as long as -lm isnt added to the buildsystem of libfcgi
       [not found] <add fcgi-2.4.0 package to buildroot>
@ 2011-09-28 14:13 ` Rico Bachmann
  2011-09-28 14:30   ` Thomas Petazzoni
  0 siblings, 1 reply; 5+ messages in thread
From: Rico Bachmann @ 2011-09-28 14:13 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Rico Bachmann <bachmann@tofwerk.com>
---
 package/Config.in          |    1 +
 package/libfcgi/Config.in  |    5 +++++
 package/libfcgi/libfcgi.mk |   13 +++++++++++++
 3 files changed, 19 insertions(+), 0 deletions(-)
 create mode 100755 package/libfcgi/Config.in
 create mode 100755 package/libfcgi/libfcgi.mk

diff --git a/package/Config.in b/package/Config.in
index 3d04056..56bb992 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -325,6 +325,7 @@ source "package/libcgicc/Config.in"
 source "package/libcurl/Config.in"
 source "package/libdnet/Config.in"
 source "package/libeXosip2/Config.in"
+source "package/libfcgi/Config.in"
 source "package/libidn/Config.in"
 source "package/libmicrohttpd/Config.in"
 source "package/neon/Config.in"
diff --git a/package/libfcgi/Config.in b/package/libfcgi/Config.in
new file mode 100755
index 0000000..169c6f2
--- /dev/null
+++ b/package/libfcgi/Config.in
@@ -0,0 +1,5 @@
+config BR2_PACKAGE_LIBFCGI
+    bool "libfcgi"
+    help
+        fastcgi developerslibrary
+        http://www.fastcgi.com/
diff --git a/package/libfcgi/libfcgi.mk b/package/libfcgi/libfcgi.mk
new file mode 100755
index 0000000..e338f29
--- /dev/null
+++ b/package/libfcgi/libfcgi.mk
@@ -0,0 +1,13 @@
+##############################################################################
+#
+# libfcgi
+#
+##############################################################################
+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))
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH] add libfcgi to buildroot it will have compiling errors as long as -lm isnt added to the buildsystem of libfcgi
  2011-09-28 14:13 ` [Buildroot] [PATCH] add libfcgi to buildroot it will have compiling errors as long as -lm isnt added to the buildsystem of libfcgi Rico Bachmann
@ 2011-09-28 14:30   ` Thomas Petazzoni
  2011-09-28 15:02     ` Rico Bachmann
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2011-09-28 14:30 UTC (permalink / raw)
  To: buildroot

Hello,

Good for the usage of git send-email!

The patch title is too long. There should be one first line of < 80
characters, and then if you need to put some other details: one blank
line, and then some other paragraphs.

And the -lm problem should be fixed rather than explained in the commit
log :-)

Le Wed, 28 Sep 2011 16:13:20 +0200,
Rico Bachmann <bachmann@tofwerk.com> a ?crit :

> +##############################################################################
> +#
> +# libfcgi
> +#
> +##############################################################################
> +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

Line not needed, this is the default.

> +LIBFCGI_CONF_OPT = --enable-shared

Line not needed, this is already part of the default configuration
options.

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH] add libfcgi to buildroot it will have compiling errors as long as -lm isnt added to the buildsystem of libfcgi
  2011-09-28 14:30   ` Thomas Petazzoni
@ 2011-09-28 15:02     ` Rico Bachmann
  2011-09-28 15:49       ` Thomas Petazzoni
  2011-09-28 15:52       ` Rico Bachmann
  0 siblings, 2 replies; 5+ messages in thread
From: Rico Bachmann @ 2011-09-28 15:02 UTC (permalink / raw)
  To: buildroot

> -----Urspr?ngliche Nachricht-----
> Von: buildroot-bounces at busybox.net [mailto:buildroot-
> bounces at busybox.net] Im Auftrag von Thomas Petazzoni
> Gesendet: Mittwoch, 28. September 2011 16:30
> An: buildroot at busybox.net
> Betreff: Re: [Buildroot] [PATCH] add libfcgi to buildroot it will have
> compiling errors as long as -lm isnt added to the buildsystem of
> libfcgi
> 
> Hello,
> 
> Good for the usage of git send-email!
> 
> The patch title is too long. There should be one first line of < 80
> characters, and then if you need to put some other details: one blank
> line, and then some other paragraphs.

that wasn't planed ^^ i didn't know that all my comments get i to the subject.
next time i will use the blank line. Did i have to commit the patch a second time, because of the long subject?

> 
> And the -lm problem should be fixed rather than explained in the commit
> log :-)
> 

i have 2 patches that fix that problem, but i don't know how to add patches to buildroot for files that are created in the build/fcgi-2.4.0/ when fcgi-2.4.0.tar.gz is unpacked

http://lists.busybox.net/pipermail/buildroot/2011-September/046084.html

in this link you can see the patches for 2 makefiles (they're attached to the mail). It is the solution to the -lm problem, but i don't know how to add that to buildroot.

> Le Wed, 28 Sep 2011 16:13:20 +0200,
> Rico Bachmann <bachmann@tofwerk.com> a ?crit :
> 
> >
> +######################################################################
> ########
> > +#
> > +# libfcgi
> > +#
> >
> +######################################################################
> ########
> > +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
> 
> Line not needed, this is the default.
> 
> > +LIBFCGI_CONF_OPT = --enable-shared
> 
> Line not needed, this is already part of the default configuration
> options.
> 
> Regards,
> 
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH] add libfcgi to buildroot it will have compiling errors as long as -lm isnt added to the buildsystem of libfcgi
  2011-09-28 15:02     ` Rico Bachmann
@ 2011-09-28 15:49       ` Thomas Petazzoni
  2011-09-28 15:52       ` Rico Bachmann
  1 sibling, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2011-09-28 15:49 UTC (permalink / raw)
  To: buildroot

Hello,

Le Wed, 28 Sep 2011 17:02:21 +0200,
"Rico Bachmann" <bachmann@tofwerk.com> a ?crit :

> that wasn't planed ^^ i didn't know that all my comments get i to the subject.
> next time i will use the blank line. Did i have to commit the patch a second time, because of the long subject?

You can simply do a :

	git commit --amend

to modify the commit message of the topmost commit.

> i have 2 patches that fix that problem, but i don't know how to add patches to buildroot for files that are created in the build/fcgi-2.4.0/ when fcgi-2.4.0.tar.gz is unpacked
> 
> http://lists.busybox.net/pipermail/buildroot/2011-September/046084.html
> 
> in this link you can see the patches for 2 makefiles (they're attached to the mail). It is the solution to the -lm problem, but i don't know how to add that to buildroot.

Simply add them in package/fcgi/, under a name like
fcgi-2.4.0-some-useful-description.patch.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH] add libfcgi to buildroot it will have compiling errors as long as -lm isnt added to the buildsystem of libfcgi
  2011-09-28 15:02     ` Rico Bachmann
  2011-09-28 15:49       ` Thomas Petazzoni
@ 2011-09-28 15:52       ` Rico Bachmann
  1 sibling, 0 replies; 5+ messages in thread
From: Rico Bachmann @ 2011-09-28 15:52 UTC (permalink / raw)
  To: buildroot

> -----Urspr?ngliche Nachricht-----
> Von: buildroot-bounces at busybox.net [mailto:buildroot-
> bounces at busybox.net] Im Auftrag von Rico Bachmann
> Gesendet: Mittwoch, 28. September 2011 17:02
> An: buildroot at busybox.net
> Cc: 'Thomas Petazzoni'
> Betreff: Re: [Buildroot] [PATCH] add libfcgi to buildroot it will have
> compiling errors as long as -lm isnt added to the buildsystem of
> libfcgi
> 
> > -----Urspr?ngliche Nachricht-----
> > Von: buildroot-bounces at busybox.net [mailto:buildroot-
> > bounces at busybox.net] Im Auftrag von Thomas Petazzoni
> > Gesendet: Mittwoch, 28. September 2011 16:30
> > An: buildroot at busybox.net
> > Betreff: Re: [Buildroot] [PATCH] add libfcgi to buildroot it will
> have
> > compiling errors as long as -lm isnt added to the buildsystem of
> > libfcgi
> >
> > Hello,
> >
> > Good for the usage of git send-email!
> >
> > The patch title is too long. There should be one first line of < 80
> > characters, and then if you need to put some other details: one blank
> > line, and then some other paragraphs.
> 
> that wasn't planed ^^ i didn't know that all my comments get i to the
> subject.
> next time i will use the blank line. Did i have to commit the patch a
> second time, because of the long subject?
> 
> >
> > And the -lm problem should be fixed rather than explained in the
> commit
> > log :-)
> >
> 
> i have 2 patches that fix that problem, but i don't know how to add
> patches to buildroot for files that are created in the build/fcgi-
> 2.4.0/ when fcgi-2.4.0.tar.gz is unpacked
> 
> http://lists.busybox.net/pipermail/buildroot/2011-September/046084.html
> 
> in this link you can see the patches for 2 makefiles (they're attached
> to the mail). It is the solution to the -lm problem, but i don't know
> how to add that to buildroot.

Did I see that right? i just have to add a libfcgi.patch file to the package/libfcgi/ folder? If it is that way, i will upload tomorrow a full functional patch, and the libfcgi will be included to buildroot

> 
> > Le Wed, 28 Sep 2011 16:13:20 +0200,
> > Rico Bachmann <bachmann@tofwerk.com> a ?crit :
> >
> > >
> >
> +######################################################################
> > ########
> > > +#
> > > +# libfcgi
> > > +#
> > >
> >
> +######################################################################
> > ########
> > > +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
> >
> > Line not needed, this is the default.
> >
> > > +LIBFCGI_CONF_OPT = --enable-shared
> >
> > Line not needed, this is already part of the default configuration
> > options.
> >
> > Regards,
> >
> > Thomas
> > --
> > Thomas Petazzoni, Free Electrons
> > Kernel, drivers, real-time and embedded Linux
> > development, consulting, training and support.
> > http://free-electrons.com
> > _______________________________________________
> > buildroot mailing list
> > buildroot at busybox.net
> > http://lists.busybox.net/mailman/listinfo/buildroot
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-09-28 15:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <add fcgi-2.4.0 package to buildroot>
2011-09-28 14:13 ` [Buildroot] [PATCH] add libfcgi to buildroot it will have compiling errors as long as -lm isnt added to the buildsystem of libfcgi Rico Bachmann
2011-09-28 14:30   ` Thomas Petazzoni
2011-09-28 15:02     ` Rico Bachmann
2011-09-28 15:49       ` Thomas Petazzoni
2011-09-28 15:52       ` Rico Bachmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox