1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
Commit Graph

105 Commits

Author SHA1 Message Date
Gerald Pfeifer
e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00
Jason E. Hale
22d357186f Fix build on armv6. The -funsafe-math-optimizations flag in Clang (pulled in by
-ffast-math) is emitting references to the sincos() function which is not
implemented on versions of FreeBSD < 1200032. Workaround by adding
-fno-unsafe-math-optimizations to armv6 CFLAGS.

/bin/sh ../libtool  --tag=CC   --mode=link /nxb-bin/usr/bin/cc -D_THREAD_SAFE -pthread -O2 -pipe  -O3 -ffast-math -fstrict-aliasing -fomit-frame-pointer   -o bench bench-bench.o bench-hook.o bench-fftw-bench.o ../threads/libfftw3_threads.la ../libfftw3.la ../libbench2/libbench2.a  -lm
libtool: link: /nxb-bin/usr/bin/cc -D_THREAD_SAFE -pthread -O2 -pipe -O3 -ffast-math -fstrict-aliasing -fomit-frame-pointer -o .libs/bench bench-bench.o bench-hook.o bench-fftw-bench.o  ../threads/.libs/libfftw3_threads.so ../.libs/libfftw3.so ../libbench2/libbench2.a -lm -pthread -Wl,-rpath -Wl,/usr/local/lib
./libbench2/libbench2.a(verify-lib.o): In function `aphase_shift':
verify-lib.c:(.text+0x578): undefined reference to `sincos'
./libbench2/libbench2.a(verify-lib.o): In function `tf_shift':
verify-lib.c:(.text+0x13a0): undefined reference to `sincos'
verify-lib.c:(.text+0x16e4): undefined reference to `sincos'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [Makefile:400: bench] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/math/fftw3/work/fftw-3.3.6-pl2/tests'
gmake[2]: *** [Makefile:684: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/math/fftw3/work/fftw-3.3.6-pl2'
gmake[1]: *** [Makefile:549: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/math/fftw3/work/fftw-3.3.6-pl2'
*** Error code 1

PR:		220590
Submitted by:	jbeich
2017-07-31 11:58:27 +00:00
Jason E. Hale
8372492694 Update to 3.3.6.pl2 (3.3.6.2)
Fix LICENSE

Changes:	http://www.fftw.org/release-notes.html
2017-04-06 17:25:29 +00:00
Gerald Pfeifer
04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
2017-04-01 15:23:30 +00:00
Jason E. Hale
a1183f3809 Update to 3.3.6-pl1 (3.3.6.1)
Use ports test framework
Remove obsolete CVS tags

Changes:	http://www.fftw.org/release-notes.html
2017-01-16 23:10:15 +00:00
Antoine Brodin
3b8cb68f55 Add USES=makeinfo
Even with the recently added USES=gmake I still have spurious failures on
the exp builders, adding USES=makeinfo works around the problem
2017-01-06 23:09:12 +00:00
Jason E. Hale
1d64bf08cd Switch to gmake to hopefully prevent pkg-fallout errors that have been popping
up (specifically for math/fftw3-long), although, I can't reproduce them.

Making all in FAQ
restore=: && backupdir=".am$$" &&  am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:"
&& cd . &&  rm -rf $backupdir && mkdir $backupdir &&  if (/bin/sh /wrkdirs/usr/
ports/math/fftw3-long/work/fftw-3.3.5/missing makeinfo --version) >/dev/null 2>&1;
then  for f in ./fftw3.info ./fftw3.info-[0-9] ./fftw3.info-[0-9][0-9]
./fftw3.i[0-9] ./fftw3.i[0-9][0-9]; do  if test -f $f; then mv $f $backupdir;
restore=mv; else :; fi;  done;  else :; fi &&  cd "$am__cwd";  if /bin/sh
/wrkdirs/usr/ports/math/fftw3-long/work/fftw-3.3.5/missing makeinfo   -I .
-o ./fftw3.info ./fftw3.texi;  then  rc=0;  CDPATH="${ZSH_VERSION+.}:" && cd .;
else  rc=$?;  CDPATH="${ZSH_VERSION+.}:" && cd . &&  $restore $backupdir/*
`echo "././fftw3.info" | sed 's|[^/]*$||'`;  fi;  rm -rf $backupdir; exit $rc
/wrkdirs/usr/ports/math/fftw3-long/work/fftw-3.3.5/missing: makeinfo: not found
WARNING: 'makeinfo' is missing on your system.
         You should only need it if you modified a '.texi' file, or
         any other file indirectly affecting the aspect of the manual.
         You might want to install the Texinfo package:
         <http://www.gnu.org/software/texinfo/>
         The spurious makeinfo call might also be the consequence of
         using a buggy 'make' (AIX, DU, IRIX), in which case you might
         want to install GNU make:
         <http://www.gnu.org/software/make/>
*** Error code 127
2017-01-06 17:15:38 +00:00
Jason E. Hale
d0cd21ef75 - Update to 3.3.5
- Add SIMD option to easily toggle cpu optimizations (ON by default)
- Add OPENMPI option to build the MPI libraries (OFF by default) [1]
- Strip slave port binaries
- Take maintainership

PR:		203847 [1]
Submitted by:	<dieterich@ogolem.org> [1]
2016-10-26 00:16:09 +00:00
Rene Ladan
a01b22a052 Reset ports maintained by bf@ until he has time again to work on them.
PR:		210474
Submitted by:	jbeich
With hat:	portmgr-secretary
2016-06-27 21:30:34 +00:00
Dmitry Marakasov
4e942b6419 - Fix trailing whitespace in pkg-descrs, categories [g-n]*
Approved by:	portmgr blanket
2016-05-19 10:44:11 +00:00
Tijl Coosemans
4bdd97e324 math/fftw3:
- Add USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip
- Remove PTHREAD_CFLAGS and PTHREAD_LIBS
- Use MAKE_CMD
2014-08-31 16:36:22 +00:00
Adam Weinberger
0f88ed614d Repair instances, almost all courtesy of bf ;-), of spaces
and/or tabs before the =. This made doing regular expressions
on the ports tree really difficult.

Approved by:	portmgr (not really, but touches unstaged ports)
2014-07-29 20:55:27 +00:00
Baptiste Daroussin
098cf2db5a Remove useless post-patch-script in append it to post-patch
change -exec ${RM} by -delete in the find command
2014-04-04 13:45:36 +00:00
Brendan Fabeny
2212333b81 Fix i386 builds using clang [1]; use staging;
remove some outdated material

PR:		186998 [1]
Submitted by:	truckman [1]
2014-03-05 03:17:04 +00:00
Baptiste Daroussin
ce5e457020 Add NO_STAGE all over the place in preparation for the staging support (cat: math) 2013-09-20 20:55:04 +00:00
Baptiste Daroussin
cddacdc1a8 Convert to new perl framework
Convert USE_GMAKE to USES
2013-09-16 16:45:35 +00:00
Gerald Pfeifer
41e60477bd Replace USE_GCC=4.6+ and USE_GCC=4.4+ by USE_GCC=yes.
Right now this is a noop in the former case and a noop in the latter
case unless lang/gcc44 has been installed explicitly.

This puts a bit more emphasis on standardizing on a canonical version
"current" GCC and makes it easier to update that canonical version
by changing the default in Mk/bsd.gcc.mk and updating the lang/gcc port.

That is, USE_GCC=yes means "use a decent/modern version of GCC" without
having to worry about details.

Approved by:	portmgr (bdrewery)
2013-08-17 16:27:24 +00:00
Baptiste Daroussin
992586fa08 Finish converting the whole ports tree to USES=pkgconfig 2013-04-23 14:20:25 +00:00
Eitan Adler
334eb0fc61 This changes almost all the "gnomehack" only USE_GNOME cases to USES= pathfix.
If a port used other USE_GNOME items it was untouched.
The ports that used other USES were fixed by hand.

PR:		ports/177081
Reviewed by:	bapt
Approved by:	portmgr (miwi)
2013-03-19 13:04:30 +00:00
Brendan Fabeny
303161a0eb update master sites; trim headers; reposition LICENSE, WWW 2013-03-18 16:11:34 +00:00
Brendan Fabeny
530576f184 fix WITH_OPENMP on recent -CURRENT built WITH_CLANG_IS_CC [1];
use USE_PKGCONFIG

Reported by:	A. Shterenlikht, Denis [1]
2013-02-14 12:21:32 +00:00
Brendan Fabeny
7e77c580ac update to 3.3.3
Feature safe:	yes
2012-11-27 05:14:07 +00:00
Brendan Fabeny
df54417c40 exit earlier, and with a more helpful error message, when attempting to
build the OpenMP libraries with clang [1]; shorten a long line

PR:		168804 [1]
2012-06-08 22:38:32 +00:00
Brendan Fabeny
38a3967095 update to 3.3.2 and convert options to the new style 2012-06-07 03:05:48 +00:00
Brendan Fabeny
d6760b35c7 update to 3.3.1 2012-03-03 09:06:17 +00:00
Martin Wilke
e1c6649edf - Remove WITH_FBSD10_FIX, is no longer needed 2011-11-09 15:26:04 +00:00
Martin Wilke
1ff6110ea9 - Fix build on FreeBSD 10
With hat:	portmgr
2011-10-28 17:09:52 +00:00
Brendan Fabeny
30a3d63fae Fix minor infelicity in OPTIONS, to prevent the end
of the world.

PR:		161896
Submitted by:	mandree, wblock (different patch)
2011-10-22 16:02:55 +00:00
Brendan Fabeny
33f5240ccf add an option for the fftw3 OpenMP libraries, and turn it
off by default, because some compilers (e.g. clang) don't
support OpenMP; make linking to the fftw3*_threads shared
libraries easier by adding tags for the system thread
library; simplify math library changes for the long flavor
on 7.*; defer patch cleanup, to make debugging easier;
tweak format of post-patch target
2011-10-22 08:03:34 +00:00
Brendan Fabeny
ac39d25cb1 - update fftw3* to 3.3 [1], and adjust dependent ports
- make use of optimizations by default, where possible
(quad flavor to follow shortly, and mpi at a later date)

Suggestions and patches from:	ache, C. Burns, wen
2011-10-17 10:08:33 +00:00
Brendan Fabeny
6a06bfcd2a use altivec only in the -float case; simplify some conditionals;
restrict sse2 to machines that support it; re-format a few lines
2011-09-27 22:18:14 +00:00
Brendan Fabeny
f172e6870f fix flags when built WITH_OPTIMIZED_CFLAGS
PR:		157936, 161023
Reported by:	L.V. Iliev, amdmi3, "break19", G.V. Seibert
2011-09-26 18:09:51 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Koop Mast
0e682dded4 Remove USE_GNOME=gnometarget from ports. It has been a empty keyword since
mid 2008.

PR:		ports/159624
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
2011-08-11 19:20:17 +00:00
Martin Wilke
bb86cbe5d2 - Get Rid MD5 support 2011-03-20 12:54:45 +00:00
Mark Linimon
a1b89761cf Over to new volunteer. 2010-07-26 01:59:00 +00:00
Mark Linimon
83fb1239f7 Reset ahze@ due to maintainer-timeouts and no response to email.
Hat:		portmgr
2010-07-26 00:03:14 +00:00
Diane Bruce
a6d191cbc7 - Oops checked in the wrong Makefile
Approved by:	ahze
2009-08-25 20:50:53 +00:00
Diane Bruce
0ba6a0a241 - After digging into the Makefile and configure for fftw3 I discovered
that USE_FORTRAN was only used to determine what name mangling scheme
  it had to use to compile the shim libs for fortran, but compiling everything
  using 'C' anyway.
  With this diff, the slave ports fftw3-long-fortran, fftw3-float-fortran
  and fftw3-fortran disapear since the shims are always built, without
  necessitating the use of a USE_FORTRAN.

Approved by:	ahze (Maintainer)
2009-08-25 20:24:09 +00:00
Michael Johnson
a8fd1d1350 Update to 3.2.2 2009-08-10 00:45:07 +00:00
Diane Bruce
8b92a2cd89 - Ensure Fortran shim is not built if USE_FORTRAN is not set.
- Split Fortran option into slave ports fftw3-fortran long-fortran float-fortran
- Have to bump PORTREVISION for package builds etc..
- Fix silly spelling mistakes "Percision" -> "Precision" noted.

Reviewed by:	itetcu (portmgr)
Approved by:	ahze (Maintainer)
2009-06-17 19:29:52 +00:00
Pav Lucistnik
43b0bc87a6 - Update to 3.2.1
With hat:	portmgr (quick unbreak)
2009-06-07 22:14:01 +00:00
Michael Johnson
81387e45d9 Update to 3.2.1 2009-06-07 18:33:21 +00:00
Pav Lucistnik
55af5f30cd - Update to 3.2
PR:		ports/129035
Submitted by:	Wen Heping <wenheping@gmail.com>
Approved by:	maintainer timeout (ahze; 6 months)
2009-05-18 15:08:28 +00:00
Diane Bruce
21a8d0ccd9 - fftw3 needs USE_FORTRAN in order to generate fortran shim. [1]
- Two week maintainer timeout.

PR:	ports/134115 [1]
2009-05-15 11:58:18 +00:00
Pav Lucistnik
a05595b63a - Update download locations 2009-01-20 15:15:35 +00:00
Michael Johnson
9757994e41 Update to 3.1.3 2008-10-12 20:20:46 +00:00
Michael Johnson
279fbcbe78 Add 'make regression-test' which runs a series of tests of the fftw3 build
PR:		ports/127103
Submitted by:	Pedro Giffuni <pfgshield-freebsd@yahoo.com>
2008-09-07 04:19:51 +00:00
Martin Wilke
3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00
Edwin Groothuis
81cd10f8d2 Remove always-false/true conditions based on OSVERSION 500000 2007-10-04 01:53:45 +00:00