mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
thunderbird: get rid of devel stuff; remove unnecessary cross workarounds.
This commit is contained in:
parent
fcdcea21d3
commit
6f3f718b69
1 changed files with 2 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'thunderbird'.
|
# Template build file for 'thunderbird'.
|
||||||
pkgname=thunderbird
|
pkgname=thunderbird
|
||||||
version=38.3.0
|
version=38.3.0
|
||||||
revision=4
|
revision=5
|
||||||
wrksrc="comm-esr${version/.*/}"
|
wrksrc="comm-esr${version/.*/}"
|
||||||
short_desc="Standalone Mail/News reader"
|
short_desc="Standalone Mail/News reader"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
|
@ -60,7 +60,6 @@ do_configure() {
|
||||||
-I${XBPS_CROSS_BASE}/usr/include/nspr \
|
-I${XBPS_CROSS_BASE}/usr/include/nspr \
|
||||||
-I${XBPS_CROSS_BASE}/usr/include/nss"
|
-I${XBPS_CROSS_BASE}/usr/include/nss"
|
||||||
export CXXFLAGS+=" ${CFLAGS}"
|
export CXXFLAGS+=" ${CFLAGS}"
|
||||||
export LDFLAGS+=" -L${XBPS_CROSS_BASE}/usr/lib"
|
|
||||||
|
|
||||||
export ac_cv_sqlite_secure_delete=yes \
|
export ac_cv_sqlite_secure_delete=yes \
|
||||||
ac_cv_sqlite_threadsafe=yes \
|
ac_cv_sqlite_threadsafe=yes \
|
||||||
|
@ -94,9 +93,6 @@ do_configure() {
|
||||||
--enable-optimize="$CFLAGS" --disable-strip --disable-install-strip \
|
--enable-optimize="$CFLAGS" --disable-strip --disable-install-strip \
|
||||||
--disable-static --enable-pie \
|
--disable-static --enable-pie \
|
||||||
--disable-profiling --disable-profilelocking
|
--disable-profiling --disable-profilelocking
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
sed -i "s#-L/usr/lib ##" `find . -name '*.mk' -or -name Makefile`
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
cd xbps-build
|
cd xbps-build
|
||||||
|
@ -121,6 +117,7 @@ do_install() {
|
||||||
|
|
||||||
# We don't want the development stuff
|
# We don't want the development stuff
|
||||||
rm -r ${DESTDIR}/usr/{include,share/idl}
|
rm -r ${DESTDIR}/usr/{include,share/idl}
|
||||||
|
rm -r ${DESTDIR}/usr/lib/thunderbird-devel
|
||||||
|
|
||||||
# same binaries : usr/lib/thunderbird/{thunderbird-bin,thunderbird}
|
# same binaries : usr/lib/thunderbird/{thunderbird-bin,thunderbird}
|
||||||
rm -f ${DESTDIR}/usr/lib/thunderbird/thunderbird-bin
|
rm -f ${DESTDIR}/usr/lib/thunderbird/thunderbird-bin
|
||||||
|
|
Loading…
Add table
Reference in a new issue