pkg(ng)/portupgrade-devel: does not respect setting of USE_GCC= 4.6+

O. Hartmann ohartman at zedat.fu-berlin.de
Mon Aug 20 18:14:06 UTC 2012


I utilize FreeBSD 10.0-CURRENT and build the OS with CLANG as well as
ports, which are compatible building with clang, using the well known
settings in /etc/make.conf and /etc/src/conf.

I use ports-mgmt/pkg (1.0-r6) and recently in combination with
ports-mgmt/portupgrade for maintaining my ports. Prior to portupgrade I
used to use ports-mgmt/portmaster (with patch).



In /etc/mak.conf, I include a file via

.include "/usr/local/etc/ports.conf" in which I have settings like those:

# math/fftw3
.if ${.CURDIR:M/usr/ports/math/fftw3}
USE_GCC=                4.6+
#CC=                    cc
#CXX=                   c++
#CPP=                   cpp
.endif


This setup worked very well in pre-pkg(ng) times and with portmaster.
But now, with pkg, I can not install math/fftw3 anymore (amongst other
ports not compatible with CLANG). Performing "make install" in
math/fftw3 results in:

===>  fftw3-3.3.2 : clang does not support OpenMP. Disable the OPENMP
option or use another compiler.
*** [install] Error code 1

Stop in /usr/ports/math/fftw3.


Using portupgrade ends up in this:
 portupgrade -f math/fftw3
USING PKGNG
** Port marked as IGNORE: math/fftw3:
        : clang does not support OpenMP. Disable the OPENMP option or
use another compiler
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        - math/fftw3 (marked as IGNORE)

I'd like to have OPENMP since I have multicore CPUs running and
therefore I use GCC 4.6 (or higher), which is capable of.

Why does the use of pkg(ng) reject those essential settings? Have I
overlooked something essential? I can not find any remarks on that
subject in the man pages, or any hint leading towards a new configure
schematics. Any hint?


Regards and greetings,
Oliver


P.S. Please CC me in email, I do not subscribe list "ports at freebsd".

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20120820/a46f18f8/signature.pgp


More information about the freebsd-ports mailing list