From 750ede08c898240f8c8c9e74277ca1580b3f10f3 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 11 Jan 2020 07:30:48 +0000 Subject: user/rxvt-unicode: Add utmp/wtmp support --- user/rxvt-unicode/APKBUILD | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'user/rxvt-unicode') 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 } -- cgit v1.2.3-70-g09d2