Created attachment 145858 [details] patch for ndpi-1.5.0 - Update to 1.5.0 Poudriere logs: http://pdr.s.ubze.ro/bulk/latest-per-pkg/ndpi/1.5.0/
this looks seriously suspicious: 29 .if ${OSVERSION} < 1000000 30 BUILD_DEPENDS+= llvm-config33:${PORTSDIR}/devel/llvm33 \ 31 clang++33:${PORTSDIR}/lang/clang33 32 CC= clang33 33 CXX= clang++33 34 .endif you can't use USES=compiler:<option> ? OSVERSION combined with compiler specification is a red flag
What's an alternative for USE_GCC=any for CLANG? (In reply to John Marino from comment #1) > this looks seriously suspicious: > > 29 .if ${OSVERSION} < 1000000 > 30 BUILD_DEPENDS+= llvm-config33:${PORTSDIR}/devel/llvm33 \ > 31 clang++33:${PORTSDIR}/lang/clang33 > 32 CC= clang33 > 33 CXX= clang++33 > 34 .endif > > you can't use USES=compiler:<option> ? > > OSVERSION combined with compiler specification is a red flag
answer these questions - what are you trying to solve? Why are you explicitly specifying clang? Read over Mk/Uses/compiler.mk and maybe that will trigger some ideas.
The port doesn't build with gcc .. It needs clang. So for 8 and 9 I need clang compiler.
(In reply to Muhammad Moinur Rahman from comment #4) > The port doesn't build with gcc .. It needs clang. So for 8 and 9 I need > clang compiler. 1) why? 2) Did you review compilers.mk yet? It describes the characteristics needed, not a specific compiler. Against, assigning a compiler per OSVERSION is heavily frowned upon.
Thx for the ideas. Will update the patch once the poudriere builder finishes. (In reply to John Marino from comment #5) > (In reply to Muhammad Moinur Rahman from comment #4) > > The port doesn't build with gcc .. It needs clang. So for 8 and 9 I need > > clang compiler. > > 1) why? > 2) Did you review compilers.mk yet? > > It describes the characteristics needed, not a specific compiler. > Against, assigning a compiler per OSVERSION is heavily frowned upon.
Created attachment 145863 [details] patch for ndpi-1.5.0
okay, much better. There's not "install-strip" target in the vendor makefile perchance is there?
No. (In reply to John Marino from comment #8) > okay, much better. > > There's not "install-strip" target in the vendor makefile perchance is there?
ok, I've hassled you enough this morning. Moving to patch-ready.
A commit references this bug: Author: wg Date: Wed Aug 20 20:14:56 UTC 2014 New revision: 365509 URL: http://svnweb.freebsd.org/changeset/ports/365509 Log: net/ndpi: update to 1.5.0 PR: 192700 Submitted by: maintainer Changes: head/net/ndpi/Makefile head/net/ndpi/distinfo head/net/ndpi/files/ head/net/ndpi/files/patch-configure head/net/ndpi/files/patch-example_Makefile.in head/net/ndpi/pkg-plist