* [ptxdist] [PATCH] gnuplot: Fix build on Darwin
@ 2012-01-21 23:15 Bernhard Walle
0 siblings, 0 replies; only message in thread
From: Bernhard Walle @ 2012-01-21 23:15 UTC (permalink / raw)
To: ptxdist
This patch adds 0002-Don-t-use-LDFLAGS-when-building-the-documentation-ge.patch
for gnuplot. This patch fixes building the documentation generator which
is executed on the host.
Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
---
...ld-documentation-generator-tools-with-CC_.patch | 2 -
...DFLAGS-when-building-the-documentation-ge.patch | 30 ++++++++++++++++++++
patches/gnuplot-4.4.3/series | 3 +-
3 files changed, 32 insertions(+), 3 deletions(-)
create mode 100644 patches/gnuplot-4.4.3/0002-Don-t-use-LDFLAGS-when-building-the-documentation-ge.patch
diff --git a/patches/gnuplot-4.4.3/0001-gnuplot-build-documentation-generator-tools-with-CC_.patch b/patches/gnuplot-4.4.3/0001-gnuplot-build-documentation-generator-tools-with-CC_.patch
index cbc130b..702ab8b 100644
--- a/patches/gnuplot-4.4.3/0001-gnuplot-build-documentation-generator-tools-with-CC_.patch
+++ b/patches/gnuplot-4.4.3/0001-gnuplot-build-documentation-generator-tools-with-CC_.patch
@@ -9,8 +9,6 @@ CC_FOR_BUILD.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
---
-# 20091222 rsc: https://sourceforge.net/tracker/?func=detail&aid=2918992&group_id=2055&atid=302055
-
configure.in | 42 ++++++++++++++++++++++++++++++++++++++++++
docs/Makefile.in | 4 ++--
2 files changed, 44 insertions(+), 2 deletions(-)
diff --git a/patches/gnuplot-4.4.3/0002-Don-t-use-LDFLAGS-when-building-the-documentation-ge.patch b/patches/gnuplot-4.4.3/0002-Don-t-use-LDFLAGS-when-building-the-documentation-ge.patch
new file mode 100644
index 0000000..968eaf8
--- /dev/null
+++ b/patches/gnuplot-4.4.3/0002-Don-t-use-LDFLAGS-when-building-the-documentation-ge.patch
@@ -0,0 +1,30 @@
+From: Bernhard Walle <bernhard@bwalle.de>
+Date: Sun, 22 Jan 2012 00:03:59 +0100
+Subject: [PATCH] Don't use LDFLAGS when building the documentation generator
+
+The documentation generator is a tool running on the build machine.
+Therefore the LDFLAGS computed for the cross compiler may not work, such
+as the "-Wl,-rpath-link" flag which is not understood by the Darwin
+linker.
+
+The doc2gih is simple and doesn't require an external library. So we
+don't also need special LDFLAGS. Omit them.
+
+Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
+---
+ docs/Makefile.in | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/docs/Makefile.in b/docs/Makefile.in
+index 591d818..0e2ef8f 100644
+--- a/docs/Makefile.in
++++ b/docs/Makefile.in
+@@ -83,7 +83,7 @@ LIBS =
+
+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(CCLD) $(CFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(CFLAGS) -o $@
+
+ .c.o:
+ $(COMPILE) -c $<
diff --git a/patches/gnuplot-4.4.3/series b/patches/gnuplot-4.4.3/series
index 2abd8f8..585745c 100644
--- a/patches/gnuplot-4.4.3/series
+++ b/patches/gnuplot-4.4.3/series
@@ -1,4 +1,5 @@
# generated by git-ptx-patches
#tag:base --start-number 1
0001-gnuplot-build-documentation-generator-tools-with-CC_.patch
-# 3e114650ad53e5a48943395ff97a63b0 - git-ptx-patches magic
+0002-Don-t-use-LDFLAGS-when-building-the-documentation-ge.patch
+# ffd95c4575ca3e3194e093f925705906 - git-ptx-patches magic
--
1.7.7.4
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-01-21 23:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-21 23:15 [ptxdist] [PATCH] gnuplot: Fix build on Darwin Bernhard Walle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox