summaryrefslogtreecommitdiff
path: root/user/rxvt-unicode/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-11 07:30:48 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-11 07:30:48 +0000
commit750ede08c898240f8c8c9e74277ca1580b3f10f3 (patch)
treeec8c45a072fdc3db25dad4dde04cee65487485ff /user/rxvt-unicode/APKBUILD
parent958524c965a9197436ade52287f04ca374d4155e (diff)
downloadpackages-750ede08c898240f8c8c9e74277ca1580b3f10f3.tar.gz
packages-750ede08c898240f8c8c9e74277ca1580b3f10f3.tar.bz2
packages-750ede08c898240f8c8c9e74277ca1580b3f10f3.tar.xz
packages-750ede08c898240f8c8c9e74277ca1580b3f10f3.zip
user/rxvt-unicode: Add utmp/wtmp support
Diffstat (limited to 'user/rxvt-unicode/APKBUILD')
-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
}