aboutsummaryrefslogtreecommitdiff
path: root/multimedia/pHash
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2019-04-02 18:49:03 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2019-04-02 18:49:03 +0000
commitb6ca6212f9e4afa1835136d8f64aea0e3d29065b (patch)
treea78db634aa2dd977a1b0fde0bcbf2ecfa76c2c10 /multimedia/pHash
parentae1a85e38824d4d5a020764d6a6521a7dcf21d81 (diff)
downloadports-b6ca6212f9e4afa1835136d8f64aea0e3d29065b.tar.gz
ports-b6ca6212f9e4afa1835136d8f64aea0e3d29065b.zip
Unbreak by linking to fftw3_threads
PR: 236807 Submitted by: Naram Qashat Reported by: pkg-fallout MFH: 2019Q2
Notes
Notes: svn path=/head/; revision=497575
Diffstat (limited to 'multimedia/pHash')
-rw-r--r--multimedia/pHash/files/patch-configure20
1 files changed, 20 insertions, 0 deletions
diff --git a/multimedia/pHash/files/patch-configure b/multimedia/pHash/files/patch-configure
new file mode 100644
index 000000000000..9d869267f69c
--- /dev/null
+++ b/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