diff options
author | tg <tg@FreeBSD.org> | 2001-10-19 19:16:55 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2001-10-19 19:16:55 +0800 |
commit | 3a3da8d325e6bd7237d08a9b0e8dad45dab8b03d (patch) | |
tree | 59fda1387ab7ca0693d65667e6a245efa971d240 /lang/python21 | |
parent | acd343c539f4305270cccd891e037878a56983bf (diff) | |
download | freebsd-ports-gnome-3a3da8d325e6bd7237d08a9b0e8dad45dab8b03d.tar.gz freebsd-ports-gnome-3a3da8d325e6bd7237d08a9b0e8dad45dab8b03d.tar.zst freebsd-ports-gnome-3a3da8d325e6bd7237d08a9b0e8dad45dab8b03d.zip |
Don't build mpz extension, it's moved to a separate port.
Diffstat (limited to 'lang/python21')
-rw-r--r-- | lang/python21/Makefile | 8 | ||||
-rw-r--r-- | lang/python21/files/patch-setup.py | 2 | ||||
-rw-r--r-- | lang/python21/pkg-plist | 3 |
3 files changed, 3 insertions, 10 deletions
diff --git a/lang/python21/Makefile b/lang/python21/Makefile index b548510597d6..400b87953447 100644 --- a/lang/python21/Makefile +++ b/lang/python21/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/python21/files/patch-setup.py b/lang/python21/files/patch-setup.py index fd0d484c38db..f3cef489fa8f 100644 --- a/lang/python21/files/patch-setup.py +++ b/lang/python21/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/python21/pkg-plist b/lang/python21/pkg-plist index fce33946364f..00b364f83709 100644 --- a/lang/python21/pkg-plist +++ b/lang/python21/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 |