openbsd-ports/math/pari/patches/patch-Configure
msf 9cda5d0698 - initial import of pari-2.1.6
The PARI system is a package which is capable of doing formal
computations on recursive types at high speed; it is primarily
aimed at number theorists, but can be used by anybody whose primary
need is speed.

It is possible to use PARI in two different ways:

1) as a library, which can be called from an upper-level language
application (for instance written in C, C++, Pascal or Fortran);

2) as a sophisticated programmable calculator, named gp, which
contains most of the control instructions of a standard language
like C.

cleanup by and ok sturm@
2005-02-08 02:36:12 +00:00

13 lines
450 B
Plaintext

$OpenBSD: patch-Configure,v 1.1.1.1 2005/02/08 02:36:12 msf Exp $
--- Configure.orig Sat Feb 5 20:59:57 2005
+++ Configure Sat Feb 5 21:00:12 2005
@@ -844,7 +844,7 @@ if test -n "$__gnuc__"; then
esac
;;
esac
- OPTFLAGS="$OPTFLAGS -DGCC_INLINE $warn"
+ OPTFLAGS="$CFLAGS -DGCC_INLINE $warn"
DBGFLAGS="-g $warn"
# Some architectures need -fPIC for building dynamic lib
case "$osname-$arch" in hpux-*) DLCFLAGS=-fPIC;; esac