diff options
Diffstat (limited to 'dev-libs/libtecla')
-rw-r--r-- | dev-libs/libtecla/Manifest | 17 | ||||
-rw-r--r-- | dev-libs/libtecla/files/libtecla-1.6.1-LDFLAGS2.patch | 20 | ||||
-rw-r--r-- | dev-libs/libtecla/files/libtecla-1.6.1-install.patch | 18 | ||||
-rw-r--r-- | dev-libs/libtecla/files/libtecla-1.6.1-ldflags.patch | 27 | ||||
-rw-r--r-- | dev-libs/libtecla/files/libtecla-1.6.1-no-strip.patch | 14 | ||||
-rw-r--r-- | dev-libs/libtecla/files/libtecla-1.6.1-parallel_build2.patch | 36 | ||||
-rw-r--r-- | dev-libs/libtecla/files/libtecla-1.6.1-prll-install.patch | 52 | ||||
-rw-r--r-- | dev-libs/libtecla/files/libtecla-1.6.3-ldflags.patch | 37 | ||||
-rw-r--r-- | dev-libs/libtecla/files/libtecla-1.6.3-prll-build.patch | 9 | ||||
-rw-r--r-- | dev-libs/libtecla/files/libtecla-1.6.3-secure-runpath.patch | 26 | ||||
-rw-r--r-- | dev-libs/libtecla/files/libtecla-1.6.3-static-libs.patch | 25 | ||||
-rw-r--r-- | dev-libs/libtecla/libtecla-1.6.1-r2.ebuild | 44 | ||||
-rw-r--r-- | dev-libs/libtecla/libtecla-1.6.2.ebuild | 44 | ||||
-rw-r--r-- | dev-libs/libtecla/libtecla-1.6.3.ebuild | 47 | ||||
-rw-r--r-- | dev-libs/libtecla/metadata.xml | 18 |
15 files changed, 434 insertions, 0 deletions
diff --git a/dev-libs/libtecla/Manifest b/dev-libs/libtecla/Manifest new file mode 100644 index 000000000000..ba306db46248 --- /dev/null +++ b/dev-libs/libtecla/Manifest @@ -0,0 +1,17 @@ +AUX libtecla-1.6.1-LDFLAGS2.patch 1857 BLAKE2B 28bf90e7a33223faa77c079baf9b15b6c5abea062287d469017158e4328c030c8f3dd25a1e970b5b7d7c404fdaff38e2b75ea1a513e55d5ad5cccfe1a570f477 SHA512 784dfa77723a9f29bb09dd83aea00d1e24290990d446aad0d88b2184cbc4d4ded2063588c4f6f2cd1a65acbcac4d5817747576e36163da48479bfb33c59182a6 +AUX libtecla-1.6.1-install.patch 481 BLAKE2B 64aa925e0fba234a97cfa6c484720db27b4a41872b7ae009a1e48353fb58c42d2fb47a39fb7f53bd12aa42e3a7c9fae5ed188af8381be40aa84b5cee53f9d77b SHA512 971f97e15ee0c63df0023477fe6e3f8bf555115e64d90d1ab78b3a312c5b526feaafe825220ad5eee86fe2c4e8cb61a66eda8d36e413abf06c8e4f9fd9261bfa +AUX libtecla-1.6.1-ldflags.patch 1127 BLAKE2B c56217ca18959e279d3d9a5c78a7dd94b02398ae9e25ff25b2ee7e5260e76bc5c734c08d67bd920671e7d887a76d5fdc08c9fd5a35d6f958e1fe178840678416 SHA512 e7aec721424e3e55b4bf6a6ec3bc360d43af70e27cad273b7dbc7a5a6b42349d24aa6f32b9d0e5ff9108836bafa6e5fda38733adff038026cd5a2a50d4548c8d +AUX libtecla-1.6.1-no-strip.patch 562 BLAKE2B f1e2c030b2527817703f6aca94b19b4d5b8b6f4a5f4d94d224c497e1b0c85780ac57c0f3e998b01200247f3705c700e3ba27b9e7a3dbd767b0cfbc29078b99fc SHA512 6ae1258602b7e062a81b41d5170fa0af9540653f30111397507f0ad10beb3cd4c02de3d7775d5f7a493f49db84c2eff2650b9c81dc35bf2da39f8624c247a39a +AUX libtecla-1.6.1-parallel_build2.patch 1484 BLAKE2B 5c9768e04958a9ce38290272786b5b62bddbea3e02502631c7bab0c5716cab3d9d20250f24e2dce5a471d836fe4c328b0cc985e4fe64ec4db4bc986a6db1ecf3 SHA512 de7e74aa47ffc827ed3cbca7456b5ece59396df067375d5d2eb81eeaf7b99aad077cc36413290865820cf59d9a736b3bc362eb80ff46f3179ebf5f52f73949c4 +AUX libtecla-1.6.1-prll-install.patch 1309 BLAKE2B 85fee8b6a41c5c6d5eea5a493ca041a4e6b45424cad212227243569c34e59a1aa5658a8e4e04e8217ffc687f188152477b0dddaf6348aab29ae70e44ffa9dc87 SHA512 263a33d3b16f54ab66542e408c0e9c978b7a2d8c8a44412a2b2adeea332de284a0968e5a76c632baef3f709b74260d1276f5430cb8c2d61fe1c7e84246910ea1 +AUX libtecla-1.6.3-ldflags.patch 1794 BLAKE2B e5e36abda4192129fa8b24e4c422f040d91e0bf3bf1064e366753164d7f59f680312b5a662018e682a889c9e4dad33986346c5869318102abdc6720a2118c23d SHA512 cf00a20efb9c071a759ed4c032fe1a74c44082bbe2221d37d67b5893ed56586fc98621130e3e4fbe6974fb1eeb559c1f80e8cf2a923bf625ff0f2dc6ed0cdd17 +AUX libtecla-1.6.3-prll-build.patch 418 BLAKE2B b93d0f2c31b4675443fa50e804896270f38e72e1fd2f13480a173a4fa5d9a2235c4efde82102ebcb5bdaabd066dee5f3d25690abe7a4da4bd6dbe25c430ff145 SHA512 b769d7db3c40fb91a0eb20088b5a0e1fee2769936a4d19b58806ef933ac14e699e5ca9f9151e8ed7aad6f03174fe43319e1110e9374ec0273dcf49e3dcc5a1f4 +AUX libtecla-1.6.3-secure-runpath.patch 1210 BLAKE2B 87a6dc7fce949e86588bcbbb74050209ebafde1432ec2199bd2147d3bd1e7be22390d3a3e9e0cc3800a2cba5971c2cc38fc19f36993c62b61aaa81946da2b0d6 SHA512 591e2b1bba8d99cee516d32b7974d3108d108bc77db2a4f180eb80ec00618a248e368a4f736fb7a27cadef16992baaf2698f49de1a5e54dd8638bfcb3e17155e +AUX libtecla-1.6.3-static-libs.patch 1024 BLAKE2B 190508440e2a0323c1991bb2179c495be3e4748d04bc87da9328ae4fd828da331aab7679d2769d2110c02c94eb36aba2962223fbdc7de21e8863d08d3e87d289 SHA512 01483100e837c90cfc604ac6c177f03d8d96ff3972c454d3f720270508356c18be336b77624d6c8c291c12fc1400a9e58531b3b7e12c5afc8aa116c15431e756 +DIST libtecla-1.6.1.tar.gz 518995 BLAKE2B 4aea38ecfbc96dc418a7f652f8a0caabd61625336bdcf611889bbcbfa7e7674877d239e34d7f23aa0b80ba664b97d9553586bbab36529e0761d7150300cf4bbb SHA512 89d550868c99739b5cfd0ddba45f61d9a8fd1454c7044f29db6cced9cd1de83b895409706a8b85024d6c75678469a4b8b39dd184322d01e1ab6b5faf03c90fc7 +DIST libtecla-1.6.2.tar.gz 535977 BLAKE2B 81b9402ae01414a05cfd75de1ec3a4e4a2ff3f3f19c466d9d220a585467b383db2ac2a542932ba361765405759bfdb8865a8c8eca136b0aa9c9bef3b4098ffe8 SHA512 cabfaa4ac386bceee6cd2887010af0c64b98f545ee5c2d367c3594925985df43525bfb5f028890904c66d0f767fc2cb0585a8500cbb06ffd10b7cd7a6d56adb1 +DIST libtecla-1.6.3.tar.gz 531499 BLAKE2B 6cc585ce104a60138c8b1950f455be845f3db014f1b56585a6ff8c05101e187a3f9deb7546a24e28d8797a49c426606ff50ccb49065ec2dfe4999537c66579ba SHA512 e92da3e52f1e06f731378ea8d4529865526b7816f92c3cd41a24ee8b629453564ec1995cf528928dd0673826cdd88f57e057ec0641f9c00fc9ebb255c725df6b +EBUILD libtecla-1.6.1-r2.ebuild 933 BLAKE2B 3b86761456cd63d19643f592c597ee6db7eb50e6550ee43d5dfec58ccd154a345c347923d808283e130001e8e5b4552c1843eeb0bdfe50b5eff5f6130ea8b639 SHA512 5307c0e5a7c44596d88015edbf187a9ac249eecd65466c71ddbe0a00d8e1d6a3ee16bd156bd6fef96ebc2b3b6e325d4ccb6a0e0df5f462ce818713425eb132da +EBUILD libtecla-1.6.2.ebuild 1001 BLAKE2B ec3abd043569bb230f6945e4db574449fd33336ae08a8a3703d14ff17ec18bc17442339c4aeef981fbb905982f5b34692d3817792f89b688d1e406c80828dcfe SHA512 78039eea3d6a4eea419e02c259426b0d928928535698fa662c6a787e4b6994750af0e195fbb16ca544e11d1e30bbbdf51f70af9bcb796bdcb2667ce9f208f666 +EBUILD libtecla-1.6.3.ebuild 1025 BLAKE2B efa86ae81bcfaaeed3eef829651f25dd7e7e1295126f88248a7f0a03f0c4f189b8b73d18d1b19b60084126905c2784114dcef4fe6178d6fbec6fecd31ac1be83 SHA512 120557678ab72d18bd72c2fd222f32f3b61589320dc76547d877cfb29e12e2859551e10a3d84bd36a255da882640c3f47ae18e7af07f47b780557d93bee0dc84 +MISC metadata.xml 794 BLAKE2B 073e5013e838aadadaeb48afa161f06ffc2fe954299d44b80a1f9e527d3e7462e27373480274fffed37f60aaf1894e0d5865dc42e097775bb8c50e0e1f59f53f SHA512 80be7186ebcabddeb32cac439005d885a000696ee59ddf5c25a66b91ce9d37249091c9469c03c82669b706241476d6eed9a1a6aedb592c05778ef31479f31750 diff --git a/dev-libs/libtecla/files/libtecla-1.6.1-LDFLAGS2.patch b/dev-libs/libtecla/files/libtecla-1.6.1-LDFLAGS2.patch new file mode 100644 index 000000000000..c29d3e04c48e --- /dev/null +++ b/dev-libs/libtecla/files/libtecla-1.6.1-LDFLAGS2.patch @@ -0,0 +1,20 @@ + Makefile.in | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index e492136..a44371a 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -165,10 +165,10 @@ CFLAGS = $(OPT) $(WARNING_FLAGS) $(DEFINES) @CFLAGS@ @SHARED_CFLAGS@ + default: $(TARGETS) + + normal: +- @$(MAKE) -f $(srcdir)/Makefile.rules TARGETS="$(TARGET_LIBS)" SUFFIX="" CFLAGS="$(CFLAGS)" CC="$(CC)" OBJDIR=normal_obj LINK_SHARED='@LINK_SHARED@' SHARED_EXT='@SHARED_EXT@' SHARED_ALT='@SHARED_ALT@' LIBS='$(LIBS)' srcdir='$(srcdir)' LIBDIR='$(LIBDIR)' LN_S='@LN_S@' DEMOS="$(DEMOS)" PROGRAMS='$(PROGRAMS)' RANLIB='$(RANLIB)' LDFLAGS=$(LDFLAGS) CPPFLAGS=$(CPPFLAGS) ++ @$(MAKE) -f $(srcdir)/Makefile.rules TARGETS="$(TARGET_LIBS)" SUFFIX="" CFLAGS="$(CFLAGS)" CC="$(CC)" OBJDIR=normal_obj LINK_SHARED='@LINK_SHARED@' SHARED_EXT='@SHARED_EXT@' SHARED_ALT='@SHARED_ALT@' LIBS='$(LIBS)' srcdir='$(srcdir)' LIBDIR='$(LIBDIR)' LN_S='@LN_S@' DEMOS="$(DEMOS)" PROGRAMS='$(PROGRAMS)' RANLIB='$(RANLIB)' LDFLAGS='$(LDFLAGS)' CPPFLAGS='$(CPPFLAGS)' + + reentrant: +- @$(MAKE) -f $(srcdir)/Makefile.rules TARGETS="$(TARGET_LIBS)" SUFFIX="_r" CFLAGS="$(CFLAGS) $(DEFINES_R)" CC="$(CC)" OBJDIR=reentrant_obj LINK_SHARED='@LINK_SHARED@' SHARED_EXT='@SHARED_EXT@' SHARED_ALT='@SHARED_ALT@' LIBS='$(LIBS)' srcdir='$(srcdir)' LIBDIR='$(LIBDIR)' LN_S='@LN_S@' DEMOS="$(DEMOS)" PROGRAMS='$(PROGRAMS_R)' RANLIB='$(RANLIB)' LDFLAGS=$(LDFLAGS) CPPFLAGS=$(CPPFLAGS) ++ @$(MAKE) -f $(srcdir)/Makefile.rules TARGETS="$(TARGET_LIBS)" SUFFIX="_r" CFLAGS="$(CFLAGS) $(DEFINES_R)" CC="$(CC)" OBJDIR=reentrant_obj LINK_SHARED='@LINK_SHARED@' SHARED_EXT='@SHARED_EXT@' SHARED_ALT='@SHARED_ALT@' LIBS='$(LIBS)' srcdir='$(srcdir)' LIBDIR='$(LIBDIR)' LN_S='@LN_S@' DEMOS="$(DEMOS)" PROGRAMS='$(PROGRAMS_R)' RANLIB='$(RANLIB)' LDFLAGS='$(LDFLAGS)' CPPFLAGS='$(CPPFLAGS)' + + demos: normal + diff --git a/dev-libs/libtecla/files/libtecla-1.6.1-install.patch b/dev-libs/libtecla/files/libtecla-1.6.1-install.patch new file mode 100644 index 000000000000..999d46c58185 --- /dev/null +++ b/dev-libs/libtecla/files/libtecla-1.6.1-install.patch @@ -0,0 +1,18 @@ +diff -Naur libtecla/Makefile.in libtecla.new/Makefile.in +--- libtecla/Makefile.in 2004-10-31 15:30:57.000000000 -0500 ++++ libtecla.new/Makefile.in 2008-06-03 08:59:27.000000000 -0400 +@@ -15,10 +15,10 @@ + + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-LIBDIR=@libdir@ +-INCDIR=@includedir@ +-MANDIR=@mandir@ +-BINDIR=@bindir@ ++LIBDIR=$(DESTDIR)/@libdir@ ++INCDIR=$(DESTDIR)/@includedir@ ++MANDIR=$(DESTDIR)/@mandir@ ++BINDIR=$(DESTDIR)/@bindir@ + + # Which C compiler do you want to use? + diff --git a/dev-libs/libtecla/files/libtecla-1.6.1-ldflags.patch b/dev-libs/libtecla/files/libtecla-1.6.1-ldflags.patch new file mode 100644 index 000000000000..423e8113213d --- /dev/null +++ b/dev-libs/libtecla/files/libtecla-1.6.1-ldflags.patch @@ -0,0 +1,27 @@ +# add missing LDFLAGS to build system. +# the configure script still fails to add LDFLAGS when linking +# the libtecla shared object but since it calls ld directory +# LDFLAGS can't be used straight out of the box. + +--- libtecla/Makefile.rules ++++ libtecla/Makefile.rules +@@ -66,7 +66,7 @@ + $(OBJDIR)/demo3.o -L. -ltecla$(SUFFIX) $(LIBS) + + enhance$(SUFFIX): $(OBJDIR)/enhance.o +- LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) -o $@ \ ++ LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(LDFLAGS) $(CFLAGS) -o $@ \ + $(OBJDIR)/enhance.o -L. -ltecla$(SUFFIX) $(LIBS) + + #----------------------------------------------------------------------- +--- libtecla/configure.in ++++ libtecla/configure.in +@@ -468,7 +468,7 @@ + VERSION_OPT='' + fi + +- LINK_SHARED="$LD"' -o $$@ -soname libtecla$$(SUFFIX).so.'${MAJOR_VER}' -shared '$VERSION_OPT' $$(LIB_OBJECTS) $$(LIBS) -lc' ++ LINK_SHARED="$LD"' $$(LFLAGS) -o $$@ -soname libtecla$$(SUFFIX).so.'${MAJOR_VER}' -shared '$VERSION_OPT' $$(LIB_OBJECTS) $$(LIBS) -lc' + SHARED_CFLAGS="-fpic" + + dnl Reenable the inclusion of symbols which get undefined when POSIX_C_SOURCE diff --git a/dev-libs/libtecla/files/libtecla-1.6.1-no-strip.patch b/dev-libs/libtecla/files/libtecla-1.6.1-no-strip.patch new file mode 100644 index 000000000000..1935c3894f76 --- /dev/null +++ b/dev-libs/libtecla/files/libtecla-1.6.1-no-strip.patch @@ -0,0 +1,14 @@ +# prevent build system from stripping files (bug #239877). + +diff -Naur libtecla/Makefile.in libtecla.new/Makefile.in +--- libtecla/Makefile.in 2004-10-31 15:30:57.000000000 -0500 ++++ libtecla.new/Makefile.in 2008-10-07 06:17:22.000000000 -0400 +@@ -260,7 +260,7 @@ + install_bin: $(BINDIR) $(PROGRAMS) $(PROGRAMS_R) + progs="$(PROGRAMS) $(PROGRAMS_R)"; \ + for prog in $$progs; do \ +- $(srcdir)/install-sh -c -m 755 -s $$prog $(BINDIR)/; \ ++ $(srcdir)/install-sh -c -m 755 $$prog $(BINDIR)/; \ + done + + install: install_lib install_inc install_man install_bin diff --git a/dev-libs/libtecla/files/libtecla-1.6.1-parallel_build2.patch b/dev-libs/libtecla/files/libtecla-1.6.1-parallel_build2.patch new file mode 100644 index 000000000000..3f85f5fdb854 --- /dev/null +++ b/dev-libs/libtecla/files/libtecla-1.6.1-parallel_build2.patch @@ -0,0 +1,36 @@ + Makefile.rules | 16 ++++++++-------- + 1 files changed, 8 insertions(+), 8 deletions(-) + +diff --git a/Makefile.rules b/Makefile.rules +index 0c2f1d1..a3960b5 100644 +--- a/Makefile.rules ++++ b/Makefile.rules +@@ -53,20 +53,20 @@ libtecla.map.opt: $(srcdir)/libtecla.map + + demos: $(DEMO_PROGS) + +-demo$(SUFFIX): $(OBJDIR)/demo.o +- LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) -o $@ \ ++demo$(SUFFIX): $(OBJDIR)/demo.o libtecla$(SUFFIX)$(SHARED_EXT) ++ LD_RUN_PATH="$(LIBDIR)" $(CC) $(CFLAGS) -o $@ \ + $(OBJDIR)/demo.o -L. -ltecla$(SUFFIX) $(LIBS) + +-demo2$(SUFFIX): $(OBJDIR)/demo2.o +- LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) -o $@ \ ++demo2$(SUFFIX): $(OBJDIR)/demo2.o libtecla$(SUFFIX)$(SHARED_EXT) ++ LD_RUN_PATH="$(LIBDIR)" $(CC) $(CFLAGS) -o $@ \ + $(OBJDIR)/demo2.o -L. -ltecla$(SUFFIX) $(LIBS) + +-demo3$(SUFFIX): $(OBJDIR)/demo3.o +- LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) -o $@ \ ++demo3$(SUFFIX): $(OBJDIR)/demo3.o libtecla$(SUFFIX)$(SHARED_EXT) ++ LD_RUN_PATH="$(LIBDIR)" $(CC) $(CFLAGS) -o $@ \ + $(OBJDIR)/demo3.o -L. -ltecla$(SUFFIX) $(LIBS) + +-enhance$(SUFFIX): $(OBJDIR)/enhance.o +- LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(LDFLAGS) $(CFLAGS) -o $@ \ ++enhance$(SUFFIX): $(OBJDIR)/enhance.o libtecla$(SUFFIX)$(SHARED_EXT) ++ LD_RUN_PATH="$(LIBDIR)" $(CC) $(LDFLAGS) $(CFLAGS) -o $@ \ + $(OBJDIR)/enhance.o -L. -ltecla$(SUFFIX) $(LIBS) + + #----------------------------------------------------------------------- diff --git a/dev-libs/libtecla/files/libtecla-1.6.1-prll-install.patch b/dev-libs/libtecla/files/libtecla-1.6.1-prll-install.patch new file mode 100644 index 000000000000..1815f8571566 --- /dev/null +++ b/dev-libs/libtecla/files/libtecla-1.6.1-prll-install.patch @@ -0,0 +1,52 @@ + Makefile.in | 10 +++++----- + 1 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index a44371a..dfd44b0 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -217,7 +217,7 @@ install_inc: $(INCDIR) + + install_man: $(MANDIR) libr_man func_man prog_man misc_man file_man + +-libr_man: ++libr_man: $(MANDIR) + if test "@MAKE_MAN_PAGES@"_ = "yes"_; then \ + for template in man/libr/*.in; do \ + page=`basename "$$template" .in`; \ +@@ -225,7 +225,7 @@ libr_man: + done ; \ + fi + +-func_man: ++func_man: $(MANDIR) + if test "@MAKE_MAN_PAGES@"_ = "yes"_; then \ + for template in man/func/*.in; do \ + page=`basename "$$template" .in`; \ +@@ -233,7 +233,7 @@ func_man: + done ; \ + fi + +-prog_man: ++prog_man: $(MANDIR) + if test "@MAKE_MAN_PAGES@"_ = "yes"_; then \ + for template in man/prog/*.in; do \ + page=`basename "$$template" .in`; \ +@@ -241,7 +241,7 @@ prog_man: + done ; \ + fi + +-misc_man: ++misc_man: $(MANDIR) + if test "@MAKE_MAN_PAGES@"_ = "yes"_; then \ + for template in man/misc/*.in; do \ + page=`basename "$$template" .in`; \ +@@ -249,7 +249,7 @@ misc_man: + done ; \ + fi + +-file_man: ++file_man: $(MANDIR) + if test "@MAKE_MAN_PAGES@"_ = "yes"_; then \ + for template in man/file/*.in; do \ + page=`basename "$$template" .in`; \ diff --git a/dev-libs/libtecla/files/libtecla-1.6.3-ldflags.patch b/dev-libs/libtecla/files/libtecla-1.6.3-ldflags.patch new file mode 100644 index 000000000000..68c9e947b987 --- /dev/null +++ b/dev-libs/libtecla/files/libtecla-1.6.3-ldflags.patch @@ -0,0 +1,37 @@ +--- libtecla/Makefile.rules.orig 2014-11-10 00:36:53.000000000 +0300 ++++ libtecla/Makefile.rules 2016-04-13 10:37:36.234418914 +0300 +@@ -54,19 +54,19 @@ + demos: $(DEMO_PROGS) + + demo$(SUFFIX): $(OBJDIR)/demo.o $(TARGETS) +- LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) -o $@ \ ++ LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) $(LDFLAGS) -o $@ \ + $(OBJDIR)/demo.o -L. -ltecla$(SUFFIX) $(LIBS) + + demo2$(SUFFIX): $(OBJDIR)/demo2.o $(TARGETS) +- LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) -o $@ \ ++ LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) $(LDFLAGS) -o $@ \ + $(OBJDIR)/demo2.o -L. -ltecla$(SUFFIX) $(LIBS) + + demo3$(SUFFIX): $(OBJDIR)/demo3.o $(TARGETS) +- LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) -o $@ \ ++ LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) $(LDFLAGS) -o $@ \ + $(OBJDIR)/demo3.o -L. -ltecla$(SUFFIX) $(LIBS) + + enhance$(SUFFIX): $(OBJDIR)/enhance.o $(TARGETS) +- LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) -o $@ \ ++ LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) $(LDFLAGS) -o $@ \ + $(OBJDIR)/enhance.o -L. -ltecla$(SUFFIX) $(LIBS) + + #----------------------------------------------------------------------- +--- libtecla/configure.in.orig 2014-11-10 01:15:29.000000000 +0300 ++++ libtecla/configure.in 2016-04-13 10:32:25.916263565 +0300 +@@ -490,7 +490,7 @@ + VERSION_OPT='' + fi + +- LINK_SHARED="$LD"' -o $$@ -soname libtecla$$(SUFFIX).so.'${MAJOR_VER}' -shared '$VERSION_OPT' $$(LIB_OBJECTS) $$(LIBS) -lc' ++ LINK_SHARED="$LD"' $$(LFLAGS) -o $$@ -soname libtecla$$(SUFFIX).so.'${MAJOR_VER}' -shared '$VERSION_OPT' $$(LIB_OBJECTS) $$(LIBS) -lc' + SHARED_CFLAGS="-fpic" + + dnl Reenable the inclusion of symbols which get undefined when POSIX_C_SOURCE diff --git a/dev-libs/libtecla/files/libtecla-1.6.3-prll-build.patch b/dev-libs/libtecla/files/libtecla-1.6.3-prll-build.patch new file mode 100644 index 000000000000..89f30a6ea31a --- /dev/null +++ b/dev-libs/libtecla/files/libtecla-1.6.3-prll-build.patch @@ -0,0 +1,9 @@ +--- libtecla/Makefile.rules.orig 2016-04-13 11:13:10.000000000 +0300 ++++ libtecla/Makefile.rules 2016-04-13 11:17:45.628234106 +0300 +@@ -165,5 +165,5 @@ + # Include file dependencies. + #----------------------------------------------------------------------- + +-$(OBJDIR)/keytab.h: $(srcdir)/keytab.h $(srcdir)/libtecla.h ++$(OBJDIR)/keytab.h: $(srcdir)/keytab.h $(srcdir)/libtecla.h $(OBJDIR) + cp $(srcdir)/keytab.h $@ diff --git a/dev-libs/libtecla/files/libtecla-1.6.3-secure-runpath.patch b/dev-libs/libtecla/files/libtecla-1.6.3-secure-runpath.patch new file mode 100644 index 000000000000..b62104ae1d35 --- /dev/null +++ b/dev-libs/libtecla/files/libtecla-1.6.3-secure-runpath.patch @@ -0,0 +1,26 @@ +--- libtecla/Makefile.rules.orig 2014-11-10 00:36:53.000000000 +0300 ++++ libtecla/Makefile.rules 2016-04-13 10:37:36.234418914 +0300 +@@ -54,19 +54,19 @@ + demos: $(DEMO_PROGS) + + demo$(SUFFIX): $(OBJDIR)/demo.o $(TARGETS) +- LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) $(LDFLAGS) -o $@ \ ++ LD_RUN_PATH="$(LIBDIR)" $(CC) $(CFLAGS) $(LDFLAGS) -o $@ \ + $(OBJDIR)/demo.o -L. -ltecla$(SUFFIX) $(LIBS) + + demo2$(SUFFIX): $(OBJDIR)/demo2.o $(TARGETS) +- LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) $(LDFLAGS) -o $@ \ ++ LD_RUN_PATH="$(LIBDIR)" $(CC) $(CFLAGS) $(LDFLAGS) -o $@ \ + $(OBJDIR)/demo2.o -L. -ltecla$(SUFFIX) $(LIBS) + + demo3$(SUFFIX): $(OBJDIR)/demo3.o $(TARGETS) +- LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) $(LDFLAGS) -o $@ \ ++ LD_RUN_PATH="$(LIBDIR)" $(CC) $(CFLAGS) $(LDFLAGS) -o $@ \ + $(OBJDIR)/demo3.o -L. -ltecla$(SUFFIX) $(LIBS) + + enhance$(SUFFIX): $(OBJDIR)/enhance.o $(TARGETS) +- LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) $(LDFLAGS) -o $@ \ ++ LD_RUN_PATH="$(LIBDIR)" $(CC) $(CFLAGS) $(LDFLAGS) -o $@ \ + $(OBJDIR)/enhance.o -L. -ltecla$(SUFFIX) $(LIBS) + + #----------------------------------------------------------------------- diff --git a/dev-libs/libtecla/files/libtecla-1.6.3-static-libs.patch b/dev-libs/libtecla/files/libtecla-1.6.3-static-libs.patch new file mode 100644 index 000000000000..b88940e49b8b --- /dev/null +++ b/dev-libs/libtecla/files/libtecla-1.6.3-static-libs.patch @@ -0,0 +1,25 @@ +--- libtecla/configure.in.orig 2016-04-13 11:12:15.000000000 +0300 ++++ libtecla/configure.in 2016-04-13 11:43:05.632287268 +0300 +@@ -426,6 +426,9 @@ + AC_ARG_WITH(file-system, AC_HELP_STRING([--with-file-system], [Does the target have a filesystem (default=yes)]), + AC_DEFINE(WITHOUT_FILE_SYSTEM), ) + ++dnl Some users may be not interested in static libs ++AC_ARG_ENABLE([static-libs], AC_HELP_STRING([--enable-static-libs], [Enable static libs if shared libs will be also build (default=yes)])) ++ + dnl The following bourne shell case statement is where system + dnl dependencies can be added. In particular, if your system supports + dnl shared library creation, the following switch is the place to +@@ -571,7 +574,11 @@ + dnl libraries to the list of libraries to be built. + + if test "$LINK_SHARED"_ != "_"; then +- TARGET_LIBS="static shared" ++ if test "$enable_static_libs"_ != "_"; then ++ TARGET_LIBS="static shared" ++ else ++ TARGET_LIBS="shared" ++ fi + else + TARGET_LIBS="static" + LINK_SHARED="@:" diff --git a/dev-libs/libtecla/libtecla-1.6.1-r2.ebuild b/dev-libs/libtecla/libtecla-1.6.1-r2.ebuild new file mode 100644 index 000000000000..d84b97fb1857 --- /dev/null +++ b/dev-libs/libtecla/libtecla-1.6.1-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit autotools eutils flag-o-matic multilib + +DESCRIPTION="Tecla command-line editing library" +HOMEPAGE="http://www.astro.caltech.edu/~mcs/tecla/" +SRC_URI="http://www.astro.caltech.edu/~mcs/tecla/${P}.tar.gz" + +LICENSE="icu" +SLOT="0" +KEYWORDS="amd64 ~arm ppc x86" +IUSE="static-libs" + +DEPEND="sys-libs/ncurses" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/libtecla + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-install.patch \ + "${FILESDIR}"/${P}-ldflags.patch \ + "${FILESDIR}"/${P}-no-strip.patch \ + "${FILESDIR}"/${P}-parallel_build2.patch \ + "${FILESDIR}"/${P}-LDFLAGS2.patch \ + "${FILESDIR}"/${P}-prll-install.patch + eautoreconf +} + +src_compile() { + emake \ + OPT="" \ + LDFLAGS="${LDFLAGS}" \ + LFLAGS="$(raw-ldflags)" +} + +src_install() { + default + use static-libs || \ + rm -rvf "${ED}"/usr/$(get_libdir)/*a || die +} diff --git a/dev-libs/libtecla/libtecla-1.6.2.ebuild b/dev-libs/libtecla/libtecla-1.6.2.ebuild new file mode 100644 index 000000000000..23ac353d4c44 --- /dev/null +++ b/dev-libs/libtecla/libtecla-1.6.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit autotools eutils flag-o-matic multilib + +DESCRIPTION="Tecla command-line editing library" +HOMEPAGE="http://www.astro.caltech.edu/~mcs/tecla/" +SRC_URI="http://www.astro.caltech.edu/~mcs/tecla/${P}.tar.gz" + +LICENSE="icu" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="static-libs" + +DEPEND="sys-libs/ncurses" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/libtecla + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-1.6.1-install.patch \ + "${FILESDIR}"/${PN}-1.6.1-ldflags.patch \ + "${FILESDIR}"/${PN}-1.6.1-no-strip.patch \ + "${FILESDIR}"/${PN}-1.6.1-parallel_build2.patch \ + "${FILESDIR}"/${PN}-1.6.1-LDFLAGS2.patch \ + "${FILESDIR}"/${PN}-1.6.1-prll-install.patch + eautoreconf +} + +src_compile() { + emake \ + OPT="" \ + LDFLAGS="${LDFLAGS}" \ + LFLAGS="$(raw-ldflags)" +} + +src_install() { + default + use static-libs || \ + rm -rv "${ED}"/usr/$(get_libdir)/*a || die +} diff --git a/dev-libs/libtecla/libtecla-1.6.3.ebuild b/dev-libs/libtecla/libtecla-1.6.3.ebuild new file mode 100644 index 000000000000..954e62a71a87 --- /dev/null +++ b/dev-libs/libtecla/libtecla-1.6.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools flag-o-matic + +DESCRIPTION="Tecla command-line editing library" +HOMEPAGE="http://www.astro.caltech.edu/~mcs/tecla/" +SRC_URI="http://www.astro.caltech.edu/~mcs/tecla/${P}.tar.gz" + +LICENSE="icu" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="static-libs" + +DEPEND="sys-libs/ncurses:=" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/libtecla + +PATCHES=( + "${FILESDIR}"/${PN}-1.6.1-install.patch + "${FILESDIR}"/${PN}-1.6.1-no-strip.patch + "${FILESDIR}"/${PN}-1.6.3-ldflags.patch + "${FILESDIR}"/${PN}-1.6.3-prll-build.patch + "${FILESDIR}"/${PN}-1.6.1-prll-install.patch + "${FILESDIR}"/${PN}-1.6.3-static-libs.patch + "${FILESDIR}"/${PN}-1.6.3-secure-runpath.patch +) + +src_prepare() { + default + mv configure.in configure.ac || die + eautoreconf +} + +src_configure() { + econf $(use_enable static-libs) +} + +src_compile() { + emake \ + OPT="" \ + LDFLAGS="${LDFLAGS}" \ + LFLAGS="$(raw-ldflags)" +} diff --git a/dev-libs/libtecla/metadata.xml b/dev-libs/libtecla/metadata.xml new file mode 100644 index 000000000000..3b9879ad9f7c --- /dev/null +++ b/dev-libs/libtecla/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <longdescription lang="en"> + The tecla library provides UNIX and LINUX programs with interactive + command line editing facilities, similar to those of the UNIX tcsh + shell. In addition to simple command-line editing, it supports + recall of previously entered command lines, TAB completion of file + names or other tokens, and in-line wild-card expansion of + filenames. The internal functions which perform file-name completion + and wild-card expansion are also available externally for optional + use by programs. + </longdescription> +</pkgmetadata> |