From 2718c15787eea023fa6c000e509ceb17c229baf9 Mon Sep 17 00:00:00 2001 From: Thomas Gellekum Date: Tue, 25 Sep 2001 11:39:45 +0000 Subject: [PATCH] Depend on math/libgmp when running a recent -current. --- lang/python-devel/Makefile | 6 ++++++ lang/python/Makefile | 6 ++++++ lang/python21/Makefile | 6 ++++++ lang/python22/Makefile | 6 ++++++ lang/python23/Makefile | 6 ++++++ lang/python24/Makefile | 6 ++++++ lang/python25/Makefile | 6 ++++++ lang/python26/Makefile | 6 ++++++ lang/python27/Makefile | 6 ++++++ lang/python30/Makefile | 6 ++++++ lang/python31/Makefile | 6 ++++++ lang/python32/Makefile | 6 ++++++ 12 files changed, 72 insertions(+) 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 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 diff --git a/lang/python21/Makefile b/lang/python21/Makefile index b17756041bf6..b548510597d6 100644 --- a/lang/python21/Makefile +++ b/lang/python21/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 diff --git a/lang/python22/Makefile b/lang/python22/Makefile index b17756041bf6..b548510597d6 100644 --- a/lang/python22/Makefile +++ b/lang/python22/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 diff --git a/lang/python23/Makefile b/lang/python23/Makefile index b17756041bf6..b548510597d6 100644 --- a/lang/python23/Makefile +++ b/lang/python23/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 diff --git a/lang/python24/Makefile b/lang/python24/Makefile index b17756041bf6..b548510597d6 100644 --- a/lang/python24/Makefile +++ b/lang/python24/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 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 diff --git a/lang/python26/Makefile b/lang/python26/Makefile index b17756041bf6..b548510597d6 100644 --- a/lang/python26/Makefile +++ b/lang/python26/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 diff --git a/lang/python27/Makefile b/lang/python27/Makefile index b17756041bf6..b548510597d6 100644 --- a/lang/python27/Makefile +++ b/lang/python27/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 diff --git a/lang/python30/Makefile b/lang/python30/Makefile index b17756041bf6..b548510597d6 100644 --- a/lang/python30/Makefile +++ b/lang/python30/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 diff --git a/lang/python31/Makefile b/lang/python31/Makefile index b17756041bf6..b548510597d6 100644 --- a/lang/python31/Makefile +++ b/lang/python31/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 diff --git a/lang/python32/Makefile b/lang/python32/Makefile index b17756041bf6..b548510597d6 100644 --- a/lang/python32/Makefile +++ b/lang/python32/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