diff options
author | David Seifert <soap@gentoo.org> | 2021-03-13 13:05:31 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-03-13 13:05:31 +0100 |
commit | 95578e1e8c015e6d398cb08f66189c2641360494 (patch) | |
tree | 7c12e5c1c1518b05b54ef43a674ddc288d81075a /sci-biology | |
parent | sci-biology/embassy-topo: Port to EAPI 7 (diff) | |
download | gentoo-95578e1e8c015e6d398cb08f66189c2641360494.tar.gz gentoo-95578e1e8c015e6d398cb08f66189c2641360494.tar.bz2 gentoo-95578e1e8c015e6d398cb08f66189c2641360494.zip |
sci-biology/embassy-hmmer: Fix building against clang/LLD
Closes: https://bugs.gentoo.org/741182
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-biology')
-rw-r--r-- | sci-biology/embassy-hmmer/files/embassy-hmmer-2.3.2.650_fix-build-system.patch | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/sci-biology/embassy-hmmer/files/embassy-hmmer-2.3.2.650_fix-build-system.patch b/sci-biology/embassy-hmmer/files/embassy-hmmer-2.3.2.650_fix-build-system.patch index 90c45632eada..303aacda46cd 100644 --- a/sci-biology/embassy-hmmer/files/embassy-hmmer-2.3.2.650_fix-build-system.patch +++ b/sci-biology/embassy-hmmer/files/embassy-hmmer-2.3.2.650_fix-build-system.patch @@ -1,12 +1,6 @@ - configure.ac | 49 +++++++------------------------------------------ - src/Makefile.am | 6 ++---- - 2 files changed, 9 insertions(+), 46 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 037ca00..f539ab6 100644 --- a/configure.ac +++ b/configure.ac -@@ -635,33 +635,6 @@ AS_CASE([${host_os}], +@@ -635,33 +635,6 @@ @@ -40,7 +34,7 @@ index 037ca00..f539ab6 100644 dnl FIXME: This does no longer seem required with Autoconf 2.67? dnl Intel MacOSX 10.6 puts X11 in a non-standard place dnl AS_IF([test "x${with_x}" != "xno"], -@@ -737,21 +710,6 @@ AX_LIB_POSTGRESQL +@@ -737,21 +710,6 @@ @@ -62,7 +56,7 @@ index 037ca00..f539ab6 100644 dnl Test if --enable-localforce given locallink="no" embprefix="/usr/local" -@@ -874,6 +832,13 @@ AC_ARG_ENABLE([systemlibs], +@@ -874,6 +832,13 @@ AM_CONDITIONAL([ESYSTEMLIBS], [test "x${enable_systemlibs}" = "xyes"]) @@ -76,11 +70,9 @@ index 037ca00..f539ab6 100644 # Enable the purify tool: --enable-purify, sets CC and LIBTOOL -diff --git a/src/Makefile.am b/src/Makefile.am -index dc789bc..5a8c38e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am -@@ -17,9 +17,7 @@ AM_CPPFLAGS = -I../../../nucleus -I../../../ajax/pcre \ +@@ -17,9 +17,7 @@ -I../../../ajax/ensembl -I../../../ajax/ajaxdb \ -I../../../ajax/acd -I../../../plplot else @@ -91,10 +83,21 @@ index dc789bc..5a8c38e 100644 endif if ISSHARED -@@ -67,5 +65,5 @@ LDADD = ../../../nucleus/libnucleus.la ../../../ajax/acd/libacd.la \ +@@ -34,7 +32,7 @@ + -lnucleus -lacd -lajaxdb -lensembl -lajaxg -lajax -lepcre \ + $(NLAIXLIBS) -leplplot + else +-AIX_CFLAGS = -Wl,-bdynamic -Wl,-brtl -L${embprefix}/lib -lnucleus -lacd \ ++AIX_CFLAGS = -Wl,-bdynamic -Wl,-brtl -lnucleus -lacd \ + -lajaxdb -lensembl -lajaxg -lajax -lepcre $(NLAIXLIBS) -leplplot + endif + endif +@@ -66,6 +64,6 @@ + ../../../plplot/libeplplot.la \ $(XLIB) else - LDADD = -L${embprefix}/lib -lnucleus -lacd -lajaxdb -lensembl -lajaxg \ +-LDADD = -L${embprefix}/lib -lnucleus -lacd -lajaxdb -lensembl -lajaxg \ - -lajax -lepcre $(NLADD) -leplplot $(XLIB) ++LDADD = -lnucleus -lacd -lajaxdb -lensembl -lajaxg \ + -lajax $(NLADD) $(XLIB) endif |