17 |
>= media-libs/libofa-0.9.3 |
>= media-libs/libofa-0.9.3 |
18 |
>= sys-libs/readline-6.2" |
>= sys-libs/readline-6.2" |
19 |
|
|
20 |
SDEPEND=">= dev-util/pkgconfig-0.25" |
SDEPEND=">= dev-util/pkgconfig-0.25 |
21 |
|
>= sys-apps/sed-4" |
22 |
|
|
23 |
SRCFILE="${PNAME}-${PVER}.tar.gz" |
SRCFILE="${PNAME}-${PVER}.tar.gz" |
24 |
SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
57 |
# fixes issues with gcc-4.5 |
# fixes issues with gcc-4.5 |
58 |
mpatch ${PNAME}-${PVER}-gcc45.patch || die |
mpatch ${PNAME}-${PVER}-gcc45.patch || die |
59 |
|
|
60 |
|
# fix build against newer curl versions |
61 |
|
sed -i '/#include <curl\/types.h>/d' lib/protocol.cpp || die |
62 |
|
|
63 |
# do not try to link against obsolete libtermcap |
# do not try to link against obsolete libtermcap |
64 |
sed -i 's:-ltermcap:-lncurses:' configure || die |
sed -i 's:-ltermcap:-lncurses:' configure || die |
65 |
sed -i 's:-lthr:-lpthread:g' lib/threads/posix/Makefile.in || die |
sed -i 's:-lthr:-lpthread:g' lib/threads/posix/Makefile.in || die |