27 |
SRC_URI=( |
SRC_URI=( |
28 |
ftp://ftp.musicbrainz.org/pub/musicbrainz/${SRCFILE} |
ftp://ftp.musicbrainz.org/pub/musicbrainz/${SRCFILE} |
29 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
30 |
|
mirror://${PNAME}/${PNAME}-${PVER}-gcc43.patch |
31 |
|
mirror://${PNAME}/${PNAME}-${PVER}-libtool.patch |
32 |
|
mirror://${PNAME}/${PNAME}-${PVER}-build-fix.patch |
33 |
) |
) |
34 |
|
|
35 |
UP2DATE="updatecmd ftp://ftp.musicbrainz.org/pub/musicbrainz/ | grep ${PNAME}- | lasttarball gz" |
UP2DATE="updatecmd ftp://ftp.musicbrainz.org/pub/musicbrainz/ | grep ${PNAME}- | lasttarball gz" |
39 |
munpack ${SRCFILE} || die |
munpack ${SRCFILE} || die |
40 |
cd ${SRCDIR} |
cd ${SRCDIR} |
41 |
|
|
42 |
|
# fixes issues with gcc-4.3 |
43 |
|
mpatch ${PNAME}-${PVER}-gcc43.patch || die |
44 |
|
|
45 |
|
# link issues with libtool-2.2 |
46 |
|
mpatch ${PNAME}-${PVER}-libtool.patch || die |
47 |
|
|
48 |
|
# misc compile fixes |
49 |
|
mpatch ${PNAME}-${PVER}-build-fix.patch || die |
50 |
|
|
51 |
# do not try to link against obsolete libtermcap |
# do not try to link against obsolete libtermcap |
52 |
sed -i 's:-ltermcap:-lncurses:' configure || die |
sed -i 's:-ltermcap:-lncurses:' configure || die |
53 |
sed -i 's:-lthr:-lpthread:g' lib/threads/posix/Makefile.in || die |
sed -i 's:-lthr:-lpthread:g' lib/threads/posix/Makefile.in || die |