diff options
author | vd <vd@FreeBSD.org> | 2006-05-20 16:18:07 +0800 |
---|---|---|
committer | vd <vd@FreeBSD.org> | 2006-05-20 16:18:07 +0800 |
commit | de7cd5f68528adf0be1f005ce459a05fd56ebbbb (patch) | |
tree | 0b172bba928f2dab7742f2bb9d1097927b85bd87 /devel/google-sparsehash | |
parent | 4fb20b9550236024b7321951100183ae1b5651eb (diff) | |
download | freebsd-ports-gnome-de7cd5f68528adf0be1f005ce459a05fd56ebbbb.tar.gz freebsd-ports-gnome-de7cd5f68528adf0be1f005ce459a05fd56ebbbb.tar.zst freebsd-ports-gnome-de7cd5f68528adf0be1f005ce459a05fd56ebbbb.zip |
Fix build on 4.x
Reported by: kris
Diffstat (limited to 'devel/google-sparsehash')
-rw-r--r-- | devel/google-sparsehash/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/google-sparsehash/Makefile b/devel/google-sparsehash/Makefile index 9aba89d3a9e9..e1f409ad9cf7 100644 --- a/devel/google-sparsehash/Makefile +++ b/devel/google-sparsehash/Makefile @@ -18,6 +18,12 @@ COMMENT= Google's hashtable implementations optimized for space or speed GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +.if ${OSVERSION} < 500000 +# /usr/include/g++/stl_algobase.h:139: template instantiation depth exceeds maximum of 17 +# /usr/include/g++/stl_algobase.h:139: (use -ftemplate-depth-NN to increase the maximum) +CFLAGS+= -ftemplate-depth-32 +.endif + post-patch: .if !defined(NOPORTDOCS) ${REINPLACE_CMD} -e \ |