public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-mathematics/pari/files: pari-2.5.0-mp.c.patch pari-2.5.0-doc-make.patch pari-2.5.0-macos.patch
@ 2011-07-27 19:03 Sebastien Fabbro (bicatali)
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastien Fabbro (bicatali) @ 2011-07-27 19:03 UTC (permalink / raw
  To: gentoo-commits

bicatali    11/07/27 19:03:56

  Added:                pari-2.5.0-mp.c.patch pari-2.5.0-doc-make.patch
                        pari-2.5.0-macos.patch
  Log:
  Split up data to another pari-data packages, due to upstream not updating its package names. Added a few patches submitted by Francois Bissey: one for parallel make, one for sage compatibility and one for ppc-macos
  
  (Portage version: 2.1.10.7/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sci-mathematics/pari/files/pari-2.5.0-mp.c.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-mp.c.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-mp.c.patch?rev=1.1&content-type=text/plain

Index: pari-2.5.0-mp.c.patch
===================================================================
Index: src/kernel/gmp/mp.c
===================================================================
--- src/kernel/gmp/mp.c	(revision 13151)
+++ src/kernel/gmp/mp.c	(working copy)
@@ -45,18 +45,8 @@
 /*We need PARI invmod renamed to invmod_pari*/
 #define INVMOD_PARI
 
-static void *gmp_realloc(void *ptr, size_t old_size, size_t new_size) {
-  (void)old_size; return (void *) pari_realloc(ptr,new_size);
-}
-
-static void gmp_free(void *ptr, size_t old_size){
-  (void)old_size; pari_free(ptr);
-}
-
 int pari_kernel_init(void)
 {
-  /* Use pari_malloc instead of malloc */
-  mp_set_memory_functions((void *(*)(size_t)) pari_malloc, gmp_realloc, gmp_free);
   return 0;
 }



1.1                  sci-mathematics/pari/files/pari-2.5.0-doc-make.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-doc-make.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-doc-make.patch?rev=1.1&content-type=text/plain

Index: pari-2.5.0-doc-make.patch
===================================================================
--- config/DOC_Make.SH.orig	2010-09-07 07:26:42.000000000 +1200
+++ config/DOC_Make.SH	2010-09-26 14:56:35.445516459 +1300
@@ -11,7 +11,8 @@
 
 doc all: develop.dvi libpari.dvi users.dvi refcard.ps tutorial.dvi
 docps: develop.ps libpari.ps refcard.ps tutorial.ps users.ps INSTALL.ps
-docpdf: develop.pdf libpari.pdf users.pdf tutorial.pdf refcard.pdf INSTALL.pdf
+#docpdf: develop.pdf libpari.pdf users.pdf tutorial.pdf refcard.pdf INSTALL.pdf
+docpdf: \$(PARI_TEX) \$(MACROS) pass1 pass2 indexing refcard.pdf INSTALL.pdf
 
 .SUFFIXES: .tex .ipf .pod .inf .dumbpod .3 .html
 
@@ -30,27 +31,49 @@
 usersch3.tex: ../src/desc/doc_make ../src/desc/pari.desc usersFUNCS.tex
 	cd ../src/desc && \$(PERL) doc_make > ../../doc/usersch3.tex
 
+pass1: \$(PARI_TEX) \$(USERS_TEX) develop.tex tutorial.tex \$(MACROS)
+	-rm -f *.std
+	pdftex libpari
+	pdftex develop
+	pdftex tutorial
+	pdftex users
+
+pass2: pass1
+	pdftex libpari
+	pdftex develop
+	pdftex tutorial
+	pdftex users
+
+indexing: pass2
+	\$(MAKE) libpari.std
+	\$(MAKE) develop.std
+	\$(MAKE) users.std
+	pdftex libpari
+	pdftex develop
+	pdftex users
+	-rm -f *.std
+
 libpari.pdf: \$(PARI_TEX) \$(MACROS)
 	-rm -f libpari.std
 	pdftex libpari
 	pdftex libpari
-	make libpari.std; pdftex libpari; rm -f libpari.std
+	\$(MAKE) libpari.std; pdftex libpari; rm -f libpari.std
 libpari.dvi: \$(PARI_TEX) \$(MACROS)
 	-rm -f libpari.std
 	tex libpari
 	tex libpari
-	make libpari.std; tex libpari; rm -f libpari.std
+	\$(MAKE) libpari.std; tex libpari; rm -f libpari.std
 
 develop.pdf: develop.tex \$(MACROS)
 	-rm -f develop.std
 	pdftex develop
 	pdftex develop
-	make develop.std; pdftex develop; rm -f develop.std
+	\$(MAKE) develop.std; pdftex develop; rm -f develop.std
 develop.dvi: develop.tex \$(MACROS)
 	-rm -f develop.std
 	tex develop
 	tex develop
-	make develop.std; tex develop; rm -f develop.std
+	\$(MAKE) develop.std; tex develop; rm -f develop.std
 
 tutorial.pdf: tutorial.tex \$(MACROS)
 	-rm -f tutorial.std
@@ -78,13 +101,13 @@
 	-rm -f users.std
 	tex users
 	tex users
-	make users.std; tex users; rm -f users.std
+	\$(MAKE) users.std; tex users; rm -f users.std
 
 users.pdf: \$(USERS_TEX)
 	-rm -f users.std
 	pdftex users
 	pdftex users
-	make users.std; pdftex users; rm -f users.std
+	\$(MAKE) users.std; pdftex users; rm -f users.std
 
 gpman: gp.1
 	nroff -man gp.1 | unix2dos -ascii > gp.man



1.1                  sci-mathematics/pari/files/pari-2.5.0-macos.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-macos.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-macos.patch?rev=1.1&content-type=text/plain

Index: pari-2.5.0-macos.patch
===================================================================
--- config/get_dlld.orig	2010-12-21 13:49:25.000000000 +1300
+++ config/get_dlld	2010-12-21 14:04:21.000000000 +1300
@@ -93,7 +93,7 @@
       *) extra=;;
     esac
     case "$osname" in
-      darwin) shared=-dynamiclib;;
+      darwin) shared="-dynamiclib -install_name \$(PURELIBDIR)/\$(LIBPARI_DYN)";;
       *) shared=-shared;;
     esac
     DLLDFLAGS="$shared $extra \$(CFLAGS) \$(DLCFLAGS) $DLLDFLAGS"
--- config/Makefile.SH.orig	2010-12-23 11:51:01.000000000 +1300
+++ config/Makefile.SH	2010-12-23 11:52:10.000000000 +1300
@@ -231,6 +231,7 @@
 # DESTDIR is used to install to a false hierachy (to build a Debian package)
 INCLUDEDIR= "\$(DESTDIR)$includedir"
 LIBDIR    = "\$(DESTDIR)$libdir"
+PURELIBDIR= $libdir
 BINDIR    = "\$(DESTDIR)$bindir"
 MANDIR    = "\$(DESTDIR)$mandir"
 DATADIR   = "\$(DESTDIR)$datadir"






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

* [gentoo-commits] gentoo-x86 commit in sci-mathematics/pari/files: pari-2.5.0-mp.c.patch pari-2.5.0-doc-make.patch pari-2.5.0-macos.patch
@ 2011-07-28 17:56 Sebastien Fabbro (bicatali)
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastien Fabbro (bicatali) @ 2011-07-28 17:56 UTC (permalink / raw
  To: gentoo-commits

bicatali    11/07/28 17:56:00

  Modified:             pari-2.5.0-mp.c.patch pari-2.5.0-doc-make.patch
                        pari-2.5.0-macos.patch
  Log:
  More patch updates by Francois Bissey
  
  (Portage version: 2.1.10.7/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  sci-mathematics/pari/files/pari-2.5.0-mp.c.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-mp.c.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-mp.c.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-mp.c.patch?r1=1.1&r2=1.2

Index: pari-2.5.0-mp.c.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-mp.c.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pari-2.5.0-mp.c.patch	27 Jul 2011 19:03:56 -0000	1.1
+++ pari-2.5.0-mp.c.patch	28 Jul 2011 17:56:00 -0000	1.2
@@ -20,3 +20,4 @@
 -  mp_set_memory_functions((void *(*)(size_t)) pari_malloc, gmp_realloc, gmp_free);
    return 0;
  }
+ 



1.2                  sci-mathematics/pari/files/pari-2.5.0-doc-make.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-doc-make.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-doc-make.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-doc-make.patch?r1=1.1&r2=1.2

Index: pari-2.5.0-doc-make.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-doc-make.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pari-2.5.0-doc-make.patch	27 Jul 2011 19:03:56 -0000	1.1
+++ pari-2.5.0-doc-make.patch	28 Jul 2011 17:56:00 -0000	1.2
@@ -1,6 +1,6 @@
---- config/DOC_Make.SH.orig	2010-09-07 07:26:42.000000000 +1200
-+++ config/DOC_Make.SH	2010-09-26 14:56:35.445516459 +1300
-@@ -11,7 +11,8 @@
+--- config/DOC_Make.SH.orig	2011-07-28 14:11:34.430896929 +1200
++++ config/DOC_Make.SH	2011-07-28 14:11:39.832738158 +1200
+@@ -21,7 +21,8 @@
  
  doc all: develop.dvi libpari.dvi users.dvi refcard.ps tutorial.dvi
  docps: develop.ps libpari.ps refcard.ps tutorial.ps users.ps INSTALL.ps
@@ -10,9 +10,9 @@
  
  .SUFFIXES: .tex .ipf .pod .inf .dumbpod .3 .html
  
-@@ -30,27 +31,49 @@
- usersch3.tex: ../src/desc/doc_make ../src/desc/pari.desc usersFUNCS.tex
- 	cd ../src/desc && \$(PERL) doc_make > ../../doc/usersch3.tex
+@@ -37,27 +38,49 @@
+ %.dvi: %.tex \$(MACROS)
+ 	tex \$<
  
 +pass1: \$(PARI_TEX) \$(USERS_TEX) develop.tex tutorial.tex \$(MACROS)
 +	-rm -f *.std
@@ -54,7 +54,7 @@
  	pdftex develop
  	pdftex develop
 -	make develop.std; pdftex develop; rm -f develop.std
-+	\$(MAKE) develop.std; pdftex develop; rm -f develop.std
++	\$(MAKE)make develop.std; pdftex develop; rm -f develop.std
  develop.dvi: develop.tex \$(MACROS)
  	-rm -f develop.std
  	tex develop
@@ -64,7 +64,7 @@
  
  tutorial.pdf: tutorial.tex \$(MACROS)
  	-rm -f tutorial.std
-@@ -78,13 +101,13 @@
+@@ -85,13 +108,13 @@
  	-rm -f users.std
  	tex users
  	tex users



1.2                  sci-mathematics/pari/files/pari-2.5.0-macos.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-macos.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-macos.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-macos.patch?r1=1.1&r2=1.2

Index: pari-2.5.0-macos.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-macos.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pari-2.5.0-macos.patch	27 Jul 2011 19:03:56 -0000	1.1
+++ pari-2.5.0-macos.patch	28 Jul 2011 17:56:00 -0000	1.2
@@ -1,6 +1,6 @@
---- config/get_dlld.orig	2010-12-21 13:49:25.000000000 +1300
-+++ config/get_dlld	2010-12-21 14:04:21.000000000 +1300
-@@ -93,7 +93,7 @@
+--- config/get_dlld.orig	2011-07-28 14:27:13.341072367 +1200
++++ config/get_dlld	2011-07-28 14:27:46.225178023 +1200
+@@ -94,7 +94,7 @@
        *) extra=;;
      esac
      case "$osname" in
@@ -9,9 +9,9 @@
        *) shared=-shared;;
      esac
      DLLDFLAGS="$shared $extra \$(CFLAGS) \$(DLCFLAGS) $DLLDFLAGS"
---- config/Makefile.SH.orig	2010-12-23 11:51:01.000000000 +1300
-+++ config/Makefile.SH	2010-12-23 11:52:10.000000000 +1300
-@@ -231,6 +231,7 @@
+--- config/Makefile.SH.orig	2011-07-28 14:29:06.753681364 +1200
++++ config/Makefile.SH	2011-07-28 14:29:10.589276933 +1200
+@@ -234,6 +234,7 @@
  # DESTDIR is used to install to a false hierachy (to build a Debian package)
  INCLUDEDIR= "\$(DESTDIR)$includedir"
  LIBDIR    = "\$(DESTDIR)$libdir"






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

* [gentoo-commits] gentoo-x86 commit in sci-mathematics/pari/files: pari-2.5.0-mp.c.patch pari-2.5.0-doc-make.patch pari-2.5.0-macos.patch
@ 2011-08-04  0:23 Sebastien Fabbro (bicatali)
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastien Fabbro (bicatali) @ 2011-08-04  0:23 UTC (permalink / raw
  To: gentoo-commits

bicatali    11/08/04 00:23:54

  Modified:             pari-2.5.0-mp.c.patch pari-2.5.0-doc-make.patch
                        pari-2.5.0-macos.patch
  Log:
  Finally the right patches by Francois Bissey
  
  (Portage version: 2.1.10.10/cvs/Linux x86_64)

Revision  Changes    Path
1.3                  sci-mathematics/pari/files/pari-2.5.0-mp.c.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-mp.c.patch?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-mp.c.patch?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-mp.c.patch?r1=1.2&r2=1.3

Index: pari-2.5.0-mp.c.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-mp.c.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- pari-2.5.0-mp.c.patch	28 Jul 2011 17:56:00 -0000	1.2
+++ pari-2.5.0-mp.c.patch	4 Aug 2011 00:23:54 -0000	1.3
@@ -1,23 +1,23 @@
-Index: src/kernel/gmp/mp.c
-===================================================================
---- src/kernel/gmp/mp.c	(revision 13151)
-+++ src/kernel/gmp/mp.c	(working copy)
-@@ -45,18 +45,8 @@
- /*We need PARI invmod renamed to invmod_pari*/
- #define INVMOD_PARI
- 
--static void *gmp_realloc(void *ptr, size_t old_size, size_t new_size) {
--  (void)old_size; return (void *) pari_realloc(ptr,new_size);
--}
--
--static void gmp_free(void *ptr, size_t old_size){
--  (void)old_size; pari_free(ptr);
--}
--
- int pari_kernel_init(void)
- {
--  /* Use pari_malloc instead of malloc */
--  mp_set_memory_functions((void *(*)(size_t)) pari_malloc, gmp_realloc, gmp_free);
-   return 0;
- }
- 
+Index: src/kernel/gmp/mp.c
+===================================================================
+--- src/kernel/gmp/mp.c	(revision 13151)
++++ src/kernel/gmp/mp.c	(working copy)
+@@ -45,18 +45,8 @@
+ /*We need PARI invmod renamed to invmod_pari*/
+ #define INVMOD_PARI
+ 
+-static void *gmp_realloc(void *ptr, size_t old_size, size_t new_size) {
+-  (void)old_size; return (void *) pari_realloc(ptr,new_size);
+-}
+-
+-static void gmp_free(void *ptr, size_t old_size){
+-  (void)old_size; pari_free(ptr);
+-}
+-
+ int pari_kernel_init(void)
+ {
+-  /* Use pari_malloc instead of malloc */
+-  mp_set_memory_functions((void *(*)(size_t)) pari_malloc, gmp_realloc, gmp_free);
+   return 0;
+ }
+ 



1.3                  sci-mathematics/pari/files/pari-2.5.0-doc-make.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-doc-make.patch?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-doc-make.patch?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-doc-make.patch?r1=1.2&r2=1.3

Index: pari-2.5.0-doc-make.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-doc-make.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- pari-2.5.0-doc-make.patch	28 Jul 2011 17:56:00 -0000	1.2
+++ pari-2.5.0-doc-make.patch	4 Aug 2011 00:23:54 -0000	1.3
@@ -1,82 +1,82 @@
---- config/DOC_Make.SH.orig	2011-07-28 14:11:34.430896929 +1200
-+++ config/DOC_Make.SH	2011-07-28 14:11:39.832738158 +1200
-@@ -21,7 +21,8 @@
- 
- doc all: develop.dvi libpari.dvi users.dvi refcard.ps tutorial.dvi
- docps: develop.ps libpari.ps refcard.ps tutorial.ps users.ps INSTALL.ps
--docpdf: develop.pdf libpari.pdf users.pdf tutorial.pdf refcard.pdf INSTALL.pdf
-+#docpdf: develop.pdf libpari.pdf users.pdf tutorial.pdf refcard.pdf INSTALL.pdf
-+docpdf: \$(PARI_TEX) \$(MACROS) pass1 pass2 indexing refcard.pdf INSTALL.pdf
- 
- .SUFFIXES: .tex .ipf .pod .inf .dumbpod .3 .html
- 
-@@ -37,27 +38,49 @@
- %.dvi: %.tex \$(MACROS)
- 	tex \$<
- 
-+pass1: \$(PARI_TEX) \$(USERS_TEX) develop.tex tutorial.tex \$(MACROS)
-+	-rm -f *.std
-+	pdftex libpari
-+	pdftex develop
-+	pdftex tutorial
-+	pdftex users
-+
-+pass2: pass1
-+	pdftex libpari
-+	pdftex develop
-+	pdftex tutorial
-+	pdftex users
-+
-+indexing: pass2
-+	\$(MAKE) libpari.std
-+	\$(MAKE) develop.std
-+	\$(MAKE) users.std
-+	pdftex libpari
-+	pdftex develop
-+	pdftex users
-+	-rm -f *.std
-+
- libpari.pdf: \$(PARI_TEX) \$(MACROS)
- 	-rm -f libpari.std
- 	pdftex libpari
- 	pdftex libpari
--	make libpari.std; pdftex libpari; rm -f libpari.std
-+	\$(MAKE) libpari.std; pdftex libpari; rm -f libpari.std
- libpari.dvi: \$(PARI_TEX) \$(MACROS)
- 	-rm -f libpari.std
- 	tex libpari
- 	tex libpari
--	make libpari.std; tex libpari; rm -f libpari.std
-+	\$(MAKE) libpari.std; tex libpari; rm -f libpari.std
- 
- develop.pdf: develop.tex \$(MACROS)
- 	-rm -f develop.std
- 	pdftex develop
- 	pdftex develop
--	make develop.std; pdftex develop; rm -f develop.std
-+	\$(MAKE)make develop.std; pdftex develop; rm -f develop.std
- develop.dvi: develop.tex \$(MACROS)
- 	-rm -f develop.std
- 	tex develop
- 	tex develop
--	make develop.std; tex develop; rm -f develop.std
-+	\$(MAKE) develop.std; tex develop; rm -f develop.std
- 
- tutorial.pdf: tutorial.tex \$(MACROS)
- 	-rm -f tutorial.std
-@@ -85,13 +108,13 @@
- 	-rm -f users.std
- 	tex users
- 	tex users
--	make users.std; tex users; rm -f users.std
-+	\$(MAKE) users.std; tex users; rm -f users.std
- 
- users.pdf: \$(USERS_TEX)
- 	-rm -f users.std
- 	pdftex users
- 	pdftex users
--	make users.std; pdftex users; rm -f users.std
-+	\$(MAKE) users.std; pdftex users; rm -f users.std
- 
- gpman: gp.1
- 	nroff -man gp.1 | unix2dos -ascii > gp.man
+--- config/DOC_Make.SH.orig	2011-07-28 14:11:34.430896929 +1200
++++ config/DOC_Make.SH	2011-07-28 14:11:39.832738158 +1200
+@@ -21,7 +21,8 @@
+ 
+ doc all: develop.dvi libpari.dvi users.dvi refcard.ps tutorial.dvi
+ docps: develop.ps libpari.ps refcard.ps tutorial.ps users.ps INSTALL.ps
+-docpdf: develop.pdf libpari.pdf users.pdf tutorial.pdf refcard.pdf INSTALL.pdf
++#docpdf: develop.pdf libpari.pdf users.pdf tutorial.pdf refcard.pdf INSTALL.pdf
++docpdf: \$(PARI_TEX) \$(MACROS) pass1 pass2 indexing refcard.pdf INSTALL.pdf
+ 
+ .SUFFIXES: .tex .ipf .pod .inf .dumbpod .3 .html
+ 
+@@ -37,27 +38,49 @@
+ %.dvi: %.tex \$(MACROS)
+ 	tex \$<
+ 
++pass1: \$(PARI_TEX) \$(USERS_TEX) develop.tex tutorial.tex \$(MACROS)
++	-rm -f *.std
++	pdftex libpari
++	pdftex develop
++	pdftex tutorial
++	pdftex users
++
++pass2: pass1
++	pdftex libpari
++	pdftex develop
++	pdftex tutorial
++	pdftex users
++
++indexing: pass2
++	\$(MAKE) libpari.std
++	\$(MAKE) develop.std
++	\$(MAKE) users.std
++	pdftex libpari
++	pdftex develop
++	pdftex users
++	-rm -f *.std
++
+ libpari.pdf: \$(PARI_TEX) \$(MACROS)
+ 	-rm -f libpari.std
+ 	pdftex libpari
+ 	pdftex libpari
+-	make libpari.std; pdftex libpari; rm -f libpari.std
++	\$(MAKE) libpari.std; pdftex libpari; rm -f libpari.std
+ libpari.dvi: \$(PARI_TEX) \$(MACROS)
+ 	-rm -f libpari.std
+ 	tex libpari
+ 	tex libpari
+-	make libpari.std; tex libpari; rm -f libpari.std
++	\$(MAKE) libpari.std; tex libpari; rm -f libpari.std
+ 
+ develop.pdf: develop.tex \$(MACROS)
+ 	-rm -f develop.std
+ 	pdftex develop
+ 	pdftex develop
+-	make develop.std; pdftex develop; rm -f develop.std
++	\$(MAKE)make develop.std; pdftex develop; rm -f develop.std
+ develop.dvi: develop.tex \$(MACROS)
+ 	-rm -f develop.std
+ 	tex develop
+ 	tex develop
+-	make develop.std; tex develop; rm -f develop.std
++	\$(MAKE) develop.std; tex develop; rm -f develop.std
+ 
+ tutorial.pdf: tutorial.tex \$(MACROS)
+ 	-rm -f tutorial.std
+@@ -85,13 +108,13 @@
+ 	-rm -f users.std
+ 	tex users
+ 	tex users
+-	make users.std; tex users; rm -f users.std
++	\$(MAKE) users.std; tex users; rm -f users.std
+ 
+ users.pdf: \$(USERS_TEX)
+ 	-rm -f users.std
+ 	pdftex users
+ 	pdftex users
+-	make users.std; pdftex users; rm -f users.std
++	\$(MAKE) users.std; pdftex users; rm -f users.std
+ 
+ gpman: gp.1
+ 	nroff -man gp.1 | unix2dos -ascii > gp.man



1.3                  sci-mathematics/pari/files/pari-2.5.0-macos.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-macos.patch?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-macos.patch?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-macos.patch?r1=1.2&r2=1.3

Index: pari-2.5.0-macos.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/pari/files/pari-2.5.0-macos.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- pari-2.5.0-macos.patch	28 Jul 2011 17:56:00 -0000	1.2
+++ pari-2.5.0-macos.patch	4 Aug 2011 00:23:54 -0000	1.3
@@ -1,21 +1,21 @@
---- config/get_dlld.orig	2011-07-28 14:27:13.341072367 +1200
-+++ config/get_dlld	2011-07-28 14:27:46.225178023 +1200
-@@ -94,7 +94,7 @@
-       *) extra=;;
-     esac
-     case "$osname" in
--      darwin) shared=-dynamiclib;;
-+      darwin) shared="-dynamiclib -install_name \$(PURELIBDIR)/\$(LIBPARI_DYN)";;
-       *) shared=-shared;;
-     esac
-     DLLDFLAGS="$shared $extra \$(CFLAGS) \$(DLCFLAGS) $DLLDFLAGS"
---- config/Makefile.SH.orig	2011-07-28 14:29:06.753681364 +1200
-+++ config/Makefile.SH	2011-07-28 14:29:10.589276933 +1200
-@@ -234,6 +234,7 @@
- # DESTDIR is used to install to a false hierachy (to build a Debian package)
- INCLUDEDIR= "\$(DESTDIR)$includedir"
- LIBDIR    = "\$(DESTDIR)$libdir"
-+PURELIBDIR= $libdir
- BINDIR    = "\$(DESTDIR)$bindir"
- MANDIR    = "\$(DESTDIR)$mandir"
- DATADIR   = "\$(DESTDIR)$datadir"
+--- config/get_dlld.orig	2011-07-28 14:27:13.341072367 +1200
++++ config/get_dlld	2011-07-28 14:27:46.225178023 +1200
+@@ -94,7 +94,7 @@
+       *) extra=;;
+     esac
+     case "$osname" in
+-      darwin) shared=-dynamiclib;;
++      darwin) shared="-dynamiclib -install_name \$(PURELIBDIR)/\$(LIBPARI_DYN)";;
+       *) shared=-shared;;
+     esac
+     DLLDFLAGS="$shared $extra \$(CFLAGS) \$(DLCFLAGS) $DLLDFLAGS"
+--- config/Makefile.SH.orig	2011-07-28 14:29:06.753681364 +1200
++++ config/Makefile.SH	2011-07-28 14:29:10.589276933 +1200
+@@ -234,6 +234,7 @@
+ # DESTDIR is used to install to a false hierachy (to build a Debian package)
+ INCLUDEDIR= "\$(DESTDIR)$includedir"
+ LIBDIR    = "\$(DESTDIR)$libdir"
++PURELIBDIR= $libdir
+ BINDIR    = "\$(DESTDIR)$bindir"
+ MANDIR    = "\$(DESTDIR)$mandir"
+ DATADIR   = "\$(DESTDIR)$datadir"






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

end of thread, other threads:[~2011-08-04  0:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-27 19:03 [gentoo-commits] gentoo-x86 commit in sci-mathematics/pari/files: pari-2.5.0-mp.c.patch pari-2.5.0-doc-make.patch pari-2.5.0-macos.patch Sebastien Fabbro (bicatali)
  -- strict thread matches above, loose matches on Subject: below --
2011-07-28 17:56 Sebastien Fabbro (bicatali)
2011-08-04  0:23 Sebastien Fabbro (bicatali)

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