ports/math/pari/files/patch-af
Jesper Skriver d7db143eea Update ports/math/pari to 1.1.3
Update ports/math/p5-Math-Pari so it works with pari 1.1.3

Approved by:	mharo, Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp>
2002-03-14 16:31:33 +00:00

65 lines
2.2 KiB
Text

--- config/Makefile.SH.orig Thu Sep 27 19:58:38 2001
+++ config/Makefile.SH Thu Mar 14 11:31:40 2002
@@ -176,7 +176,7 @@
LIBDIR = \$(DESTDIR)$libdir
BINDIR = \$(DESTDIR)$bindir
DATADIR= \$(DESTDIR)$datadir
-MANDIR = \$(DESTDIR)$mandir
+MANDIR = \$(DESTDIR)\${PREFIX}/man/man1
ALLDIR = \$(DESTDIR)$miscdir
READMEDIR = \$(ALLDIR)
DOCDIR = \$(ALLDIR)/doc
@@ -348,7 +348,7 @@
install-doc::
-mkdir -p \$(BINDIR) \$(DOCDIR)
- -cd $doc; \$(MAKE) all
+# -cd $doc; \$(MAKE) all
-\$(INSTALL_PROGRAM) $doc/gphelp \$(BINDIR)
-\$(INSTALL_DATA) $doc/Makefile \$(DOCDIR)
-\$(INSTALL_DATA) $doc/translations \$(DOCDIR)
@@ -367,10 +367,10 @@
-\$(INSTALL_DATA) $doc/usersch4.tex \$(DOCDIR)
-\$(INSTALL_DATA) $doc/usersch5.tex \$(DOCDIR)
-\$(INSTALL_DATA) $doc/paricfg.tex \$(DOCDIR)
- -\$(INSTALL_DATA) $doc/users.dvi \$(DOCDIR)
- -\$(INSTALL_DATA) $doc/tutorial.dvi \$(DOCDIR)
- -\$(INSTALL_DATA) $doc/refcard.dvi \$(DOCDIR)
- -\$(INSTALL_DATA) $doc/refcard.ps \$(DOCDIR)
+# -\$(INSTALL_DATA) $doc/users.dvi \$(DOCDIR)
+# -\$(INSTALL_DATA) $doc/tutorial.dvi \$(DOCDIR)
+# -\$(INSTALL_DATA) $doc/refcard.dvi \$(DOCDIR)
+# -\$(INSTALL_DATA) $doc/refcard.ps \$(DOCDIR)
install-examples:
-mkdir -p \$(EXDIR)
@@ -388,8 +388,8 @@
-\$(INSTALL_DATA) $ex/taylor.gp \$(EXDIR)
install-data:
- -mkdir -p \$(DATADIR)
- -for f in $data/*; do \$(INSTALL_DATA) \$\$f \$(DATADIR); done 2>/dev/null
+# -mkdir -p \$(DATADIR)
+# -for f in $data/*; do \$(INSTALL_DATA) \$\$f \$(DATADIR); done 2>/dev/null
install-lib-sta: \$(LIBPARI_STA)
-mkdir -p \$(LIBDIR)
@@ -457,13 +457,13 @@
if test -n "$emacs"; then
cat >> $file << EOT
-$pari_elc: $emx/pari.el
- @echo "Byte-Compiling pari.el..."
- -cd $emx; $emacs -batch -l compile
+#$pari_elc: $emx/pari.el
+# @echo "Byte-Compiling pari.el..."
+# -cd $emx; $emacs -batch -l compile
-$install_emacs_files: $pari_elc
+$install_emacs_files: # $pari_elc
-mkdir -p \$(EMACSDIR)
- -\$(INSTALL_DATA) $pari_elc \$(EMACSDIR)
+# -\$(INSTALL_DATA) $pari_elc \$(EMACSDIR)
\$(INSTALL_DATA) $emx/pari.el \$(EMACSDIR)
\$(INSTALL_DATA) $emx/pariemacs.txt \$(EMACSDIR)
\$(INSTALL_DATA) $emx/with-syntax.el \$(EMACSDIR)