aboutsummaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/lang/python/Makefile b/lang/python/Makefile
index b17756041bf6..b548510597d6 100644
--- a/lang/python/Makefile
+++ b/lang/python/Makefile
@@ -49,6 +49,12 @@ CFLAGS+= -I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
.endif
+.if ${OSVERSION} > 500023
+LIB_DEPENDS+= gmp.3:${PORTSDIR}/math/libgmp
+CFLAGS+= -I${LOCALBASE}/include
+CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
+.endif
+
.if ${OSVERSION} >= 500000 && ${OSVERSION} < 500005
CONFIGURE_ARGS+= --with-libs='-lxpg4'
.endif