rxvt-unicode: filter -m... cflags from host perl, fix cross.

This commit is contained in:
Christian Neukirchen 2016-08-29 15:40:41 +02:00
parent 2ef4835c6e
commit 7f2e17d231
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template build file for 'rxvt-unicode'.
pkgname=rxvt-unicode
version=9.22
revision=3
revision=4
build_style=gnu-configure
configure_args="
--with-terminfo=/usr/share/terminfo --enable-256-color
@ -67,7 +67,8 @@ fi
_cross_perl() {
if [ "$CROSS_BUILD" ]; then
sed -e "s#/usr/lib#${XBPS_CROSS_BASE}\0#g" \
-e "s#/usr/share#${XBPS_CROSS_BASE}\0#g"
-e "s#/usr/share#${XBPS_CROSS_BASE}\0#g" \
-e "s# -m[^ ]*##g"
else
cat
fi