Date: Fri, 5 Sep 2014 15:38:51 +0000 (UTC) From: Adam Weinberger <adamw@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r367347 - head/devel/gdb66 Message-ID: <201409051538.s85FcpZK074921@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 /}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409051538.s85FcpZK074921>