From nobody@FreeBSD.org  Tue Sep 21 15:40:28 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 063EF10656C3
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 21 Sep 2010 15:40:28 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id EA2E58FC27
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 21 Sep 2010 15:40:27 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o8LFeRXY006622
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 21 Sep 2010 15:40:27 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o8LFeRPY006601;
	Tue, 21 Sep 2010 15:40:27 GMT
	(envelope-from nobody)
Message-Id: <201009211540.o8LFeRPY006601@www.freebsd.org>
Date: Tue, 21 Sep 2010 15:40:27 GMT
From: Max Brazhnikov <makc@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: math/ntl: fix linking with libntl on amd64
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         150787
>Category:       ports
>Synopsis:       math/ntl: fix linking with libntl on amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wen
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 21 15:50:01 UTC 2010
>Closed-Date:    Wed Sep 29 00:19:19 UTC 2010
>Last-Modified:  Wed Sep 29 00:20:03 UTC 2010
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->wen 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Sep 21 15:50:54 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=150787 
State-Changed-From-To: open->closed 
State-Changed-By: wen 
State-Changed-When: Wed Sep 29 00:19:18 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=150787 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/150787: commit references a PR
Date: Wed, 29 Sep 2010 00:16:13 +0000 (UTC)

 wen         2010-09-29 00:16:09 UTC
 
   FreeBSD ports repository
 
   Modified files:
     math/ntl             Makefile 
   Log:
   - Fix linking with libntl on amd64
   
   PR:             ports/150787
   Submitted by:   Max Brazhnikov <makc@FreeBSD.org>
   
   Revision  Changes    Path
   1.18      +3 -2      ports/math/ntl/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
