Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-biology/embassy-meme/files: embassy-meme-4.7.650_fix-build-system.patch
Date: Sat, 28 Mar 2015 17:17:53
Message-Id: 20150328171743.DD73A14B76@oystercatcher.gentoo.org
1 jlec 15/03/28 17:17:41
2
3 Added: embassy-meme-4.7.650_fix-build-system.patch
4 Log:
5 Import latest changes from science overlay, thanks Ted Tanberry for the work; fixes #335603
6
7 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
8
9 Revision Changes Path
10 1.1 sci-biology/embassy-meme/files/embassy-meme-4.7.650_fix-build-system.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/embassy-meme/files/embassy-meme-4.7.650_fix-build-system.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/embassy-meme/files/embassy-meme-4.7.650_fix-build-system.patch?rev=1.1&content-type=text/plain
14
15 Index: embassy-meme-4.7.650_fix-build-system.patch
16 ===================================================================
17 --- MEME-4.7.650/configure.ac
18 +++ MEME-4.7.650/configure.ac
19 @@ -635,33 +635,6 @@
20
21
22
23 -dnl PCRE library definitions - see the MAJOR and MINOR values
24 -dnl to see which version's configure.in these lines come from
25 -
26 -dnl Provide the current PCRE version information. Do not use numbers
27 -dnl with leading zeros for the minor version, as they end up in a C
28 -dnl macro, and may be treated as octal constants. Stick to single
29 -dnl digits for minor numbers less than 10. There are unlikely to be
30 -dnl that many releases anyway.
31 -
32 -PCRE_MAJOR="7"
33 -PCRE_MINOR="9"
34 -PCRE_DATE="11-Apr-2009"
35 -PCRE_VERSION="${PCRE_MAJOR}.${PCRE_MINOR}"
36 -
37 -dnl Default values for miscellaneous macros
38 -
39 -POSIX_MALLOC_THRESHOLD="-DPOSIX_MALLOC_THRESHOLD=10"
40 -
41 -dnl Provide versioning information for libtool shared libraries that
42 -dnl are built by default on Unix systems.
43 -
44 -PCRE_LIB_VERSION="0:1:0"
45 -PCRE_POSIXLIB_VERSION="0:0:0"
46 -
47 -
48 -
49 -
50 dnl FIXME: This does no longer seem required with Autoconf 2.67?
51 dnl Intel MacOSX 10.6 puts X11 in a non-standard place
52 dnl AS_IF([test "x${with_x}" != "xno"],
53 @@ -737,21 +710,6 @@
54
55
56
57 -dnl "Export" these variables for PCRE
58 -
59 -AC_SUBST([HAVE_MEMMOVE])
60 -AC_SUBST([HAVE_STRERROR])
61 -AC_SUBST([PCRE_MAJOR])
62 -AC_SUBST([PCRE_MINOR])
63 -AC_SUBST([PCRE_DATE])
64 -AC_SUBST([PCRE_VERSION])
65 -AC_SUBST([PCRE_LIB_VERSION])
66 -AC_SUBST([PCRE_POSIXLIB_VERSION])
67 -AC_SUBST([POSIX_MALLOC_THRESHOLD])
68 -
69 -
70 -
71 -
72 dnl Test if --enable-localforce given
73 locallink="no"
74 embprefix="/usr/local"
75 @@ -874,6 +832,11 @@
76 AM_CONDITIONAL([ESYSTEMLIBS], [test "x${enable_systemlibs}" = "xyes"])
77
78
79 +AS_IF([test "x${enable_systemlibs}" = "xyes"],
80 +[
81 +dnl using system libraries
82 + PKG_CHECK_MODULES([PLPLOT], [plplotd])
83 +])
84
85
86 # Enable the purify tool: --enable-purify, sets CC and LIBTOOL
87 --- MEME-4.7.650/src/Makefile.am
88 +++ MEME-4.7.650/src/Makefile.am
89 @@ -17,9 +17,7 @@
90 -I../../../ajax/ensembl -I../../../ajax/ajaxdb \
91 -I../../../ajax/acd -I../../../plplot
92 else
93 -AM_CPPFLAGS = -I${embprefix}/include -I${embprefix}/include/eplplot \
94 - $(NLINCLUDES) \
95 - -I${embprefix}/include/epcre
96 +AM_CPPFLAGS = -I${embprefix}/include $(NLINCLUDES) $(PLPLOT_CFLAGS)
97 endif
98
99 if ISSHARED
100 @@ -60,5 +58,5 @@
101 $(XLIB)
102 else
103 LDADD = -L${embprefix}/lib -lnucleus -lacd -lajaxdb -lensembl -lajaxg \
104 - -lajax -lepcre $(NLADD) -leplplot $(XLIB)
105 + -lajax $(NLADD) $(XLIB)
106 endif