diff options
author | tg <tg@FreeBSD.org> | 2001-09-25 19:39:45 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2001-09-25 19:39:45 +0800 |
commit | 74200bcdc2732b46da6cf917efd15489d85964dd (patch) | |
tree | 5dbfa0a8f6156623253a87c887efee376b279ac6 /lang/python-devel | |
parent | 03e122c171a12832e35e94e43a3dd1d766188508 (diff) | |
download | freebsd-ports-gnome-74200bcdc2732b46da6cf917efd15489d85964dd.tar.gz freebsd-ports-gnome-74200bcdc2732b46da6cf917efd15489d85964dd.tar.zst freebsd-ports-gnome-74200bcdc2732b46da6cf917efd15489d85964dd.zip |
Depend on math/libgmp when running a recent -current.
Diffstat (limited to 'lang/python-devel')
-rw-r--r-- | lang/python-devel/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lang/python-devel/Makefile b/lang/python-devel/Makefile index b17756041bf6..b548510597d6 100644 --- a/lang/python-devel/Makefile +++ b/lang/python-devel/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 |