* Starting with SWI-Prolog 5.10.1
* SWI-Prolog is a fast and powerful ISO/Edinburgh-style Prolog compiler with a
*  rich set of built-in predicates. It offers a fast, robust and small
*  environment which enables substantial applications to be developed with it.
* incorporating feedback from Frans (patch 3165)

Signed-off-by: Jayen Ashar <[email protected]>
---
 recipes/swi-prolog/swi-prolog.inc       |   10 ++++++----
 recipes/swi-prolog/swi-prolog_5.10.1.bb |    2 +-
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/recipes/swi-prolog/swi-prolog.inc 
b/recipes/swi-prolog/swi-prolog.inc
index 772873e..a682af8 100644
--- a/recipes/swi-prolog/swi-prolog.inc
+++ b/recipes/swi-prolog/swi-prolog.inc
@@ -3,9 +3,9 @@ HOMEPAGE = "http://www.swi-prolog.org/";
 SECTION = "interpreters"
 PRIORITY = "optional"
 LICENSE = "LGPL"
-DEPENDS = "ncurses readline gmp chrpath"
+DEPENDS = "ncurses readline gmp"
 
-INC_PR = "r1"
+INC_PR = "r0"
 
 SRC_URI = 
"http://mirror.cse.unsw.edu.au/pub/debian/pool/main/s/${PN}/${PN}_${PV}.orig.tar.gz
 \
            file://configure.patch;patch=1"
@@ -23,8 +23,9 @@ do_configure() {
   fi
 }
 
-#appended so we can run configure and make on the packages directory after 
-#compiling the main enging
+#to configure and compile the packages
+#cannot be a configure_append, as it needs the main engine to be compiled first
+#cannot be a separate recipe, as it needs to be in the same WORKDIR as the 
main engine
 do_compile_append() {
   if [ -e ${S}/packages/configure ]; then
   if [ -x ${S}/packages/configure ] ; then
@@ -66,6 +67,7 @@ do_compile_append() {
 }
 
 #to install the packages
+#cannot be a separate recipe, as it needs to be in the same WORKDIR as the 
main engine
 do_install_append() {
   oe_runmake -C packages 'DESTDIR=${D}' install
 }
diff --git a/recipes/swi-prolog/swi-prolog_5.10.1.bb 
b/recipes/swi-prolog/swi-prolog_5.10.1.bb
index bb7e95b..7e96057 100644
--- a/recipes/swi-prolog/swi-prolog_5.10.1.bb
+++ b/recipes/swi-prolog/swi-prolog_5.10.1.bb
@@ -1,3 +1,3 @@
 require swi-prolog.inc
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.0"
-- 
1.7.0.4


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to