aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-08-29 00:29:27 +0800
committeradamw <adamw@FreeBSD.org>2014-08-29 00:29:27 +0800
commit6ea8b67d5814fd76512d8e7b147d8f86a7bb8d2d (patch)
tree6f16bf2cda19b936bb309f2d07956ebbafc60395
parent0e5f52257ce860c8c33eae9ebbba7d65a8ff0424 (diff)
downloadfreebsd-ports-gnome-6ea8b67d5814fd76512d8e7b147d8f86a7bb8d2d.tar.gz
freebsd-ports-gnome-6ea8b67d5814fd76512d8e7b147d8f86a7bb8d2d.tar.zst
freebsd-ports-gnome-6ea8b67d5814fd76512d8e7b147d8f86a7bb8d2d.zip
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.
-rw-r--r--devel/gdb66/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/gdb66/Makefile b/devel/gdb66/Makefile
index 05d1b804b234..857f5e873e73 100644
--- a/devel/gdb66/Makefile
+++ b/devel/gdb66/Makefile
@@ -27,7 +27,7 @@ CONFIGURE_ARGS= --program-suffix=${PORTVERSION:S/.//g} \
--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 /}