diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-06-14 21:20:19 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-06-14 21:20:19 +0000 |
commit | a2285945f88bc1a58518f828db46a29bd317f09a (patch) | |
tree | 4b2fc1d4a299a1f2dd3355766adb1af85588b824 /math/lll_spect | |
parent | 9598ac3abcf1f659a75e2121137f868ddb23e690 (diff) | |
download | ports-a2285945f88bc1a58518f828db46a29bd317f09a.tar.gz ports-a2285945f88bc1a58518f828db46a29bd317f09a.zip |
math/lll_spect: fix build
Add USES=compiler:c++11-lang to fix build:
/usr/local/include/NTL/vector.h: In copy constructor 'NTL::Vec<T>::Vec(const NTL::Vec<T>&)':
/usr/local/include/NTL/vector.h:239: error: there are no arguments to 'AllocateTo' that depend on a template parameter, so a declaration of 'AllocateTo' must be available
/usr/local/include/NTL/vector.h:241: error: there are no arguments to 'AdjustLength' that depend on a template parameter, so a declaration of 'AdjustLength' must be available
/usr/local/include/NTL/vector.h: At global scope:
/usr/local/include/NTL/vector.h:242: error: expected unqualified-id at end of input
/usr/local/include/NTL/vector.h:242: error: expected `}' at end of input
Approved by: mentors (implicite approval)
Notes
Notes:
svn path=/head/; revision=504212
Diffstat (limited to 'math/lll_spect')
-rw-r--r-- | math/lll_spect/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/math/lll_spect/Makefile b/math/lll_spect/Makefile index d45fbeca1605..ff8da1150ed8 100644 --- a/math/lll_spect/Makefile +++ b/math/lll_spect/Makefile @@ -16,6 +16,8 @@ COMMENT= LLL-spectral test of linear congruential random number generators BUILD_DEPENDS= ${LOCALBASE}/lib/libntl.a:math/ntl RUN_DEPENDS= ${LOCALBASE}/lib/libntl.a:math/ntl +USES= compiler:c++11-lang + PLIST_FILES= bin/lll_spect bin/lll_search PORTEXAMPLES= examples.txt NO_WRKSUBDIR= yes |