znc: fix cross.
This commit is contained in:
parent
e4ec440ecd
commit
0025e27d56
1 changed files with 7 additions and 3 deletions
|
@ -1,9 +1,7 @@
|
|||
nocross=yes #tempfix
|
||||
|
||||
# Template file for 'znc'
|
||||
pkgname=znc
|
||||
version=1.6.3
|
||||
revision=4
|
||||
revision=5
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-python --enable-perl --enable-tcl --enable-cyrus"
|
||||
hostmakedepends="pkg-config perl"
|
||||
|
@ -20,6 +18,12 @@ znc_homedir="/var/lib/znc"
|
|||
make_dirs="/var/lib/znc 0750 znc znc"
|
||||
|
||||
pre_configure() {
|
||||
local perlprefix=${XBPS_STATEDIR}/perlprefix-${XBPS_TARGET_MACHINE}
|
||||
mkdir -p $perlprefix
|
||||
cp "$XBPS_CROSS_BASE/usr/lib/perl5/core_perl/Config"* $perlprefix
|
||||
cp "$XBPS_CROSS_BASE/usr/lib/perl5/core_perl/Errno.pm" $perlprefix
|
||||
export PERL5LIB=$perlprefix
|
||||
|
||||
export TCL_FLAGS="$CFLAGS $LDFLAGS -ltcl8.6"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue