The LDFLAGS, CPPFLAGS, etc. are set during configure step.
We don't need to bother with the situations, when /etc/make.conf, etc. are updated between configure and build. The way things are now, linking might break in certain cases because LDFLAGS is set to empty string (instead of being unset). Notified by: Pierre Guinoiseau
This commit is contained in:
parent
a08b6b4dc3
commit
dfcfbcc9ab
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200149
1 changed files with 0 additions and 5 deletions
|
@ -308,11 +308,6 @@ post-patch:
|
|||
# deprecated gvCleanup
|
||||
@${REINPLACE_CMD} -e "s|gvCleanup|gvFreeContext|g" \
|
||||
${WRKSRC}/coders/dot.c
|
||||
# Respect Make flags
|
||||
@${REINPLACE_CMD} -E -e "s|^CPPFLAGS =|CPPFLAGS ?=|g" \
|
||||
-e "s|^CXXFLAGS =|CXXFLAGS ?=|g" -e "s|^CFLAGS =|CFLAGS ?=|g" \
|
||||
-e "s|^CC =|CC ?=|g" -e "s|^CPP =|CPP ?=|g" -e "s|^CXX =|CXX ?=|g" \
|
||||
-e "s|^LDFLAGS =|LDFLAGS ?=|g" ${WRKSRC}/Makefile.in
|
||||
|
||||
post-install:
|
||||
.if defined(WITHOUT_IMAGEMAGICK_16BIT_PIXEL)
|
||||
|
|
Loading…
Reference in a new issue