aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python31
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/python31
parentc35e46118113daac6a1c801b875016084ca3db09 (diff)
downloadfreebsd-ports-gnome-c2b479abc682532909d51228d43e3c523bbb4a94.tar.gz
freebsd-ports-gnome-c2b479abc682532909d51228d43e3c523bbb4a94.tar.zst
freebsd-ports-gnome-c2b479abc682532909d51228d43e3c523bbb4a94.zip
Better support for local $CFLAGS.
Diffstat (limited to 'lang/python31')
-rw-r--r--lang/python31/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/python31/Makefile b/lang/python31/Makefile
index 2a3360957635..e4ceddf0684a 100644
--- a/lang/python31/Makefile
+++ b/lang/python31/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
#