diff options
Diffstat (limited to 'main/charybdis/APKBUILD')
-rw-r--r-- | main/charybdis/APKBUILD | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/main/charybdis/APKBUILD b/main/charybdis/APKBUILD index 4845ee7ae5..6b519be8a3 100644 --- a/main/charybdis/APKBUILD +++ b/main/charybdis/APKBUILD @@ -29,15 +29,18 @@ prepare() { build() { cd "$_builddir" ./configure \ - --prefix=/usr \ - --sysconfdir=/etc/charybdis \ - --localstatedir=/var \ - --libexecdir=/usr/lib \ - --disable-assert \ - --enable-ssl \ - --enable-ipv6 \ - --with-rundir=/var/run \ - --with-program-prefix=charybdis- + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc/charybdis \ + --localstatedir=/var \ + --libexecdir=/usr/lib \ + --disable-assert \ + --enable-ssl \ + --enable-ipv6 \ + --with-rundir=/var/run \ + --with-program-prefix=charybdis- \ + || return 1 make } @@ -55,7 +58,6 @@ package() { sed -i -e "s/\"modules\"/\"\/usr\/lib\/charybdis\/modules\"/g" $pkgdir/etc/$pkgname/example.conf sed -i -e "s/\"modules\/autoload\"/\"\/usr\/lib\/charybdis\/modules\/autoload\"/g" "$pkgdir"/etc/$pkgname/example.conf sed -i -e "s/usr\/local\/ircd\/modules/usr\/lib\/charybdis\/modules/g" "$pkgdir"/etc/$pkgname/reference.conf - } md5sums="54245396b829f8d19d3958cde9c3bd65 charybdis-3.4.2.tar.bz2 |