Bug 192422 - fix bsd.python.mk issue with 3.4 in /etc/make.conf
Summary: fix bsd.python.mk issue with 3.4 in /etc/make.conf
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Some People
Assignee: Kurt Jaeger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-06 08:30 UTC by Kurt Jaeger
Modified: 2014-08-06 12:33 UTC (History)
2 users (show)

See Also:


Attachments
fix bsd.python.mk (392 bytes, patch)
2014-08-06 08:30 UTC, Kurt Jaeger
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Jaeger freebsd_committer 2014-08-06 08:30:38 UTC
Created attachment 145411 [details]
fix bsd.python.mk

# cd /usr/ports
# make fetchindex
make[1]: "/usr/ports/Mk/bsd.python.mk" line 356: Malformed conditional (exists(${PYTHON_CMD}-config) && ${PORTNAME} != python34)
make[1]: Fatal errors encountered -- cannot continuemake: "/usr/ports/Mk/bsd.port.subdir.mk" line 110: warning: "make -V PYTHON_DEFAULT_VERSION USE_PYTHON=1 -f /usr/ports/Mk/bsd.port.mk" returned non-zero status
make[1]: "/usr/ports/Mk/bsd.python.mk" line 356: Malformed conditional (exists(${PYTHON_CMD}-config) && ${PORTNAME} != python34)
make[1]: Fatal errors encountered -- cannot continuemake: "/usr/ports/Mk/bsd.port.subdir.mk" line 116: warning: "make -V PYTHON_PORTVERSION USE_PYTHON=1 -f /usr/ports/Mk/bsd.port.mk" returned non-zero status
make[1]: "/usr/ports/Mk/bsd.python.mk" line 356: Malformed conditional (exists(${PYTHON_CMD}-config) && ${PORTNAME} != python34)
make[1]: Fatal errors encountered -- cannot continuemake: "/usr/ports/Mk/bsd.port.subdir.mk" line 120: warning: "make -V PYTHONBASE USE_PYTHON=1 -f /usr/ports/Mk/bsd.port.mk" returned non-zero status

reason:
/etc/make.conf with python=3.4 python3=3.4

fix: see attachment
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2014-08-06 08:53:09 UTC
Submitter is Committer.

Reviewed by: antoine, koobs
Approved by: antoine (python, portmgr)
Comment 2 commit-hook freebsd_committer 2014-08-06 12:32:02 UTC
A commit references this bug:

Author: pi
Date: Wed Aug  6 12:31:05 UTC 2014
New revision: 364167
URL: http://svnweb.freebsd.org/changeset/ports/364167

Log:
  Mk/bsd.python.mk: fix error message for python34 world

  PR:		192422
  Submitted by:	pi
  Reviewed by:	antoine, koobs
  Approved by:	antoine (python, portmgr)

Changes:
  head/Mk/bsd.python.mk