Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2010 15:40:27 GMT
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/150787: math/ntl: fix linking with libntl on amd64
Message-ID:  <201009211540.o8LFeRPY006601@www.freebsd.org>
Resent-Message-ID: <201009211550.o8LFo1wH031687@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         150787
>Category:       ports
>Synopsis:       math/ntl: fix linking with libntl on amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 21 15:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Max Brazhnikov
>Release:        FreeBSD 8.1-STABLE amd64
>Organization:
>Environment:
>Description:
Add -fPIC to CFLAGS
>How-To-Repeat:
build math/giacxcas on amd64
>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/math/ntl/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- Makefile	19 Apr 2010 10:43:34 -0000	1.17
+++ Makefile	21 Sep 2010 07:12:48 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	ntl
 PORTVERSION=	5.5.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	math
 MASTER_SITES=	http://www.shoup.net/ntl/
 
@@ -29,7 +29,7 @@
 		DEF_PREFIX="${LOCALBASE}" \
 		LDFLAGS="${LDFLAGS}" NTL_STD_CXX=on \
 		PREFIX="${PREFIX}" RANLIB="${RANLIB}"
-
+CFLAGS+=	-fPIC
 WRKSRC=	${WRKDIR}/${DISTNAME}/src
 MAKEFILE=	makefile
 


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009211540.o8LFeRPY006601>