aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKiyoshi Aman <aphrael@alpinelinux.org>2011-07-30 01:19:25 -0400
committerKiyoshi Aman <aphrael@alpinelinux.org>2011-08-11 05:36:52 -0400
commit9aa02cf4ef591c9f4f84bb8669f3ad307f401bf7 (patch)
tree82b8a3639bf47855b102b3e95b448f559d4fa709
parent98bf351bafa4258da0f7f2989963613cc6e17291 (diff)
downloadaports-9aa02cf4ef591c9f4f84bb8669f3ad307f401bf7.tar.bz2
aports-9aa02cf4ef591c9f4f84bb8669f3ad307f401bf7.tar.xz
main/irssi: build perl module into irssi fixes a segfault-on-exit with perl loaded
-rw-r--r--main/irssi/APKBUILD24
1 files changed, 4 insertions, 20 deletions
diff --git a/main/irssi/APKBUILD b/main/irssi/APKBUILD
index dffcf24958..d96e06dbac 100644
--- a/main/irssi/APKBUILD
+++ b/main/irssi/APKBUILD
@@ -1,18 +1,18 @@
# Maintainer: Kiyoshi Aman <kiyoshi.aman at gmail.com>
pkgname=irssi
pkgver=0.8.15
-pkgrel=7
+pkgrel=8
pkgdesc="A modular textUI IRC client with IPv6 support"
url="http://irssi.org/"
arch="all"
license='GPL'
-depends=
+depends="perl"
makedepends="glib-dev openssl-dev ncurses-dev perl-dev pkgconfig"
source="
http://irssi.org/files/irssi-${pkgver}.tar.bz2
$pkgname-italics.patch
"
-subpackages="$pkgname-doc $pkgname-dev $pkgname-perl:perl $pkgname-proxy:proxy"
+subpackages="$pkgname-doc $pkgname-dev $pkgname-proxy:proxy"
_builddir="$srcdir/$pkgname-$pkgver"
@@ -32,7 +32,7 @@ build() {
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --with-perl=module \
+ --with-perl-staticlib \
--with-proxy
make || return 1
make DESTDIR="$pkgdir" install
@@ -43,22 +43,6 @@ package() {
make DESTDIR="$pkgdir" install
}
-perl() {
- depends="$pkgname perl"
- pkgdesc="Irssi perl support and scripts"
- mkdir -p "$subpkgdir"/usr/share/irssi
- mv "$pkgdir"/usr/share/irssi/scripts "$subpkgdir"/usr/share/irssi/
- mkdir -p "$subpkgdir"/usr/lib/irssi/modules
- mv "$pkgdir"/usr/lib/irssi/modules/libfe_perl.* \
- "$pkgdir"/usr/lib/irssi/modules/libperl_core.* "$subpkgdir"/usr/lib/irssi/modules/
- mv "$pkgdir"/usr/lib/perl5 "$subpkgdir"/usr/lib/
- #need write permission when stripping
- chmod +w "$subpkgdir"/usr/lib/perl5/core_perl/auto/Irssi/TextUI/TextUI.so
- chmod +w "$subpkgdir"/usr/lib/perl5/core_perl/auto/Irssi/Irssi.so
- chmod +w "$subpkgdir"/usr/lib/perl5/core_perl/auto/Irssi/Irc/Irc.so
- chmod +w "$subpkgdir"/usr/lib/perl5/core_perl/auto/Irssi/UI/UI.so
-}
-
proxy() {
depends="$pkgname"
pkgdesc="Irssi module for enabling bouncer-like functionality"