Package: pari
Severity: important
Version: 2.1.7-2
Tags: patch

Hi,

the current version fails to build on GNU/kFreeBSD.
Please find a small patch bellow. 

It would also be nice if you can ask upstream 
to include this change.

Thanks in advance

                        Petr



--- pari-2.1.7.orig/Configure
+++ pari-2.1.7/Configure
@@ -962,7 +962,7 @@
   darwin) LIBS= ;;
 esac
 case "$osname-$arch" in
-  linux-*|cygwin*|gnu-*)
+  linux-*|cygwin*|gnu-*|kfreebsd-*)
       LD=$CC; LDFLAGS="$cflags -Xlinker -export-dynamic"
       runpathprefix='-Xlinker -rpath -Xlinker ';;
   osf1-alpha)
@@ -1009,7 +1009,7 @@
 #    aix-*)  DLSUFFIX=a  ;; dynamic linking does not work!
     sunos-*) sodest=$VersionMajor$VersionMinor.$patch
              soname=$sodest;;
-    gnu-*|*-alpha|solaris-*|linux-*|freebsd-*)
+    gnu-*|*-alpha|solaris-*|linux-*|freebsd-*|kfreebsd-*)
       case $libpari_base in
         pari) sodest=$version.$patch;; # released versions
         *) sodest=$patch.0.0;; # unstable versions




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to