ports/155649: [PATCH] math/atlas-devel: Add OPTIONS for STATICLIB and OPTIMIZED_FLAGS

Martin Matuska mm at FreeBSD.org
Fri Mar 18 06:50:12 UTC 2011


>Number:         155649
>Category:       ports
>Synopsis:       [PATCH] math/atlas-devel: Add OPTIONS for STATICLIB and OPTIMIZED_FLAGS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 18 06:50:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Martin Matuska
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD neo.vx.sk 8.2-STABLE FreeBSD 8.2-STABLE #0 r219122M: Wed Mar  2 00:08:08
>Description:
Add OPTIONS for STATICLIB and OPTIMIZED_FLAGS

Port maintainer (maho at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- atlas-devel-3.9.11_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/math/atlas-devel/Makefile,v
retrieving revision 1.59
diff -u -r1.59 Makefile
--- Makefile	10 Nov 2009 11:09:36 -0000	1.59
+++ Makefile	18 Mar 2011 06:48:37 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	atlas
 PORTVERSION=	3.9.11
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	math
 MASTER_SITES=	SF/math-${PORTNAME}/Developer%20%28unstable%29/${PORTVERSION}
 PKGNAMESUFFIX=	-devel
@@ -24,6 +24,9 @@
 USE_LDCONFIG=	yes
 CONFLICTS=	atlas-[0-9]*
 
+OPTIONS=	OPTIMIZED_FLAGS	"Build with optimized FFLAGS" off \
+		STATICLIB	"Build static libraries" off
+
 .include <bsd.port.pre.mk>
 
 NOT_FOR_ARCHS=	alpha
@@ -106,11 +109,6 @@
 	@${ECHO_MSG} "compiler, although other gcc versions may be used; gcc 4.1.x"
 	@${ECHO_MSG} "is NOT recommended"
 	@${ECHO_MSG}
-.if !defined(WITH_STATICLIB)
-	@${ECHO_MSG} "You can build static libraries with"
-	@${ECHO_MSG} "make -DWITH_STATICLIB"
-	@${ECHO_MSG}
-.endif
 .if !defined(WITH_WALL_TIMER)
 	@${ECHO_MSG} "If your machine will be solely dedicated to"
 	@${ECHO_MSG} "building atlas with gcc during the lengthy optimization"
--- atlas-devel-3.9.11_2.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list