aboutsummaryrefslogtreecommitdiff
path: root/devel/stfl
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-08-08 21:03:24 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-08-08 21:03:24 +0000
commitaaac1939b4453fea255d96bc05ef62771a3fe39f (patch)
tree3cd7dc56dc6671239245dd0b0f308d376fb34cd4 /devel/stfl
parent49d788a365af920b8e95445c841ef6a14282bdc6 (diff)
downloadports-aaac1939b4453fea255d96bc05ef62771a3fe39f.tar.gz
ports-aaac1939b4453fea255d96bc05ef62771a3fe39f.zip
Notes
Diffstat (limited to 'devel/stfl')
-rw-r--r--devel/stfl/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/stfl/Makefile b/devel/stfl/Makefile
index 3ba9a0ab3c3d..765cb9d4726c 100644
--- a/devel/stfl/Makefile
+++ b/devel/stfl/Makefile
@@ -32,8 +32,8 @@ NCURSES_INC= ncurses/
.endif
post-patch:
- @${REINPLACE_CMD} -e 's|\.a|.so|g;/ranlib/d;s|ar qc|${CC} ${CFLAGS} -shared -fPIC -o|;\
- s|sed -r|sed -E|;s|-Os||;/gcc/d' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|\.a|.so|g;/ranlib/d;s|ar qc|$${CC} $${CFLAGS} -shared -fPIC -o|;\
+ s|sed -r|sed -E|;s|-Os||;/gcc/d;/-MM/s|-I.|$${CFLAGS}|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|alloca.h|stdlib.h|' ${WRKSRC}/widgets/*.c
@${REINPLACE_CMD} -e 's|ncursesw/|${NCURSES_INC}|' ${WRKSRC}/stfl_internals.h
@${ECHO_CMD} 'prefix = ${PREFIX}' > ${WRKSRC}/Makefile.cfg