svn commit: r368152 - head/math/rpcalc

Jason E. Hale jhale at FreeBSD.org
Sat Sep 13 23:39:21 UTC 2014


Author: jhale
Date: Sat Sep 13 23:39:20 2014
New Revision: 368152
URL: http://svnweb.freebsd.org/changeset/ports/368152
QAT: https://qat.redports.org/buildarchive/r368152/

Log:
  - Since Python 3.x packages aren't available, add a check to
    prevent pkg-fallout errors
  
  ===>   rpcalc-0.7.0 depends on package: py33-qt4-gui>=0 - not found
  ===>    Verifying install for py33-qt4-gui>=0 in /usr/ports/x11-toolkits/py-qt4-gui
  ===>   rpcalc-0.7.0 depends on package: /packages/All/py33-qt4-gui-4.11.1,1.txz - not found
  ===>   USE_PACKAGE_DEPENDS_ONLY set - not building missing dependency from source
  *** Error code 1

Modified:
  head/math/rpcalc/Makefile

Modified: head/math/rpcalc/Makefile
==============================================================================
--- head/math/rpcalc/Makefile	Sat Sep 13 22:04:15 2014	(r368151)
+++ head/math/rpcalc/Makefile	Sat Sep 13 23:39:20 2014	(r368152)
@@ -40,4 +40,10 @@ do-install:
 		${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
 		-d ${DATADIR} -f ${DATADIR_REL})
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(PACKAGE_BUILDING) && ${PYTHON_VER} != ${PYTHON_DEFAULT}
+IGNORE= you have python ${PYTHON_DEFAULT} set as the default, and this needs ${PYTHON_VER}
+.endif
+
+.include <bsd.port.post.mk>


More information about the svn-ports-head mailing list