aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1999-05-19 16:47:50 +0800
committertg <tg@FreeBSD.org>1999-05-19 16:47:50 +0800
commitc2b479abc682532909d51228d43e3c523bbb4a94 (patch)
tree8dabc68f4ae1d174bffb884a1b6027ace551f264 /lang/python
parentc35e46118113daac6a1c801b875016084ca3db09 (diff)
downloadfreebsd-ports-graphics-c2b479abc682532909d51228d43e3c523bbb4a94.tar.gz
freebsd-ports-graphics-c2b479abc682532909d51228d43e3c523bbb4a94.tar.zst
freebsd-ports-graphics-c2b479abc682532909d51228d43e3c523bbb4a94.zip
Better support for local $CFLAGS.
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/python/Makefile b/lang/python/Makefile
index 2a336095763..e4ceddf0684 100644
--- a/lang/python/Makefile
+++ b/lang/python/Makefile
@@ -3,7 +3,7 @@
# Date created: 08 August 1995
# Whom: jkh
#
-# $Id: Makefile,v 1.47 1999/04/21 05:56:24 nectar Exp $
+# $Id: Makefile,v 1.48 1999/04/21 16:20:05 nectar Exp $
#
DISTNAME= py152
@@ -21,7 +21,7 @@ DIST_SUBDIR= python
WRKSRC= ${WRKDIR}/Python-1.5.2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl
-MAKE_FLAGS= 'OPT=${CFLAGS}'
+CONFIGURE_ENV= OPT="${CFLAGS}"
INSTALL_TARGET= install
PLIST= ${WRKDIR}/PLIST
MAN1= python.1
@@ -52,7 +52,7 @@ LIBC_R!= /sbin/ldconfig -r | grep c_r || true
.if ${LIBC_R} != "" && defined(WITH_THREADS) && ${WITH_THREADS} == yes
CONFIGURE_ARGS+= --with-thread
CFLAGS+= -D_THREAD_SAFE
-CONFIGURE_ENV= LDFLAGS="-pthread ${LDFLAGS}"
+CONFIGURE_ENV+= LDFLAGS="-pthread ${LDFLAGS}"
.endif
#