aboutsummaryrefslogtreecommitdiff
path: root/lang/python25
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2001-09-25 11:39:45 +0000
committerThomas Gellekum <tg@FreeBSD.org>2001-09-25 11:39:45 +0000
commit2718c15787eea023fa6c000e509ceb17c229baf9 (patch)
tree967bdb92f4fe31a8134cc20fbbd02ef2652610ee /lang/python25
parentebf23e7ad7dbd3aff32fc893a29cfa41646e7fd3 (diff)
downloadports-2718c15787eea023fa6c000e509ceb17c229baf9.tar.gz
ports-2718c15787eea023fa6c000e509ceb17c229baf9.zip
Depend on math/libgmp when running a recent -current.
Notes
Notes: svn path=/head/; revision=48185
Diffstat (limited to 'lang/python25')
-rw-r--r--lang/python25/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/lang/python25/Makefile b/lang/python25/Makefile
index b17756041bf6..b548510597d6 100644
--- a/lang/python25/Makefile
+++ b/lang/python25/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