Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Aug 2014 16:29:27 +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: r366431 - head/devel/gdb66
Message-ID:  <201408281629.s7SGTRhh031388@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Thu Aug 28 16:29:27 2014
New Revision: 366431
URL: http://svnweb.freebsd.org/changeset/ports/366431
QAT: https://qat.redports.org/buildarchive/r366431/

Log:
  The :C modifier doesn't seem to work as described. It seems to behave
  exactly the same as :S here.
  
  Build was failing here because it was counting on :C doing the right
  thing. Change the regex into a simple string to fix the build.

Modified:
  head/devel/gdb66/Makefile

Modified: head/devel/gdb66/Makefile
==============================================================================
--- head/devel/gdb66/Makefile	Thu Aug 28 16:25:20 2014	(r366430)
+++ head/devel/gdb66/Makefile	Thu Aug 28 16:29:27 2014	(r366431)
@@ -27,7 +27,7 @@ CONFIGURE_ARGS=	--program-suffix=${PORTV
 		--disable-werror \
 		--enable-target=all \
 		--enable-tui ${ICONV_CONFIGURE_ARG}
-CFLAGS:=	${CFLAGS:C/ +$//}	# blanks at EOL creep in sometimes
+CFLAGS:=	${CFLAGS:S/  //gW}	# blanks at EOL creep in sometimes
 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?201408281629.s7SGTRhh031388>