Bug 212393 - [maintainer] textproc/cmark: Prevent building port twice when running tests
Summary: [maintainer] textproc/cmark: Prevent building port twice when running tests
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: John Marino
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-09-05 19:38 UTC by Tobias Kortkamp
Modified: 2016-09-05 22:58 UTC (History)
1 user (show)

See Also:


Attachments
cmark.diff (328 bytes, patch)
2016-09-05 19:38 UTC, Tobias Kortkamp
tobik: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Kortkamp freebsd_committer 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 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