vigra tries to install gcc-4.6 even if clang installed (as clang, clang++ & clang-cpp). Fix: Adding following lines to make.conf resolves problem: .if ${.CURDIR:M*/ports/graphics/vigra*} CC=clang CXX=clang++ CPP=clang-cpp .endif But it's only a workaround. I think that clang check must be added similar to editors/libreoffice/Makefile. How-To-Repeat: Try to compile vigra when clang installed not as gcc. Following lines are incorrect: # Check for clang, else use gcc46+ CPP_check!= ${CPP} --version | tr -d '()' .if !${CPP_check:Mclang} USE_GCC= 4.6+ .endif
Responsible Changed From-To: freebsd-ports-bugs->fluffy Over to maintainer (via the GNATS Auto Assign Tool)
20.12.2012 23:38, Sayetsky Anton пиÑеÑ: >> Number: 174587 >> Category: ports >> Synopsis: graphics/vigra cannot detect clang >> Confidential: no >> Severity: non-critical >> Priority: low >> Responsible: freebsd-ports-bugs >> State: open >> Quarter: >> Keywords: >> Date-Required: >> Class: sw-bug >> Submitter-Id: current-users >> Arrival-Date: Thu Dec 20 12:40:00 UTC 2012 >> Closed-Date: >> Last-Modified: >> Originator: Sayetsky Anton >> Release: FreeBSD 9.1-RELEASE amd64 >> Organization: >> Environment: > System: FreeBSD jw.local 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r244078: Mon Dec 10 14:48:18 EET 2012 root@jw.local:/usr/obj/media/dvlfiles/build/src/sys/JASONW amd64 > >> Description: > vigra tries to install gcc-4.6 even if clang installed (as clang, clang++ & clang-cpp). Installed, but not used as default. it make sence, because base gcc 4.2.1 can't compile vigra anymore. >> How-To-Repeat: > Try to compile vigra when clang installed not as gcc. Following lines are incorrect: > # Check for clang, else use gcc46+ > CPP_check!= ${CPP} --version | tr -d '()' > .if !${CPP_check:Mclang} > USE_GCC= 4.6+ > .endif Logic is absolutely correct, if used default compiler isn't "clang", use gcc46, or you need to specify it by hands, as described at bottom >> Fix: > Adding following lines to make.conf resolves problem: > .if ${.CURDIR:M*/ports/graphics/vigra*} > CC=clang > CXX=clang++ > CPP=clang-cpp > .endif > > But it's only a workaround. I think that clang check must be added similar to editors/libreoffice/Makefile. >> Release-Note: >> Audit-Trail: >> Unformatted: > _______________________________________________ > freebsd-ports-bugs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs > To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe@freebsd.org" -- Dima Panov (fluffy@FreeBSD.org) (KDE, Office)@FreeBSD team Facebook: http://www.facebook.com/fluffy.khv IRC: fluffy@EFNet, fluffykhv@FreeNode twitter: fluffy_khv | skype: dima.panov
Then maybe a pre-configure message needed that will inform user about it (line in print/freetype2 about LCD_FILTERING)?
State Changed From-To: open->closed Port was fixed a long time ago