Lines 36-51
Link Here
|
36 |
fi |
36 |
fi |
37 |
done |
37 |
done |
38 |
|
38 |
|
39 |
# do the same for headers now |
39 |
# Remove /usr/include headers, to avoid fbsd collisions. |
40 |
# but since there are only two of them, just overwrite them |
40 |
# Software must be patched to add the db subdirectory to the include path. |
41 |
cd ${ROOT}/usr/include |
41 |
cd ${ROOT}/usr/include |
42 |
target=`find . -type d -maxdepth 1 -name 'db[0-9]*' | sort -g |cut -d/ -f2- | tail -n1` |
42 |
rm db.h db_185.h |
43 |
if [ -n "${target}" ] && [ -e "${target}/db.h" ]; then |
|
|
44 |
ln -sf ${target}/db.h . |
45 |
ln -sf ${target}/db_185.h . |
46 |
elif [ ! -e "${target}/db.h" ]; then |
47 |
rm db.h db_185.h |
48 |
fi |
49 |
} |
43 |
} |
50 |
|
44 |
|
51 |
db_src_install_doc() { |
45 |
db_src_install_doc() { |