Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Mar 2011 07:49:00 +0100 (CET)
From:      Martin Matuska <mm@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        maho@FreeBSD.org
Subject:   ports/155649: [PATCH] math/atlas-devel: Add OPTIONS for STATICLIB and OPTIMIZED_FLAGS
Message-ID:  <20110318064900.77BED7428@mail2.vx.sk>
Resent-Message-ID: <201103180650.p2I6oBFO052408@freefall.freebsd.org>

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

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



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