Fix build on amd64.

Portlint(1)
This commit is contained in:
Kirill Ponomarev 2005-02-04 15:54:21 +00:00
parent 3e98757733
commit 610b727f6c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128041
2 changed files with 16 additions and 4 deletions

View file

@ -7,9 +7,9 @@
PORTNAME= pari
PORTVERSION= ${MAJOR_VERSION}.${MINOR_VERSION}.${REV_VERSION}.a
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= http://pari.math.u-bordeaux.fr/pub/pari/unstable/
MASTER_SITES= http://pari.math.u-bordeaux.fr/pub/pari/unstable/
DISTNAME= pari-${MAJOR_VERSION}.${MINOR_VERSION}.${REV_VERSION}.alpha
MAINTAINER= yoshiaki@kt.rim.or.jp

View file

@ -1,5 +1,17 @@
--- config/Makefile.SH.orig Mon Dec 20 00:47:02 2004
+++ config/Makefile.SH Sun Jan 9 18:26:30 2005
$FreeBSD$
--- config/Makefile.SH.orig
+++ config/Makefile.SH
@@ -176,7 +176,7 @@
CC_FLAVOR =
CC = $CC \$(CC_FLAVOR)
CPPFLAGS = $CPPFLAGS
-CFLAGS = $CFLAGS
+CFLAGS = $CFLAGS -fPIC
DLCFLAGS = $DLCFLAGS
LD_FLAVOR = \$(CC_FLAVOR)
LD = $LD \$(LD_FLAVOR)
@@ -238,9 +238,12 @@
INCLUDEDIR= \$(DESTDIR)$includedir
LIBDIR = \$(DESTDIR)$libdir