diff options
author | recht <recht@pkgsrc.org> | 2003-09-04 18:31:43 +0000 |
---|---|---|
committer | recht <recht@pkgsrc.org> | 2003-09-04 18:31:43 +0000 |
commit | 1e2a04351da98fe36c81d81ee9b5b126323a3e4e (patch) | |
tree | cb626bf8623a847f3927aeafda197c0b4219c262 /lang | |
parent | fbfcffeb4fd4e4cc1b38784f2de62a0fa66bd142 (diff) | |
download | pkgsrc-1e2a04351da98fe36c81d81ee9b5b126323a3e4e.tar.gz |
Partly override Python's CFLAGS with the ones from pkgsrc.
Idea by Adam <adam at albedo dot art dot pl> in private email.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/python23-pth/Makefile | 3 | ||||
-rw-r--r-- | lang/python23/Makefile | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lang/python23-pth/Makefile b/lang/python23-pth/Makefile index 6635e251fbb..011d2149b03 100644 --- a/lang/python23-pth/Makefile +++ b/lang/python23-pth/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2003/08/18 20:57:13 recht Exp $ +# $NetBSD: Makefile,v 1.5 2003/09/04 18:31:43 recht Exp $ # DISTNAME= Python-2.3 @@ -15,6 +15,7 @@ USE_BUILDLINK2= YES GNU_CONFIGURE= YES CONFIGURE_ARGS+= --enable-shared +CONFIGURE_ARGS+= OPT="${CFLAGS}" PTHREAD_OPTS= require .include "../../mk/pthread.buildlink2.mk" diff --git a/lang/python23/Makefile b/lang/python23/Makefile index 0b83f8cd763..fba51068192 100644 --- a/lang/python23/Makefile +++ b/lang/python23/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2003/08/18 20:57:11 recht Exp $ +# $NetBSD: Makefile,v 1.5 2003/09/04 18:31:44 recht Exp $ # DISTNAME= Python-2.3 @@ -16,6 +16,7 @@ GNU_CONFIGURE= YES CONFIGURE_ARGS+= --without-threads CONFIGURE_ARGS+= --enable-shared +CONFIGURE_ARGS+= OPT="${CFLAGS}" # XXX configure would pull in libpthread CONFIGURE_ENV+= ac_cv_search_sem_init=no |