diff options
author | mandree <mandree@FreeBSD.org> | 2011-07-01 09:48:48 +0800 |
---|---|---|
committer | mandree <mandree@FreeBSD.org> | 2011-07-01 09:48:48 +0800 |
commit | dcbd07e7532a3951b2cfc99ca7e8da56fb168594 (patch) | |
tree | 028037884f134534ead8a630657d095a53aeedfc /devel/cccc | |
parent | 62a79e1d27e005520a3abb65c6a3f993ece62a69 (diff) | |
download | freebsd-ports-gnome-dcbd07e7532a3951b2cfc99ca7e8da56fb168594.tar.gz freebsd-ports-gnome-dcbd07e7532a3951b2cfc99ca7e8da56fb168594.tar.zst freebsd-ports-gnome-dcbd07e7532a3951b2cfc99ca7e8da56fb168594.zip |
- Heed CXX (fixes build on systems without g++; per clang -exp run)
- Patch erase to map_t::erase (adds files/patch-cccc__cccc_tbl.cc)
- Drop MD5 sum.
Diffstat (limited to 'devel/cccc')
-rw-r--r-- | devel/cccc/Makefile | 3 | ||||
-rw-r--r-- | devel/cccc/distinfo | 1 | ||||
-rw-r--r-- | devel/cccc/files/patch-cccc__cccc_tbl.cc | 11 | ||||
-rw-r--r-- | devel/cccc/files/patch-makefile | 4 |
4 files changed, 16 insertions, 3 deletions
diff --git a/devel/cccc/Makefile b/devel/cccc/Makefile index 4d58f1449250..ba3d5f157986 100644 --- a/devel/cccc/Makefile +++ b/devel/cccc/Makefile @@ -24,6 +24,9 @@ MAKE_JOBS_UNSAFE= yes PORTDOCS= readme.txt changes.txt PLIST_FILES= bin/cccc +post-patch: + @${REINPLACE_CMD} -e 's|=g++|=${CXX}|' ${WRKSRC}/*/posix*.mak + do-install: @${INSTALL_PROGRAM} ${WRKSRC}/cccc/cccc ${PREFIX}/bin .if !defined(NOPORTDOCS) diff --git a/devel/cccc/distinfo b/devel/cccc/distinfo index 71199c6314b8..96cb2150eef4 100644 --- a/devel/cccc/distinfo +++ b/devel/cccc/distinfo @@ -1,3 +1,2 @@ -MD5 (cccc-3.1.4.tar.gz) = 7bd3ad868913a0beab2fde931737f928 SHA256 (cccc-3.1.4.tar.gz) = 27b3eca9a83a66799332363a80cc4bcd6db9869eddbda1a59a25cdace3ff4dbf SIZE (cccc-3.1.4.tar.gz) = 632007 diff --git a/devel/cccc/files/patch-cccc__cccc_tbl.cc b/devel/cccc/files/patch-cccc__cccc_tbl.cc new file mode 100644 index 000000000000..3de16003a605 --- /dev/null +++ b/devel/cccc/files/patch-cccc__cccc_tbl.cc @@ -0,0 +1,11 @@ +--- ./cccc/cccc_tbl.cc.orig 2011-07-01 03:42:55.000000000 +0200 ++++ ./cccc/cccc_tbl.cc 2011-07-01 03:43:07.000000000 +0200 +@@ -96,7 +96,7 @@ + typename map_t::iterator value_iterator=map_t::find(old_item_ptr->key()); + if(value_iterator!=map_t::end()) + { +- erase(value_iterator); ++ map_t::erase(value_iterator); + retval=true; + } + return retval; diff --git a/devel/cccc/files/patch-makefile b/devel/cccc/files/patch-makefile index f7132150fbde..1b339190112a 100644 --- a/devel/cccc/files/patch-makefile +++ b/devel/cccc/files/patch-makefile @@ -1,5 +1,5 @@ ---- makefile.orig Wed Apr 25 18:30:29 2001 -+++ makefile Mon Sep 4 21:17:17 2006 +--- ./makefile.orig 2001-04-25 18:30:29.000000000 +0200 ++++ ./makefile 2011-07-01 03:41:44.000000000 +0200 @@ -8,17 +8,17 @@ .PHONY : pccts cccc test install |