Bug 197394 - [mantainer update] graphics/opennurbs Check for SRC_BASE existance
Summary: [mantainer update] graphics/opennurbs Check for SRC_BASE existance
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-07 15:51 UTC by Fernando Apesteguía
Modified: 2015-02-07 17:10 UTC (History)
1 user (show)

See Also:


Attachments
patch to the port's tree (537 bytes, text/plain)
2015-02-07 15:51 UTC, Fernando Apesteguía
no flags Details
Patch to the ports tree (571 bytes, text/plain)
2015-02-07 16:02 UTC, Fernando Apesteguía
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Apesteguía freebsd_committer freebsd_triage 2015-02-07 15:51:30 UTC
Created attachment 152676 [details]
patch to the port's tree

Update port to check the existance of SRC_BASE as suggested by jbeich (https://lists.freebsd.org/pipermail/svn-ports-all/2015-February/084775.html)

Checked locally moving /usr/src to /usr/src.old:

[fernape@hammer /home/fernape/redports.org/fernape/devel/visualparadigm]$ sudo port test
===> Using ports tree /usr/ports
===> Validating port with portlint
WARN: Makefile: [40]: possible use of "${CHMOD}" found. Use @(owner,group,mode) syntax or @owner/@group operators in pkg-plist instead.
WARN: Makefile: the port uses Java but is not part of the ``java'' category
WARN: Makefile: Consider defining LICENSE.
0 fatal errors and 3 warnings found.
===> flags: PREFIX=/tmp/visualparadigm-12.0 NO_DEPENDS=yes PKG_DBDIR=/tmp/pkg_db.zyRuCmTj PORTSDIR=/usr/ports --
===> Cleaning workspace before port test
===>  Cleaning for visualparadigm-12.0
===>  visualparadigm-12.0 needs SRC_BASE to compile. Install base system sources and try again.
*** Error code 1

Stop.
make: stopped in /usr/home/fernape/redports.org/fernape/devel/visualparadigm
===> Error running make build
===> Cleaning up
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2015-02-07 16:02:00 UTC
Created attachment 152678 [details]
Patch to the ports tree

Sorry, I messed up with the previous patch that you can omit :)
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-02-07 17:10:09 UTC
A commit references this bug:

Author: pi
Date: Sat Feb  7 17:09:46 UTC 2015
New revision: 378605
URL: https://svnweb.freebsd.org/changeset/ports/378605

Log:
  graphics/opennurbs: use SRC_BASE and IGNORE if not available

  As suggested by jbeich.

  PR:		197394
  Submitted by:	Fernando Apestegu?a <fernando.apesteguia@gmail.com> (maintainer)

Changes:
  head/graphics/opennurbs/Makefile
Comment 3 Kurt Jaeger freebsd_committer freebsd_triage 2015-02-07 17:10:49 UTC
Committed, thanks.