aboutsummaryrefslogtreecommitdiff
path: root/math/rpcalc
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2014-09-13 23:39:20 +0000
committerJason E. Hale <jhale@FreeBSD.org>2014-09-13 23:39:20 +0000
commit95ce87428bdae19784f9598f12dea5da82ad9d6a (patch)
tree3e8089a10a2c39b7f023e578ac35c4ecba15f67a /math/rpcalc
parent1a0309fa40e339f4b1aebfb89fc3f4bd0b2df099 (diff)
Notes
Diffstat (limited to 'math/rpcalc')
-rw-r--r--math/rpcalc/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/rpcalc/Makefile b/math/rpcalc/Makefile
index a34c4703d75e..15559323341f 100644
--- a/math/rpcalc/Makefile
+++ b/math/rpcalc/Makefile
@@ -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>