summaryrefslogtreecommitdiff
path: root/recipes/gpsd/files/cross-compile-on-gentoo.patch
diff options
context:
space:
mode:
authorKlaus Kurzmann <mok@fluxnetz.de>2010-04-03 18:50:45 +0200
committerKlaus Kurzmann <mok@fluxnetz.de>2010-04-03 18:50:45 +0200
commit82b51b6abd7b43ae6fa1c7d01b780d0c99d22804 (patch)
treeb1455904c992c92a18dc5f48253d0f37c4ff7590 /recipes/gpsd/files/cross-compile-on-gentoo.patch
parent5eef2a8892b12b3215f52065c2c177f576c41959 (diff)
parentd2bd4a770d2a5b3fd56bd3a8584935240d9012f8 (diff)
Merge branch 'org.openembedded.dev' of git+ssh://git.openembedded.net/openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/gpsd/files/cross-compile-on-gentoo.patch')
-rw-r--r--recipes/gpsd/files/cross-compile-on-gentoo.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes/gpsd/files/cross-compile-on-gentoo.patch b/recipes/gpsd/files/cross-compile-on-gentoo.patch
new file mode 100644
index 0000000000..d3d3231653
--- /dev/null
+++ b/recipes/gpsd/files/cross-compile-on-gentoo.patch
@@ -0,0 +1,28 @@
+diff -uNr gpsd-2.91.orig//configure.ac gpsd-2.91/configure.ac
+--- gpsd-2.91.orig//configure.ac 2010-03-01 22:56:56.000000000 +0100
++++ gpsd-2.91/configure.ac 2010-04-01 16:58:00.000000000 +0200
+@@ -974,12 +974,6 @@
+ AC_SUBST(MANTARGET)
+ AC_SUBST(MANFLAGS)
+
+-dnl Gentoo systems can have a problem with the Python path
+-if test -e /etc/gentoo-release; then
+- AC_MSG_WARN([This is a Gentoo system.])
+- AC_MSG_WARN([Adjust your PYTHONPATH to see library directories under /usr/local/lib])
+-fi
+-
+ dnl Output the configuration summary
+ echo ""
+ echo "=========================================="
+diff -uNr gpsd-2.91.orig//Makefile.am gpsd-2.91/Makefile.am
+--- gpsd-2.91.orig//Makefile.am 2010-04-02 00:04:47.000000000 +0200
++++ gpsd-2.91/Makefile.am 2010-04-02 00:03:18.000000000 +0200
+@@ -257,7 +257,7 @@
+
+ # Install Python modules
+ install-exec-local:
+- $(PYTHON) setup.py install --prefix=${prefix} # --root=$(DESTDIR)
++ $(PYTHON) setup.py install --prefix=${prefix} --root=$(DESTDIR)
+ endif
+
+ if LIBGPSMM_ENABLE