ports/150787: math/ntl: fix linking with libntl on amd64

Max Brazhnikov makc at FreeBSD.org
Tue Sep 21 15:50:02 UTC 2010


>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:



More information about the freebsd-ports-bugs mailing list