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