From 3a3da8d325e6bd7237d08a9b0e8dad45dab8b03d Mon Sep 17 00:00:00 2001 From: tg Date: Fri, 19 Oct 2001 11:16:55 +0000 Subject: Don't build mpz extension, it's moved to a separate port. --- lang/python25/Makefile | 8 +------- lang/python25/files/patch-setup.py | 2 +- lang/python25/pkg-plist | 3 +-- 3 files changed, 3 insertions(+), 10 deletions(-) (limited to 'lang/python25') diff --git a/lang/python25/Makefile b/lang/python25/Makefile index b548510..400b879 100644 --- a/lang/python25/Makefile +++ b/lang/python25/Makefile @@ -17,7 +17,7 @@ MAINTAINER?= tg@FreeBSD.org DIST_SUBDIR= python WRKSRC= ${PYTHON_WRKSRC} GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-fpectl +#CONFIGURE_ARGS= --with-fpectl CONFIGURE_ENV= OPT="${CFLAGS}" INSTALL_TARGET= install MAN1= python.1 @@ -49,12 +49,6 @@ 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/files/patch-setup.py b/lang/python25/files/patch-setup.py index fd0d484..f3cef48 100644 --- a/lang/python25/files/patch-setup.py +++ b/lang/python25/files/patch-setup.py @@ -5,7 +5,7 @@ # This global variable is used to hold the list of modules to be disabled. -disabled_module_list = [] -+disabled_module_list = ["_tkinter", "gdbm", "pyexpat"] ++disabled_module_list = ["_tkinter", "gdbm", "mpz", "pyexpat"] def find_file(filename, std_dirs, paths): """Searches for the directory where a given file is located, diff --git a/lang/python25/pkg-plist b/lang/python25/pkg-plist index fce3394..00b364f 100644 --- a/lang/python25/pkg-plist +++ b/lang/python25/pkg-plist @@ -872,13 +872,12 @@ lib/%%PYTHON_VERSION%%/lib-dynload/crypt.so lib/%%PYTHON_VERSION%%/lib-dynload/dbm.so lib/%%PYTHON_VERSION%%/lib-dynload/errno.so lib/%%PYTHON_VERSION%%/lib-dynload/fcntl.so -lib/%%PYTHON_VERSION%%/lib-dynload/fpectl.so +@comment lib/%%PYTHON_VERSION%%/lib-dynload/fpectl.so lib/%%PYTHON_VERSION%%/lib-dynload/grp.so lib/%%PYTHON_VERSION%%/lib-dynload/imageop.so lib/%%PYTHON_VERSION%%/lib-dynload/math.so lib/%%PYTHON_VERSION%%/lib-dynload/md5.so lib/%%PYTHON_VERSION%%/lib-dynload/mmap.so -lib/%%PYTHON_VERSION%%/lib-dynload/mpz.so lib/%%PYTHON_VERSION%%/lib-dynload/new.so lib/%%PYTHON_VERSION%%/lib-dynload/nis.so lib/%%PYTHON_VERSION%%/lib-dynload/operator.so -- cgit v1.1