aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <seb@cayenne.ist.utl.pt>2009-11-12 19:19:42 +0000
committerSebastien Fabbro <seb@cayenne.ist.utl.pt>2009-11-12 19:19:42 +0000
commit5927cf4cfabd8edf762e9b396c0532f725a657d7 (patch)
tree6b1b8acda5ec34e041304fdae5892c11c1a7238f
parentfixes patching for sci-chemistry/ccpn (diff)
downloadsci-5927cf4cfabd8edf762e9b396c0532f725a657d7.tar.gz
sci-5927cf4cfabd8edf762e9b396c0532f725a657d7.tar.bz2
sci-5927cf4cfabd8edf762e9b396c0532f725a657d7.zip
removed ntl, in main tree
-rw-r--r--dev-libs/ntl/ChangeLog15
-rw-r--r--dev-libs/ntl/Manifest13
-rw-r--r--dev-libs/ntl/files/linux.mk3
-rw-r--r--dev-libs/ntl/files/ntl-5.4.2-sage-tools.patch53
-rw-r--r--dev-libs/ntl/files/ntl-5.4.2-shared.patch168
-rw-r--r--dev-libs/ntl/files/ntl-5.4.2-singular.patch12
-rw-r--r--dev-libs/ntl/files/ntl-5.5-sage-tools.patch53
-rw-r--r--dev-libs/ntl/files/ntl-5.5-shared.patch160
-rw-r--r--dev-libs/ntl/files/ntl-5.5-singular.patch12
-rw-r--r--dev-libs/ntl/metadata.xml5
-rw-r--r--dev-libs/ntl/ntl-5.4.2.ebuild81
-rw-r--r--dev-libs/ntl/ntl-5.5.ebuild81
12 files changed, 0 insertions, 656 deletions
diff --git a/dev-libs/ntl/ChangeLog b/dev-libs/ntl/ChangeLog
deleted file mode 100644
index 27d72af1d..000000000
--- a/dev-libs/ntl/ChangeLog
+++ /dev/null
@@ -1,15 +0,0 @@
-# ChangeLog for dev-libs/ntl
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
-*ntl-5.5 (01 May 2009)
-
- 01 May 2009; Justin Lecher (jlec) <jlec@j-schmitz.net> +ntl-5.5.ebuild,
- +files/ntl-5.5-sage-tools.patch, +files/ntl-5.5-shared.patch,
- +files/ntl-5.5-singular.patch:
- bumped the ebuild to 5.5.
- Fixed error if LDFLAGS have "--" inside.
-
- 16 Jul 2008; Francois Bissey <f.r.bissey@massey.ac.nz> ChangeLog:
- Initial import in the science overlay, see bug #221771
-
diff --git a/dev-libs/ntl/Manifest b/dev-libs/ntl/Manifest
deleted file mode 100644
index 583f093e7..000000000
--- a/dev-libs/ntl/Manifest
+++ /dev/null
@@ -1,13 +0,0 @@
-AUX linux.mk 183 RMD160 4ca6948d5ca22c7ed4b80b1dcf379219e4c68681 SHA1 f419bde6b913a0963d785282f95c778ef986235f SHA256 b191eee4132dcc51f44bb36c822d39f307322aecf8966fdee4d09aaee35b896c
-AUX ntl-5.4.2-sage-tools.patch 1425 RMD160 6aeda2881371064f8227a2f4c76e5d9bb8f668b8 SHA1 00276e8c150f6860fa5a5afe705215564c2e594e SHA256 241fae4b90fd763ff2e0d2baad62f174df2cc82801912d2e71649e8b4a0e4466
-AUX ntl-5.4.2-shared.patch 5013 RMD160 ee0e70dd8225ca1259d235c42af22db909030f08 SHA1 502c69b7c767a7fcbcc6ee932778ba05e330ecc1 SHA256 ac5aa48617eb4be9cef9b65d85f6f33fe8fef2bcb2a584a32cc501c2d4190af3
-AUX ntl-5.4.2-singular.patch 324 RMD160 72995f19869a21384e6c3750f4630415263c0187 SHA1 4e11406616217bcf6619221108a4b595483ba090 SHA256 2b9c1b1504ede6d9332fcb6e63bba93f81d528f0d035ebdbd8f32b2085c1f110
-AUX ntl-5.5-sage-tools.patch 1425 RMD160 6aeda2881371064f8227a2f4c76e5d9bb8f668b8 SHA1 00276e8c150f6860fa5a5afe705215564c2e594e SHA256 241fae4b90fd763ff2e0d2baad62f174df2cc82801912d2e71649e8b4a0e4466
-AUX ntl-5.5-shared.patch 5193 RMD160 24940609d05d337ca39e0b57c87ab0d083e5fb1f SHA1 cae55c6d98ae15ce200648ecb638be3c6cfc77f8 SHA256 ad6fa69725212d38d0199f7b946bb23d897ef1894ec694b9e5a0427d48df2f77
-AUX ntl-5.5-singular.patch 324 RMD160 72995f19869a21384e6c3750f4630415263c0187 SHA1 4e11406616217bcf6619221108a4b595483ba090 SHA256 2b9c1b1504ede6d9332fcb6e63bba93f81d528f0d035ebdbd8f32b2085c1f110
-DIST ntl-5.4.2.tar.gz 692630 RMD160 5657f4f3b18281787b85f561b184c757254f656f SHA1 0250461a5e205663f7e446211c9571b6aad249e9 SHA256 06925936cabba68e4c3d7371e8681381292d21e8cc22ac68314bf36e265ded58
-DIST ntl-5.5.tar.gz 702445 RMD160 835058c5ae7626f9be80a6393d59c167c812d7ea SHA1 3bcda5f5823c983f3fb129c52449a092ff98ad5d SHA256 cf1c694b2b696641dd100de9d63af314672f8ebce82e53843da21cfeb9f7118a
-EBUILD ntl-5.4.2.ebuild 1995 RMD160 17fa5f5bfa73ca16baffe53b35edf2b041d8cba4 SHA1 427e66e1f1aab927e1b52a57c7fc58cd183ee9ed SHA256 b4bbdfa7e4d44035c94ed00d8738da72374046f603937ca72cffa94dfae2d02c
-EBUILD ntl-5.5.ebuild 1995 RMD160 ddd9adcce7c78804278e829a97d47834919411ad SHA1 c35a3a5b7887a6b214446fcba8aa356d3f2e7097 SHA256 47f5dfbc4fd013c65541b1eeaa3d2c4597566c3f43649e330e908904b8628210
-MISC ChangeLog 506 RMD160 8139f142583398c62ed5922f9acb5449bfec747c SHA1 1f32d7e6a68f05a2ba3d55d76d47f82c012eaeae SHA256 8592fba0f39789d2a861dc6538d1e3ac43512557f4e99231112d0d9e8bec1c9b
-MISC metadata.xml 156 RMD160 537178ef5a820896e97475fb9aded47d50474bef SHA1 2a4ef4879b918a28132d21cd6d1bbaa2a30dccde SHA256 0e8490f9c62cb74e5894b52f643a02de0024d97dbfebad43082dce6bcb39555f
diff --git a/dev-libs/ntl/files/linux.mk b/dev-libs/ntl/files/linux.mk
deleted file mode 100644
index bd66d5cfd..000000000
--- a/dev-libs/ntl/files/linux.mk
+++ /dev/null
@@ -1,3 +0,0 @@
-shared: DIRNAME $(SHOBJ)
- $(LINK_CXX) $(PICFLAG) -shared -Wl,-soname,lib`cat DIRNAME`.so -o lib`cat DIRNAME`.so $(SHOBJ) $(GMP_LIBDIR) $(GMP_LIB)
- ln -s lib`cat DIRNAME`.so libntl.so
diff --git a/dev-libs/ntl/files/ntl-5.4.2-sage-tools.patch b/dev-libs/ntl/files/ntl-5.4.2-sage-tools.patch
deleted file mode 100644
index 28914b95b..000000000
--- a/dev-libs/ntl/files/ntl-5.4.2-sage-tools.patch
+++ /dev/null
@@ -1,53 +0,0 @@
---- include/NTL/tools.h.orig 2008-05-06 22:14:06.000000000 +1200
-+++ include/NTL/tools.h 2008-05-06 22:14:23.000000000 +1200
-@@ -249,6 +249,12 @@
- char IntValToChar(long a);
-
-
-+/*
-+ This function is not present in vanilla NTL 5.4.2.
-+ See tools.c for documentation.
-+ */
-+void SetErrorCallbackFunction(void (*func)(const char *s, void *context), void *context);
-+
-
- void Error(const char *s);
-
---- src/tools.c.orig 2008-05-06 22:15:32.000000000 +1200
-+++ src/tools.c 2008-05-06 22:15:45.000000000 +1200
-@@ -8,8 +8,35 @@
- NTL_START_IMPL
-
-
-+/*
-+ The following code differs from vanilla NTL 5.4.2.
-+
-+ We add a SetErrorCallbackFunction(). This sets a global callback function _function_,
-+ which gets called with parameter _context_ and an error message string whenever Error()
-+ gets called.
-+
-+ Note that if the custom error handler *returns*, then NTL will dump the error message
-+ back to stderr and abort() as it habitually does.
-+
-+ -- David Harvey (2008-04-12)
-+*/
-+
-+void (*ErrorCallbackFunction)(const char*, void*) = NULL;
-+void *ErrorCallbackContext = NULL;
-+
-+
-+void SetErrorCallbackFunction(void (*function)(const char*, void*), void *context)
-+{
-+ ErrorCallbackFunction = function;
-+ ErrorCallbackContext = context;
-+}
-+
-+
- void Error(const char *s)
- {
-+ if (ErrorCallbackFunction != NULL)
-+ ErrorCallbackFunction(s, ErrorCallbackContext);
-+
- cerr << s << "\n";
- abort();
- }
diff --git a/dev-libs/ntl/files/ntl-5.4.2-shared.patch b/dev-libs/ntl/files/ntl-5.4.2-shared.patch
deleted file mode 100644
index 95c0f2c95..000000000
--- a/dev-libs/ntl/files/ntl-5.4.2-shared.patch
+++ /dev/null
@@ -1,168 +0,0 @@
---- src/DoConfig.orig 2008-06-20 23:33:53.000000000 +1200
-+++ src/DoConfig 2008-06-24 16:32:28.000000000 +1200
-@@ -22,11 +22,13 @@
- 'LDFLAGS_CXX' => '$(LDFLAGS)',
- 'LDLIBS' => '-lm',
- 'LDLIBS_CXX' => '$(LDLIBS)',
-+'PICFLAG' => '-fPIC',
- 'CPPFLAGS' => '',
- 'PREFIX' => '/usr/local',
- 'LIBDIR' => '$(PREFIX)/lib',
- 'INCLUDEDIR' => '$(PREFIX)/include',
- 'DOCDIR' => '$(PREFIX)/doc',
-+'SHMAKE' => 'non-gld',
-
- 'GMP_PREFIX' => undef,
- 'GMP_INCDIR' => undef,
---- src/mfile.orig 2008-06-20 23:34:07.000000000 +1200
-+++ src/mfile 2008-06-28 22:46:39.000000000 +1200
-@@ -71,6 +71,11 @@
- # where to install NTL
-
- ###############################################################
-+# choose the appropriate shared object makefile
-+###############################################################
-+SHMAKE=@{SHMAKE}
-+
-+###############################################################
- #
- # Second, if you want to use GMP (the GNU Multi-Precision library),
- # define the variables GMP_INCDIR, GMP_LIBDIR, GMP_LIB below.
-@@ -109,6 +114,16 @@
- WIZARD=@{WIZARD}
- # Set to off if you want to bypass the wizard; otherwise, set to on.
-
-+###############################################################
-+#
-+# New addition for shared library building. With gcc you need to
-+# choose the Position Indepent Code flag. You have a choice of
-+# -fpic better code but in rare case not available (ppc)
-+# -fPIC slightly slower code but guaranted to work anywhere.
-+#
-+###############################################################
-+
-+PICFLAG=@{PICFLAG}
-
- #################################################################
- #
-@@ -141,6 +156,26 @@
-
- OBJ=$(O19)
-
-+SHOBJ=FFT.lo FacVec.lo GF2.lo GF2E.lo GF2EX.lo GF2EXFactoring.lo GF2X.lo GF2X1.lo \
-+ GF2XFactoring.lo GF2XVec.lo GetTime.lo HNF.lo ctools.lo LLL.lo LLL_FP.lo \
-+ LLL_QP.lo LLL_RR.lo LLL_XD.lo RR.lo WordVector.lo ZZ.lo ZZVec.lo \
-+ ZZX.lo ZZX1.lo ZZXCharPoly.lo ZZXFactoring.lo ZZ_p.lo ZZ_pE.lo ZZ_pEX.lo \
-+ ZZ_pEXFactoring.lo ZZ_pX.lo ZZ_pX1.lo ZZ_pXCharPoly.lo ZZ_pXFactoring.lo \
-+ fileio.lo lip.lo lzz_p.lo lzz_pE.lo lzz_pEX.lo lzz_pEXFactoring.lo \
-+ lzz_pX.lo lzz_pX1.lo lzz_pXCharPoly.lo lzz_pXFactoring.lo \
-+ mat_GF2.lo mat_GF2E.lo mat_RR.lo mat_ZZ.lo mat_ZZ_p.lo \
-+ mat_ZZ_pE.lo mat_lzz_p.lo mat_lzz_pE.lo mat_poly_ZZ.lo \
-+ mat_poly_ZZ_p.lo mat_poly_lzz_p.lo pair_GF2EX_long.lo \
-+ pair_GF2X_long.lo pair_ZZX_long.lo pair_ZZ_pEX_long.lo \
-+ pair_ZZ_pX_long.lo pair_lzz_pEX_long.lo pair_lzz_pX_long.lo \
-+ quad_float.lo tools.lo vec_GF2.lo vec_GF2E.lo vec_GF2XVec.lo \
-+ vec_RR.lo vec_ZZ.lo vec_ZZVec.lo vec_ZZ_p.lo vec_ZZ_pE.lo \
-+ vec_double.lo vec_long.lo vec_lzz_p.lo vec_lzz_pE.lo vec_quad_float.lo \
-+ vec_vec_GF2.lo vec_vec_GF2E.lo vec_vec_RR.lo vec_vec_ZZ.lo \
-+ vec_vec_ZZ_p.lo vec_vec_ZZ_pE.lo vec_vec_long.lo vec_vec_lzz_p.lo \
-+ vec_vec_lzz_pE.lo vec_xdouble.lo xdouble.lo \
-+ G_LLL_FP.lo G_LLL_QP.lo G_LLL_XD.lo G_LLL_RR.lo vec_ulong.lo vec_vec_ulong.lo
-+
- # library source files
-
-
-@@ -288,14 +323,15 @@
- LINK = $(CC) $(NTL_INCLUDE) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
- LINK_CXX = $(CXX) $(NTL_INCLUDE) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS_CXX)
-
-+.SUFFIXES: .lo
-
-
- all:
-- make setup1
-- make setup2
-- make setup3
-- make setup4
-- make ntl.a
-+ $(MAKE) setup1
-+ $(MAKE) setup2
-+ $(MAKE) setup3
-+ $(MAKE) setup4
-+ $(MAKE) ntl.a
-
-
- # setup1 generates the file ../incluse/NTL/mach_desc.h
-@@ -336,17 +372,29 @@
- lip.o: lip.c g_lip_impl.h c_lip_impl.h lip_gmp_aux_impl.h
- $(COMPILE) $(GMP_INCDIR) lip.c
-
-+lip.lo: lip.c g_lip_impl.h c_lip_impl.h lip_gmp_aux_impl.h
-+ $(COMPILE) $(PICFLAG) $(GMP_INCDIR) lip.c -o lip.lo
-+
- ctools.o: ctools.c
- $(COMPILE) ctools.c
-
-+ctools.lo: ctools.c
-+ $(COMPILE) $(PICFLAG) ctools.c -o ctools.lo
-+
-
- GetTime.o: GetTime.c
- $(COMPILE) GetTime.c
-
-+GetTime.lo: GetTime.c
-+ $(COMPILE) $(PICFLAG) GetTime.c -o GetTime.lo
-+
-
- .c.o:
- $(COMPILE_CXX) $<
-
-+.c.lo:
-+ $(COMPILE_CXX) $(PICFLAG) -o $@ $<
-+
- .c:
- $(LINK_CXX) -o $@ $< ntl.a $(GMP_LIBDIR) $(GMP_LIB) $(LDLIBS_CXX)
-
-@@ -358,7 +406,7 @@
- #################################################################
-
- check:
-- make QuickTest
-+ $(MAKE) QuickTest
- ./QuickTest
- - sh RemoveProg QuickTest
- sh TestScript
-@@ -413,15 +461,14 @@
- #
- #################################################################
-
--clobber:
-+clobber: clean
- - rm ntl.a mach_desc.h ../include/NTL/mach_desc.h GetTime.c
- - rm lip_gmp_aux_impl.h ../include/NTL/gmp_aux.h
-- - sh RemoveProg $(PROGS) MakeDesc TestGetTime gen_lip_gmp_aux gen_gmp_aux
-- - rm *.o
-- - rm -r small
-+ - sh RemoveProg $(PROGS)
-+ - rm libntl*.so*
-
- clean:
-- - rm *.o
-+ - rm *.o *.lo
- - sh RemoveProg MakeDesc TestGetTime gen_lip_gmp_aux gen_gmp_aux
- - rm -r small
-
-@@ -498,7 +545,6 @@
- $(LINK_CXX) -o DispSettings DispSettings.c $(LDLIBS_CXX)
-
-
--
- ################################################################
- #
- # Notes on making a new distribution
-@@ -518,4 +564,4 @@
- #
- ################################################################
-
--
-+sinclude $(SHMAKE).mk
diff --git a/dev-libs/ntl/files/ntl-5.4.2-singular.patch b/dev-libs/ntl/files/ntl-5.4.2-singular.patch
deleted file mode 100644
index 9f0d13140..000000000
--- a/dev-libs/ntl/files/ntl-5.4.2-singular.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- include/NTL/new.h.orig 2008-05-06 21:56:16.000000000 +1200
-+++ include/NTL/new.h 2008-05-06 21:56:33.000000000 +1200
-@@ -12,7 +12,8 @@
-
- #include <new>
-
--#define NTL_NEW_OP new (std::nothrow)
-+// uncommenting std::nothrow makes this ntl work properly with Singular
-+#define NTL_NEW_OP new //(std::nothrow)
-
-
- #else
diff --git a/dev-libs/ntl/files/ntl-5.5-sage-tools.patch b/dev-libs/ntl/files/ntl-5.5-sage-tools.patch
deleted file mode 100644
index 28914b95b..000000000
--- a/dev-libs/ntl/files/ntl-5.5-sage-tools.patch
+++ /dev/null
@@ -1,53 +0,0 @@
---- include/NTL/tools.h.orig 2008-05-06 22:14:06.000000000 +1200
-+++ include/NTL/tools.h 2008-05-06 22:14:23.000000000 +1200
-@@ -249,6 +249,12 @@
- char IntValToChar(long a);
-
-
-+/*
-+ This function is not present in vanilla NTL 5.4.2.
-+ See tools.c for documentation.
-+ */
-+void SetErrorCallbackFunction(void (*func)(const char *s, void *context), void *context);
-+
-
- void Error(const char *s);
-
---- src/tools.c.orig 2008-05-06 22:15:32.000000000 +1200
-+++ src/tools.c 2008-05-06 22:15:45.000000000 +1200
-@@ -8,8 +8,35 @@
- NTL_START_IMPL
-
-
-+/*
-+ The following code differs from vanilla NTL 5.4.2.
-+
-+ We add a SetErrorCallbackFunction(). This sets a global callback function _function_,
-+ which gets called with parameter _context_ and an error message string whenever Error()
-+ gets called.
-+
-+ Note that if the custom error handler *returns*, then NTL will dump the error message
-+ back to stderr and abort() as it habitually does.
-+
-+ -- David Harvey (2008-04-12)
-+*/
-+
-+void (*ErrorCallbackFunction)(const char*, void*) = NULL;
-+void *ErrorCallbackContext = NULL;
-+
-+
-+void SetErrorCallbackFunction(void (*function)(const char*, void*), void *context)
-+{
-+ ErrorCallbackFunction = function;
-+ ErrorCallbackContext = context;
-+}
-+
-+
- void Error(const char *s)
- {
-+ if (ErrorCallbackFunction != NULL)
-+ ErrorCallbackFunction(s, ErrorCallbackContext);
-+
- cerr << s << "\n";
- abort();
- }
diff --git a/dev-libs/ntl/files/ntl-5.5-shared.patch b/dev-libs/ntl/files/ntl-5.5-shared.patch
deleted file mode 100644
index 0c4438442..000000000
--- a/dev-libs/ntl/files/ntl-5.5-shared.patch
+++ /dev/null
@@ -1,160 +0,0 @@
---- src/DoConfig 2009-04-03 08:57:43.000000000 +0200
-+++ src/DoConfig.new 2009-05-01 14:28:00.000000000 +0200
-@@ -25,11 +25,13 @@
- 'LDFLAGS_CXX' => '$(LDFLAGS)',
- 'LDLIBS' => '-lm',
- 'LDLIBS_CXX' => '$(LDLIBS)',
-+'PICFLAG' => '-fPIC',
- 'CPPFLAGS' => '',
--'PREFIX' => '/usr/local',
-+'PREFIX' => '/usr/',
- 'LIBDIR' => '$(PREFIX)/lib',
- 'INCLUDEDIR' => '$(PREFIX)/include',
- 'DOCDIR' => '$(PREFIX)/share/doc',
-+'SHMAKE' => 'non-gld',
-
- 'GMP_PREFIX' => undef,
- 'GMP_INCDIR' => undef,
-@@ -84,11 +86,6 @@
-
- foreach $arg (@ARGV) {
-
-- if ($arg =~ '-h|help|-help|--help') {
-- system("more ../doc/config.txt");
-- exit;
-- }
--
- if (($name, $val) = ($arg =~ /(.*?)=(.*)/)) {
-
- if (exists($MakeFlag{$name}) && ($val =~ 'on|off')) {
---- src/mfile 2009-05-01 16:44:21.000000000 +0200
-+++ src/mfile.new 2009-05-01 16:56:02.000000000 +0200
-@@ -75,6 +75,11 @@
- # where to install NTL
-
- ###############################################################
-+# choose the appropriate shared object makefile
-+###############################################################
-+SHMAKE=@{SHMAKE}
-+
-+###############################################################
- #
- # Second, if you want to use GMP (the GNU Multi-Precision library),
- # define the variables GMP_INCDIR, GMP_LIBDIR, GMP_LIB below.
-@@ -137,6 +142,16 @@
- WIZARD=@{WIZARD}
- # Set to off if you want to bypass the wizard; otherwise, set to on.
-
-+###############################################################
-+#
-+# New addition for shared library building. With gcc you need to
-+# choose the Position Indepent Code flag. You have a choice of
-+# -fpic better code but in rare case not available (ppc)
-+# -fPIC slightly slower code but guaranted to work anywhere.
-+#
-+###############################################################
-+
-+PICFLAG=@{PICFLAG}
-
- #################################################################
- #
-@@ -169,6 +184,26 @@
-
- OBJ=$(O19)
-
-+SHOBJ=FFT.lo FacVec.lo GF2.lo GF2E.lo GF2EX.lo GF2EXFactoring.lo GF2X.lo GF2X1.lo \
-+ GF2XFactoring.lo GF2XVec.lo GetTime.lo HNF.lo ctools.lo LLL.lo LLL_FP.lo \
-+ LLL_QP.lo LLL_RR.lo LLL_XD.lo RR.lo WordVector.lo ZZ.lo ZZVec.lo \
-+ ZZX.lo ZZX1.lo ZZXCharPoly.lo ZZXFactoring.lo ZZ_p.lo ZZ_pE.lo ZZ_pEX.lo \
-+ ZZ_pEXFactoring.lo ZZ_pX.lo ZZ_pX1.lo ZZ_pXCharPoly.lo ZZ_pXFactoring.lo \
-+ fileio.lo lip.lo lzz_p.lo lzz_pE.lo lzz_pEX.lo lzz_pEXFactoring.lo \
-+ lzz_pX.lo lzz_pX1.lo lzz_pXCharPoly.lo lzz_pXFactoring.lo \
-+ mat_GF2.lo mat_GF2E.lo mat_RR.lo mat_ZZ.lo mat_ZZ_p.lo \
-+ mat_ZZ_pE.lo mat_lzz_p.lo mat_lzz_pE.lo mat_poly_ZZ.lo \
-+ mat_poly_ZZ_p.lo mat_poly_lzz_p.lo pair_GF2EX_long.lo \
-+ pair_GF2X_long.lo pair_ZZX_long.lo pair_ZZ_pEX_long.lo \
-+ pair_ZZ_pX_long.lo pair_lzz_pEX_long.lo pair_lzz_pX_long.lo \
-+ quad_float.lo tools.lo vec_GF2.lo vec_GF2E.lo vec_GF2XVec.lo \
-+ vec_RR.lo vec_ZZ.lo vec_ZZVec.lo vec_ZZ_p.lo vec_ZZ_pE.lo \
-+ vec_double.lo vec_long.lo vec_lzz_p.lo vec_lzz_pE.lo vec_quad_float.lo \
-+ vec_vec_GF2.lo vec_vec_GF2E.lo vec_vec_RR.lo vec_vec_ZZ.lo \
-+ vec_vec_ZZ_p.lo vec_vec_ZZ_pE.lo vec_vec_long.lo vec_vec_lzz_p.lo \
-+ vec_vec_lzz_pE.lo vec_xdouble.lo xdouble.lo \
-+ G_LLL_FP.lo G_LLL_QP.lo G_LLL_XD.lo G_LLL_RR.lo vec_ulong.lo vec_vec_ulong.lo
-+
- # library source files
-
-
-@@ -316,7 +351,7 @@
- LINK = $(CC) $(NTL_INCLUDE) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
- LINK_CXX = $(CXX) $(NTL_INCLUDE) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS_CXX)
-
--
-+.SUFFIXES: .lo
-
- # 'make all' does a complete make, including all setup.
- # It also creates the file 'all', which means you should
-@@ -374,18 +409,32 @@
- lip.o: lip.c g_lip_impl.h c_lip_impl.h lip_gmp_aux_impl.h
- $(LCOMP) $(COMPILE) $(GMP_INCDIR) lip.c
-
-+lip.lo: lip.c g_lip_impl.h c_lip_impl.h lip_gmp_aux_impl.h
-+ $(LCOMP) $(COMPILE) $(PICFLAG) $(GMP_INCDIR) lip.c -o lip.lo
-+
-+
- ctools.o: ctools.c
- $(LCOMP) $(COMPILE) ctools.c
-
-
-+ctools.lo: ctools.c
-+ $(LCOMP) $(COMPILE) $(PICFLAG) ctools.c -o ctools.lo
-+
-+
- GetTime.o: GetTime.c
- $(LCOMP) $(COMPILE) GetTime.c
-
-
-+GetTime.lo: GetTime.c
-+ $(LCOMP) $(COMPILE) $(PICFLAG) GetTime.c -o GetTime.lo
-
- .c.o:
- $(LCOMP) $(COMPILE_CXX) $(GF2X_INCDIR) $<
-
-+.c.lo:
-+ $(LCOMP) $(COMPILE_CXX) $(PICFLAG) -o $@ $<
-+
-+
- .c:
- @{LSTAT} $(LINK_CXX) -o $@ $< ntl.a $(GMP_LIBDIR) $(GMP_LIB) $(GF2X_LIBDIR) $(GF2X_LIB) $(LDLIBS_CXX) #LSTAT
- @{LSHAR} $(LIBTOOL) --mode=link $(LINK_CXX) -o $@ $< libntl.la #LSHAR
-@@ -455,19 +504,18 @@
- #
- #################################################################
-
--clobber:
-+clobber: clean
- rm -f ntl.a mach_desc.h ../include/NTL/mach_desc.h GetTime.c
- rm -f lip_gmp_aux_impl.h ../include/NTL/gmp_aux.h
-- sh RemoveProg $(PROGS) MakeDesc TestGetTime gen_lip_gmp_aux gen_gmp_aux
-- rm -f *.o
-- rm -rf small
-+ sh RemoveProg $(PROGS)
-+ rm -f libntl*.so*
- rm -f cfileout mfileout
- rm -rf .libs *.lo libntl.la
- rm -f all
-
- clean:
- sh RemoveProg MakeDesc TestGetTime gen_lip_gmp_aux gen_gmp_aux
-- rm -f *.o
-+ rm -f *.o *.lo
- rm -rf small
- @{LSHAR} - $(LIBTOOL) --mode=clean rm -f libntl.la *.lo #LSHAR
-
---- src/mfile 2009-05-01 17:07:58.000000000 +0200
-+++ src/mfile.new 2009-05-01 17:19:09.000000000 +0200
-@@ -592,3 +592,4 @@
-
-
-
-+sinclude $(SHMAKE).mk
diff --git a/dev-libs/ntl/files/ntl-5.5-singular.patch b/dev-libs/ntl/files/ntl-5.5-singular.patch
deleted file mode 100644
index 9f0d13140..000000000
--- a/dev-libs/ntl/files/ntl-5.5-singular.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- include/NTL/new.h.orig 2008-05-06 21:56:16.000000000 +1200
-+++ include/NTL/new.h 2008-05-06 21:56:33.000000000 +1200
-@@ -12,7 +12,8 @@
-
- #include <new>
-
--#define NTL_NEW_OP new (std::nothrow)
-+// uncommenting std::nothrow makes this ntl work properly with Singular
-+#define NTL_NEW_OP new //(std::nothrow)
-
-
- #else
diff --git a/dev-libs/ntl/metadata.xml b/dev-libs/ntl/metadata.xml
deleted file mode 100644
index 8434377a6..000000000
--- a/dev-libs/ntl/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>cpp</herd>
-</pkgmetadata>
diff --git a/dev-libs/ntl/ntl-5.4.2.ebuild b/dev-libs/ntl/ntl-5.4.2.ebuild
deleted file mode 100644
index c81b6f056..000000000
--- a/dev-libs/ntl/ntl-5.4.2.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit toolchain-funcs eutils
-
-DESCRIPTION="A high-performance, portable C++ Library for doing Number Theory"
-HOMEPAGE="http://shoup.net/ntl/"
-SRC_URI="http://www.shoup.net/ntl/${P}.tar.gz"
-
-#### Remove the following line when moving this ebuild to the main tree!
-RESTRICT="mirror"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~ppc64"
-IUSE="doc gmp"
-
-RDEPEND=">=dev-libs/gmp-4.1-r1"
-DEPEND="${RDEPEND}
- dev-lang/perl"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
-# Patch to enable compatibility with singular
- epatch "$FILESDIR/${P}-singular.patch"
-# Patch to implement a call back framework ( submitted upstream)
- epatch "$FILESDIR/${P}-sage-tools.patch"
-# Patch to sanitize the makefile and allow the building of shared library.
-# Includes an auxiliary file "linux.mk"
- epatch "$FILESDIR/${P}-shared.patch"
- cp "$FILESDIR/linux.mk" "${S}/src/linux.mk"
-}
-
-src_compile() {
- local myconf=""
-
- use gmp && myconf="${myconf} NTL_GMP_LIP=on"
-
- cd "${S}/src"
- perl DoConfig \
- PREFIX=/usr \
- ${myconf} \
- CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" \
- CC="$(tc-getCC)" CXX="$(tc-getCXX)" \
- AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" \
- NTL_STD_CXX=on SHMAKE=linux \
- || die "DoConfig failed"
-
- emake || die "emake failed"
-
- emake shared || die "emake shared failed"
-}
-
-src_install() {
- newlib.a src/ntl.a libntl.a || die "installation of static library failed"
- dolib.so src/lib*.so || die "installation of shared library failed"
-
- insinto /usr/include
- doins -r include/NTL || die "installation of the headers failed"
-
- dodoc README
-
- if use doc ; then
- dodoc doc/*.txt
- dohtml doc/*.{html,gif}
- fi
-}
-
-src_test() {
- cd src
- emake check || die "emake check failed"
-}
-
-pkg_postinst() {
- elog "This version of the ntl ebuild is still under development."
- elog "Help us improve the ebuild in:"
- elog "http://bugs.gentoo.org/show_bug.cgi?id=221771"
-}
diff --git a/dev-libs/ntl/ntl-5.5.ebuild b/dev-libs/ntl/ntl-5.5.ebuild
deleted file mode 100644
index b3e81bdc1..000000000
--- a/dev-libs/ntl/ntl-5.5.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit toolchain-funcs eutils
-
-DESCRIPTION="A high-performance, portable C++ Library for doing Number Theory"
-HOMEPAGE="http://shoup.net/ntl/"
-SRC_URI="http://www.shoup.net/ntl/${P}.tar.gz"
-
-#### Remove the following line when moving this ebuild to the main tree!
-RESTRICT="mirror"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~ppc64"
-IUSE="doc gmp"
-
-RDEPEND=">=dev-libs/gmp-4.1-r1"
-DEPEND="${RDEPEND}
- dev-lang/perl"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
-# Patch to enable compatibility with singular
- epatch "$FILESDIR/${P}-singular.patch"
-# Patch to implement a call back framework ( submitted upstream)
- epatch "$FILESDIR/${P}-sage-tools.patch"
-# Patch to sanitize the makefile and allow the building of shared library.
-# Includes an auxiliary file "linux.mk"
- epatch "$FILESDIR/${P}-shared.patch"
- cp "$FILESDIR/linux.mk" "${S}/src/linux.mk"
-}
-
-src_compile() {
- local myconf=""
-
- use gmp && myconf="${myconf} NTL_GMP_LIP=on"
-
- cd "${S}/src"
- perl DoConfig \
- PREFIX=/usr \
- ${myconf} \
- CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" \
- CC="$(tc-getCC)" CXX="$(tc-getCXX)" \
- AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" \
- NTL_STD_CXX=on SHMAKE=linux \
- || die "DoConfig failed"
-
- emake || die "emake failed"
-
- emake shared || die "emake shared failed"
-}
-
-src_install() {
- newlib.a src/ntl.a libntl.a || die "installation of static library failed"
- dolib.so src/lib*.so || die "installation of shared library failed"
-
- insinto /usr/include
- doins -r include/NTL || die "installation of the headers failed"
-
- dodoc README
-
- if use doc ; then
- dodoc doc/*.txt
- dohtml doc/*.{html,gif}
- fi
-}
-
-src_test() {
- cd src
- emake check || die "emake check failed"
-}
-
-pkg_postinst() {
- elog "This version of the ntl ebuild is still under development."
- elog "Help us improve the ebuild in:"
- elog "http://bugs.gentoo.org/show_bug.cgi?id=221771"
-}