summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-05-22 08:59:26 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-05-22 08:59:26 +0000
commit8ac8131e65119c838e41861d715f303c7c189d2a (patch)
tree7b434c1c9fc90f03381889f5d35fd6c8aa9524a4 /math
parentMark it broken again. (diff)
Fix PLIST.
Submitted by: bento
Notes
Notes: svn path=/head/; revision=59685
Diffstat (limited to 'math')
-rw-r--r--math/pari/Makefile2
-rw-r--r--math/pari/files/patch-Configure14
-rw-r--r--math/pari/files/patch-af22
-rw-r--r--math/pari/pkg-plist3
4 files changed, 34 insertions, 7 deletions
diff --git a/math/pari/Makefile b/math/pari/Makefile
index 8dc9bb3e034e..f0fdf0ee27be 100644
--- a/math/pari/Makefile
+++ b/math/pari/Makefile
@@ -13,8 +13,6 @@ MASTER_SITES= ftp://www.gn-50uma.de/gn/gn-50uma.de/pari-2.1/ \
MAINTAINER= yoshiaki@kt.rim.or.jp
-BROKEN= "Does not package correctly"
-
ONLY_FOR_ARCHS= i386
INSTALLS_SHLIB= yes
diff --git a/math/pari/files/patch-Configure b/math/pari/files/patch-Configure
new file mode 100644
index 000000000000..e440df66750e
--- /dev/null
+++ b/math/pari/files/patch-Configure
@@ -0,0 +1,14 @@
+--- Configure 2002/05/22 08:28:37 1.1
++++ Configure 2002/05/22 08:30:16
+@@ -1005,7 +1005,10 @@
+ # aix-*) DLSUFFIX=a ;; dynamic linking does not work!
+ sunos-*) sodest=$VersionMajor$VersionMinor.$patch
+ soname=$sodest;;
+- *-alpha|solaris-*|linux-*|freebsd-*)
++ freebsd-*)
++ sodest=1
++ soname=$sodest;;
++ *-alpha|solaris-*|linux-*)
+ case $libpari_base in
+ pari) sodest=$version.$patch;; # released versions
+ *) sodest=$patch.0.0;; # unstable versions
diff --git a/math/pari/files/patch-af b/math/pari/files/patch-af
index a6fbd85d8bcc..32eff57d21cd 100644
--- a/math/pari/files/patch-af
+++ b/math/pari/files/patch-af
@@ -1,5 +1,5 @@
---- config/Makefile.SH.orig Thu Sep 27 19:58:38 2001
-+++ config/Makefile.SH Thu Mar 14 11:31:40 2002
+--- config/Makefile.SH.orig Thu Sep 27 10:58:38 2001
++++ config/Makefile.SH Wed May 22 01:43:10 2002
@@ -176,7 +176,7 @@
LIBDIR = \$(DESTDIR)$libdir
BINDIR = \$(DESTDIR)$bindir
@@ -44,7 +44,23 @@
install-lib-sta: \$(LIBPARI_STA)
-mkdir -p \$(LIBDIR)
-@@ -457,13 +457,13 @@
+@@ -401,6 +401,7 @@
+ -mkdir -p \$(LIBDIR)
+ -\$(RM) \$(LIBDIR)/\$(LIBPARI_DYN)
+ \$(INSTALL_PROGRAM) \$(LIBPARI_DYN) \$(LIBDIR)/\$(LIBPARI_DYN)
++ \$(LN) \$(LIBPARI_DYN) \$(LIBDIR)/\$(LIBPARI_SO)
+ EOT
+ if test "$soname" != "$sodest"; then
+ cat >> $file << EOT
+@@ -429,6 +430,7 @@
+ \$(LIBPARI_DYN): \$(OBJS)
+ -\$(RM) \$(LIBPARI_DYN)
+ \$(DLLD) -o \$@ \$(DLLDFLAGS) \$(OBJS) \$(EXTRADLLDFLAGS)
++ \$(LN) \$(LIBPARI_DYN) \$(LIBPARI_SO)
+ EOT
+ if test "$soname" != "$sodest"; then
+ cat >> $file << EOT
+@@ -457,13 +459,13 @@
if test -n "$emacs"; then
cat >> $file << EOT
diff --git a/math/pari/pkg-plist b/math/pari/pkg-plist
index 43236e90fab2..96bf3590499a 100644
--- a/math/pari/pkg-plist
+++ b/math/pari/pkg-plist
@@ -15,9 +15,8 @@ include/pari/parisys.h
include/pari/pariport.h
include/pari/paridecl.h
include/pari/genpari.h
-lib/libpari.so.2.1.1
-lib/libpari.so.1
lib/libpari.so
+lib/libpari.so.1
share/doc/pari/AUTHORS
share/doc/pari/Announce.2.1
share/doc/pari/CHANGES