Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Feb 2013 12:21:32 +0000 (UTC)
From:      Brendan Fabeny <bf@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r312217 - head/math/fftw3
Message-ID:  <201302141221.r1ECLWQx001791@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bf
Date: Thu Feb 14 12:21:32 2013
New Revision: 312217
URL: http://svnweb.freebsd.org/changeset/ports/312217

Log:
  fix WITH_OPENMP on recent -CURRENT built WITH_CLANG_IS_CC [1];
  use USE_PKGCONFIG
  
  Reported by:	A. Shterenlikht, Denis [1]

Modified:
  head/math/fftw3/Makefile

Modified: head/math/fftw3/Makefile
==============================================================================
--- head/math/fftw3/Makefile	Thu Feb 14 12:03:52 2013	(r312216)
+++ head/math/fftw3/Makefile	Thu Feb 14 12:21:32 2013	(r312217)
@@ -1,13 +1,10 @@
-# New ports collection makefile for: fftw
-# Date created:		Dec 28 1998
-# Whom:			Lars Koeller <Lars.Koeller@Uni-Bielefeld.DE>
-#
+# Created by: Lars Koeller <Lars.Koeller@Uni-Bielefeld.DE>
 # $FreeBSD$
 #    $MCom: ports-experimental/math/fftw3/Makefile,v 1.1 2006/03/28 00:08:57 ahze Exp $
 
 PORTNAME=	fftw3
 PORTVERSION=	3.3.3
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES=	math
 MASTER_SITES=	ftp://ftp.fftw.org/pub/fftw/ \
 		ftp://ftp.fftw.org/pub/fftw/old/
@@ -22,9 +19,10 @@ FFTW3_FLAVOR?=	default
 FFTW3_SUFX=
 
 GNU_CONFIGURE=	yes
-USE_GNOME=	gnomehack pkgconfig
+USE_GNOME=	gnomehack
 USE_PERL5_BUILD=yes
 USE_LDCONFIG=	yes
+USE_PKGCONFIG=	yes
 
 CONFIGURE_ARGS =	--enable-shared --enable-threads --disable-fortran
 CONFIGURE_ENV=	PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
@@ -50,12 +48,9 @@ OPTIONS_DEFAULT=	OPTIMIZED_CFLAGS
 .include <bsd.port.pre.mk>
 
 .if ${PORT_OPTIONS:MOPENMP}
-.if !empty(CC:T:M*clang*)
-IGNORE =	: clang does not support OpenMP. Disable the OPENMP option or\
-use another compiler
-.endif
 CONFIGURE_ARGS+=	--enable-openmp
 PLIST_SUB+=	OPENMP=""
+USE_GCC=	any
 .else
 CONFIGURE_ARGS+=	--disable-openmp
 PLIST_SUB+=	OPENMP="@comment "



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