summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/rxvt-unicode/APKBUILD15
1 files changed, 6 insertions, 9 deletions
diff --git a/user/rxvt-unicode/APKBUILD b/user/rxvt-unicode/APKBUILD
index f9c836dde..b9802516b 100644
--- a/user/rxvt-unicode/APKBUILD
+++ b/user/rxvt-unicode/APKBUILD
@@ -12,16 +12,17 @@ arch="all"
options="!check" # No test suite.
license="(GPL-2.0+ OR BSD-2-Clause) AND GPL-2.0+ AND GPL-3.0+"
depends="$pkgname-terminfo"
-makedepends="libx11-dev libxft-dev ncurses fontconfig-dev
+makedepends="libx11-dev libxft-dev ncurses fontconfig-dev utmps-dev
gdk-pixbuf-dev libxrender-dev perl-dev startup-notification-dev"
subpackages="$pkgname-doc $pkgname-terminfo::noarch"
source="http://dist.schmorp.de/$pkgname/$pkgname-$pkgver.tar.bz2
gentables.patch
- kerning.patch"
+ kerning.patch
+ "
build() {
- cd "$builddir"
- ./configure \
+ export CXXFLAGS="$CXXFLAGS -DWTMPX_FILE=\\\"\"/run/utmps/wtmp\"\\\""
+ LIBS="-lutmps -lskarnet" ./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
@@ -40,10 +41,7 @@ build() {
--enable-text-blink \
--enable-fading \
--enable-startup-notification \
- --enable-unicode3 \
- --disable-utmp \
- --disable-wtmp \
- --disable-lastlog
+ --enable-unicode3
make
}
@@ -54,7 +52,6 @@ package() {
export TERMINFO="$pkgdir/usr/share/terminfo"
mkdir -p "$TERMINFO"
- cd "$builddir"
make DESTDIR="$pkgdir" install
}