From 23d2079526f5c21cf510b1458964a7619afa7286 Mon Sep 17 00:00:00 2001 From: jasoni Date: Fri, 19 Jan 2001 06:53:13 +0000 Subject: [PATCH] - depend on the gmp port - allow to be installed with python2.0 --- lang/python15/Makefile | 4 +++- lang/python15/files/Setup | 2 +- lang/python15/pkg/PLIST | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/lang/python15/Makefile b/lang/python15/Makefile index f6208d4c692..ec7774dd238 100644 --- a/lang/python15/Makefile +++ b/lang/python15/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2000/12/13 05:09:46 jasoni Exp $ +# $OpenBSD: Makefile,v 1.2 2001/01/19 06:53:13 jasoni Exp $ # # This port should remain Python 1.5.2. Please do not upgrade. @@ -37,6 +37,8 @@ CONFIGURE_ARGS+= ${CONFIGURE_SHARED} CONFIGURE_ARGS+= --with-fpectl --enable-debug MAKE_FLAGS+= OPT="${CFLAGS}" +BUILD_DEPENDS= ${LOCALBASE}/lib/libgmp.a::devel/gmp + WRKDIST= ${WRKDIR}/Python-1.5.2 # If libc_r exists, thread support is compiled in by default unless this diff --git a/lang/python15/files/Setup b/lang/python15/files/Setup index fa6b5e7dc15..23135705516 100644 --- a/lang/python15/files/Setup +++ b/lang/python15/files/Setup @@ -218,7 +218,7 @@ sha shamodule.c #GMP=/usr/src/gnu/lib/libgmp #mpz mpzmodule.c -I$(GMP) $(GMP)/libgmp.a -mpz mpzmodule.c /usr/lib/libgmp.a +mpz mpzmodule.c -I${LOCALBASE}/include -L${LOCALBASE}/lib -lgmp # SGI IRIX specific modules -- off by default. diff --git a/lang/python15/pkg/PLIST b/lang/python15/pkg/PLIST index 992891a0072..cd8d935c22d 100644 --- a/lang/python15/pkg/PLIST +++ b/lang/python15/pkg/PLIST @@ -1,4 +1,6 @@ -@comment $OpenBSD: PLIST,v 1.1.1.1 2000/12/13 05:09:50 jasoni Exp $ +@comment $OpenBSD: PLIST,v 1.2 2001/01/19 06:53:13 jasoni Exp $ +@option no-default-conflict +@pkgcfl python-1.5* bin/python1.5 include/python1.5/Python.h include/python1.5/abstract.h