aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorSADA Kenji <sada@FreeBSD.org>1999-04-03 23:35:38 +0000
committerSADA Kenji <sada@FreeBSD.org>1999-04-03 23:35:38 +0000
commit374ce6b221f4f20f45e18561e581bcd2f6fb3580 (patch)
treeabc3a0a924d9969577c16f5dcab17a626e04e545 /math
parentf08a9d56472a694f6818d50709fc4c031e095a57 (diff)
downloadports-374ce6b221f4f20f45e18561e581bcd2f6fb3580.tar.gz
ports-374ce6b221f4f20f45e18561e581bcd2f6fb3580.zip
Remove dependency to emacs. The pr was sent from the maintainer.
Submitted by: Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp>
Notes
Notes: svn path=/head/; revision=17626
Diffstat (limited to 'math')
-rw-r--r--math/pari/files/patch-af21
-rw-r--r--math/pari/pkg-plist2
2 files changed, 22 insertions, 1 deletions
diff --git a/math/pari/files/patch-af b/math/pari/files/patch-af
new file mode 100644
index 000000000000..aafd718b2228
--- /dev/null
+++ b/math/pari/files/patch-af
@@ -0,0 +1,21 @@
+--- config/Makefile.SH.orig Sun Apr 4 08:01:45 1999
++++ config/Makefile.SH Sun Apr 4 08:04:28 1999
+@@ -373,13 +373,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 \$(MISCDIR)
+- -\$(INSTALL_DATA) $pari_elc \$(MISCDIR)
++# -\$(INSTALL_DATA) $pari_elc \$(MISCDIR)
+ \$(INSTALL_DATA) $emx/pari.el \$(MISCDIR)
+ # otherwise Warning from emacs (file not writeable)
+ \$(INSTALL) -m 666 $emx/pari.menu \$(MISCDIR)
diff --git a/math/pari/pkg-plist b/math/pari/pkg-plist
index f58f8b0cac5f..b3ea508b4e84 100644
--- a/math/pari/pkg-plist
+++ b/math/pari/pkg-plist
@@ -22,7 +22,7 @@
./include/pari/paridecl.h
./bin/gp-2.0
./bin/gp
-@exec /bin/mkdir %D/lib/pari %D/include/pari
+@exec /bin/mkdir -p %D/lib/pari %D/include/pari %D/lib/pari/data
@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
@unexec /bin/rmdir %D/lib/pari/data