summaryrefslogtreecommitdiff
path: root/user/rxvt-unicode/APKBUILD
diff options
context:
space:
mode:
authorCyberLeo <cyberleo@cyberleo.net>2020-03-28 05:45:52 -0500
committerCyberLeo <cyberleo@cyberleo.net>2020-03-28 05:45:52 -0500
commit9297468fa579836e3a6a381b798feb6b78217c2d (patch)
tree53168212f427afbcf0693b534530a4af803152e9 /user/rxvt-unicode/APKBUILD
parenta63cc05c53a6f4c22422dc8c69808b14d87a6f6e (diff)
parentda5a69b65a8791fffa6e93366ee585f87eff136d (diff)
downloadpackages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.gz
packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.bz2
packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.xz
packages-9297468fa579836e3a6a381b798feb6b78217c2d.zip
Merge branch 'master' into zfs
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
}