Created attachment 165743 [details] [patch] remove local do-* targets - defaults are fine The do-build & do-install in this port are unnecessary. Patch attached. QA - portlint - 1 warning (unrelated) - stage-qa - passed - poudriere testport - passed 10-stable/amd64
Note: the patch also removed some redundant MAKE_ARGS (see Uses/scons.mk - why CFLAGS is not in the list of MAKE_ARGS variables in scons.mk, I don't know. Otherwise CFLAGS could be removed here, too).
Created attachment 165760 [details] [patch] remove local do-* targets - defaults are fine [v2 after r406512 - see bug 206319] Re-gen v2 of patch after r206319. Apply original (now obsolete) patch if you don't have r206319 merged into your tree.
Comment on attachment 165760 [details] [patch] remove local do-* targets - defaults are fine [v2 after r406512 - see bug 206319] Sorry - I meant r406512 (due to bug 206319), not r206319.
Removing SCONS_ARGS doesn't work for me: ===> Building for serf-1.3.8_1 scons: Reading SConscript files ... Unknown variables: CXX, PKGCONFIGDIR, destdir, LIBPATH, CXXFLAGS, CCFLAGS, CPPPATH, OPENSSL_CFLAGS ===> Compilation failed unexpectedly.
Created attachment 168667 [details] [patch] v2 - don't replace stock do-build/do-install Lev, you're right - the serf sConstruct file catches extra args. Here's an alternate patch.
Committed, thanx!
A commit references this bug: Author: lev Date: Tue Sep 6 13:19:52 UTC 2016 New revision: 421423 URL: https://svnweb.freebsd.org/changeset/ports/421423 Log: Update to 1.3.9 Simplify Makefile PR: 212345, 206359 Submitted by: Olli Hauer <ohauer@FreeBSD.org>, John Hein <z7dr6ut7gs@snkmail.com> Changes: head/www/serf/Makefile head/www/serf/distinfo head/www/serf/files/patch-SConstruct