Bug 212393

Summary: [maintainer] textproc/cmark: Prevent building port twice when running tests
Product: Ports & Packages Reporter: Tobias Kortkamp <tobik>
Component: Individual Port(s)Assignee: John Marino <marino>
Status: Closed FIXED    
Severity: Affects Only Me CC: marino
Priority: --- Keywords: patch
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
cmark.diff tobik: maintainer-approval+

Description Tobias Kortkamp freebsd_committer freebsd_triage 2016-09-05 19:38:03 UTC
Created attachment 174394 [details]
cmark.diff

Currently when running make test the port is build twice, once during the normal build phase and then again during the test phase.  This can be prevented by setting TEST_WRKSRC to BUILD_WRKSRC (which is not WRKSRC thanks to cmake:outsource).

Poudriere testport 10.2/i386 ok, portlint ok
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-09-05 22:58:09 UTC
A commit references this bug:

Author: marino
Date: Mon Sep  5 22:57:56 UTC 2016
New revision: 421400
URL: https://svnweb.freebsd.org/changeset/ports/421400

Log:
  textproc/cmark: Prevent building port twice when running tests

  PR:		212393
  submitted by:	maintainer

Changes:
  head/textproc/cmark/Makefile