21 |
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/${SRCFILE} |
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/${SRCFILE} |
22 |
http://download.savannah.nongnu.org/releases/openexr/${SRCFILE} |
http://download.savannah.nongnu.org/releases/openexr/${SRCFILE} |
23 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
|
mirror://${PNAME}/${PNAME}-2.0.1-no_undefined.patch |
|
24 |
) |
) |
25 |
|
|
26 |
UP2DATE="updatecmd http://download.savannah.nongnu.org/releases/openexr | grep ${PNAME}-[0-9] | lasttarball gz" |
UP2DATE="updatecmd http://download.savannah.nongnu.org/releases/openexr | grep ${PNAME}-[0-9] | lasttarball gz" |
27 |
|
|
|
src_prepare() |
|
|
{ |
|
|
munpack ${SRCFILE} || die |
|
|
|
|
|
# fix undefined references |
|
|
mpatch ${PNAME}-2.0.1-no_undefined.patch || die |
|
|
} |
|
|
|
|
28 |
src_compile() |
src_compile() |
29 |
{ |
{ |
30 |
|
# fix bogus pthread linking and as-needed issues |
31 |
|
PTHREAD_LIBS="-pthread -lpthread -lrt" \ |
32 |
mconfigure || die |
mconfigure || die |
33 |
# fix bogus pthread linking |
mmake || die |
|
mmake PTHREAD_LIBS="-pthread -lpthread" || die |
|
34 |
} |
} |