aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/cost/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/cost/Makefile')
-rw-r--r--textproc/cost/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/textproc/cost/Makefile b/textproc/cost/Makefile
index 2cd9e0548bc6..3bb37bb7c4e2 100644
--- a/textproc/cost/Makefile
+++ b/textproc/cost/Makefile
@@ -20,7 +20,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/src
GNU_CONFIGURE= YES
CONFIGURE_ARGS+=--with-tcl=${LOCALBASE}/lib/tcl8.4 \
--with-docdir=${PREFIX}/share/doc/cost --with-charmaps
-CONFIGURE_ENV+= CFLAGS="${CFLAGS} -fPIC" TCL_INCLUDE_SPEC="${LOCALBASE}/include/tcl8.4"
+CONFIGURE_ENV+= TCL_INCLUDE_SPEC="${LOCALBASE}/include/tcl8.4"
+CFLAGS+= -fPIC
post-patch:
@${REINPLACE_CMD} -e 's|TCL_SRC_DIR%g|TCL_INCLUDE_SPEC%g|' \