1 |
-- Matt Tucker <tuck@×××××××××××××.net> spake thusly: |
2 |
|
3 |
> Your compile command for db_dump185 is: |
4 |
> |
5 |
> gcc -c -D_GNU_SOURCE -I../dist/../include -D_REENTRANT |
6 |
> ../dist/../db_dump185/db_dump185.c |
7 |
> |
8 |
> whereas on my system it's using: |
9 |
> |
10 |
> gcc -I/usr/include/db1 -c -D_GNU_SOURCE -I../dist/../include |
11 |
> -D_REENTRANT ../dist/../db_dump185/db_dump185.c |
12 |
> |
13 |
> This stuff is hard-coded in dist/Makefile.in: |
14 |
> |
15 |
> DB185INC= -I/usr/include/db1 -c @CFLAGS@ |
16 |
> -I$(srcdir)/include @CPPFLAGS@ |
17 |
> DB185LIB= -ldb1 |
18 |
> . |
19 |
> . |
20 |
> . |
21 |
> db_dump185@o@: $(srcdir)/db_dump185/db_dump185.c |
22 |
> $(CC) $(DB185INC) $? |
23 |
> |
24 |
> However, it's _NOT_ in Makefile.in.orig, so I assume there's a gentoo |
25 |
> patch that you're not picking up. 'emerge sync' perhaps? |
26 |
|
27 |
A followup on this. In db-3.2.9-r2.ebuild, I see: |
28 |
|
29 |
# We should get dump185 to link against system db1 .. |
30 |
# <azarah@g.o> (23 Feb 2003) |
31 |
cp ${S}/dist/Makefile.in ${S}/dist/Makefile.in.orig |
32 |
sed -e 's:DB185INC=:DB185INC= -I/usr/include/db1:' \ |
33 |
-e 's:DB185LIB=:DB185LIB= -ldb1:' \ |
34 |
${S}/dist/Makefile.in.orig > ${S}/dist/Makefile.in |
35 |
|
36 |
I'm going to bet that this isn't in your version -- particularly |
37 |
because the change was apparently made yesterday. |
38 |
|
39 |
|
40 |
-- |
41 |
gentoo-dev@g.o mailing list |