svn commit: r367347 - head/devel/gdb66
Adam Weinberger
adamw at FreeBSD.org
Fri Sep 5 15:38:52 UTC 2014
Author: adamw
Date: Fri Sep 5 15:38:51 2014
New Revision: 367347
URL: http://svnweb.freebsd.org/changeset/ports/367347
QAT: https://qat.redports.org/buildarchive/r367347/
Log:
Older make (8 and 9) treats a string as one large string. Newer make (10+)
treats a string as a collection of words.
Somehow a double-space was introduced into CFLAGS, which caused gdb66's
configure to choke. Newer make had to be told to examine the entire line
to get rid of it, but that syntax (/W) was unknown to older make.
So, split the difference and just make a shell call to remove the space.
The port can now build on 10 and 11.
Modified:
head/devel/gdb66/Makefile
Modified: head/devel/gdb66/Makefile
==============================================================================
--- head/devel/gdb66/Makefile Fri Sep 5 15:32:44 2014 (r367346)
+++ head/devel/gdb66/Makefile Fri Sep 5 15:38:51 2014 (r367347)
@@ -27,7 +27,8 @@ CONFIGURE_ARGS= --program-suffix=${PORTV
--disable-werror \
--enable-target=all \
--enable-tui ${ICONV_CONFIGURE_ARG}
-CFLAGS:= ${CFLAGS:C/ +$//} # blanks at EOL creep in sometimes
+ # remove consecutive blanks, which causes configure to fail
+CFLAGS!= echo ${CFLAGS}|sed -e 's/ / /g'
CFLAGS+= -DRL_NO_COMPAT
EXCLUDE= dejagnu expect readline sim texinfo intl
EXTRACT_AFTER_ARGS= ${EXCLUDE:S/^/--exclude /}
More information about the svn-ports-all
mailing list