Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2019 18:50:27 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r497576 - branches/2019Q2/multimedia/pHash/files
Message-ID:  <201904021850.x32IoRxa041825@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Tue Apr  2 18:50:26 2019
New Revision: 497576
URL: https://svnweb.freebsd.org/changeset/ports/497576

Log:
  MFH: r497575
  
  Unbreak by linking to fftw3_threads
  
  PR:		236807
  Submitted by:	Naram Qashat
  Reported by:	pkg-fallout

Added:
  branches/2019Q2/multimedia/pHash/files/patch-configure
     - copied unchanged from r497575, head/multimedia/pHash/files/patch-configure
Modified:
Directory Properties:
  branches/2019Q2/   (props changed)

Copied: branches/2019Q2/multimedia/pHash/files/patch-configure (from r497575, head/multimedia/pHash/files/patch-configure)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2019Q2/multimedia/pHash/files/patch-configure	Tue Apr  2 18:50:26 2019	(r497576, copy of r497575, head/multimedia/pHash/files/patch-configure)
@@ -0,0 +1,20 @@
+--- configure.orig	2013-04-23 18:48:24 UTC
++++ configure
+@@ -16584,7 +16584,7 @@ if ${ac_cv_lib_fftw3_fftw_plan_dft_r2c_1d+:} false; th
+   $as_echo_n "(cached) " >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lfftw3  $LIBS"
++LIBS="-lfftw3 -lfftw3_threads  $LIBS"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
+ 
+@@ -16615,7 +16615,7 @@ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fftw3_fftw_plan_dft_r2c_1d" >&5
+ $as_echo "$ac_cv_lib_fftw3_fftw_plan_dft_r2c_1d" >&6; }
+ if test "x$ac_cv_lib_fftw3_fftw_plan_dft_r2c_1d" = xyes; then :
+-   CPPFLAGS="$CPPFLAGS -Dcimg_use_fftw3" LIBS="$LIBS -lfftw3"
++   CPPFLAGS="$CPPFLAGS -Dcimg_use_fftw3" LIBS="$LIBS -lfftw3 -lfftw3_threads"
+ else
+   if test "x$with_fftw" = "xyes"; then :
+   as_fn_error $? "FFTW support requested but library not found" "$LINENO" 5



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