37 |
sminclude mbuild alx-split |
sminclude mbuild alx-split |
38 |
|
|
39 |
SRC_URI=( |
SRC_URI=( |
40 |
sourceforge://${PNAME}/${SRCFILE} |
https://github.com/${PNAME}/${PNAME}/releases/download/v${PVER}/${SRCFILE} |
41 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
42 |
mirror://${PNAME}/${PNAME}-${PVER}-openssl-1.1-fixes.patch |
mirror://${PNAME}/${PNAME}-1.8.3-openssl-1.1-fixes.patch |
43 |
mirror://${PNAME}/${PNAME}-${PVER}-openssl-1.1-x509-fixes.patch |
mirror://${PNAME}/${PNAME}-1.8.3-openssl-1.1-x509-fixes.patch |
44 |
) |
) |
45 |
|
|
46 |
UP2DATE="updatecmd_sourceforge ${PNAME}" |
UP2SEPERATOR="v" |
47 |
|
UP2EXCLUDE="rdesktop-" |
48 |
|
UP2DATE="updatecmd https://github.com/${PNAME}/${PNAME}/releases | highesttarball gz" |
49 |
|
|
50 |
src_prepare() |
src_prepare() |
51 |
{ |
{ |
55 |
cd ${SRCDIR} |
cd ${SRCDIR} |
56 |
|
|
57 |
# openssl-1.1 fixes |
# openssl-1.1 fixes |
58 |
mpatch ${PNAME}-${PVER}-openssl-1.1-fixes.patch || die |
mpatch ${PNAME}-1.8.3-openssl-1.1-fixes.patch || die |
59 |
mpatch ${PNAME}-${PVER}-openssl-1.1-x509-fixes.patch || die |
mpatch ${PNAME}-1.8.3-openssl-1.1-x509-fixes.patch || die |
60 |
|
|
61 |
# force use of our CFLAGS |
# force use of our CFLAGS |
62 |
sed -i -e '/-O2/c\' -e 'cflags="$cflags ${CFLAGS}"' configure || die |
sed -i -e '/-O2/c\' -e 'cflags="$cflags ${CFLAGS}"' configure || die |