pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang Partly override Python's CFLAGS with the ones fro...
details: https://anonhg.NetBSD.org/pkgsrc/rev/465613abe25d
branches: trunk
changeset: 460809:465613abe25d
user: recht <recht%pkgsrc.org@localhost>
date: Thu Sep 04 18:31:43 2003 +0000
description:
Partly override Python's CFLAGS with the ones from pkgsrc.
Idea by Adam <adam at albedo dot art dot pl> in private email.
diffstat:
lang/python23-pth/Makefile | 3 ++-
lang/python23/Makefile | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 3438e7317507 -r 465613abe25d lang/python23-pth/Makefile
--- a/lang/python23-pth/Makefile Thu Sep 04 15:47:08 2003 +0000
+++ b/lang/python23-pth/Makefile Thu Sep 04 18:31:43 2003 +0000
@@ -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 @@
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-shared
+CONFIGURE_ARGS+= OPT="${CFLAGS}"
PTHREAD_OPTS= require
.include "../../mk/pthread.buildlink2.mk"
diff -r 3438e7317507 -r 465613abe25d lang/python23/Makefile
--- a/lang/python23/Makefile Thu Sep 04 15:47:08 2003 +0000
+++ b/lang/python23/Makefile Thu Sep 04 18:31:43 2003 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index