Revert "urbanterror: fix musl"

This reverts commit 7be15332c6.
This commit is contained in:
Enno Boland 2015-09-02 09:27:18 +02:00
parent 3ede5fa52f
commit 6b205e32ce
2 changed files with 2 additions and 13 deletions

View file

@ -11,6 +11,7 @@ license="proprietary"
homepage="https://support.steampowered.com/kb_article.php?ref=1974-YFKL-4947"
distfiles="https://support.steampowered.com/downloads/1974-YFKL-4947/SteamFonts.zip"
checksum=a03bcc9581f2896cac39967633fc43546af5ed9d73d505a10cae4016797dfeb1
restricted=yes
create_wrksrc=yes
do_install() {

View file

@ -11,7 +11,7 @@ configure_args="--enable-wide-chars --enable-88-color --enable-broken-osc
--with-app-defaults=/usr/share/X11/app-defaults --enable-i18n
--disable-full-tgetent --disable-imake --enable-doublechars
--enable-freetype --enable-tcap-query --enable-logging --enable-dabbrev
--with-pkg-config=yes --enable-exec-xterm --with-utempter --enable-warnings"
--with-pkg-config=yes --enable-exec-xterm --with-utempter"
hostmakedepends="pkg-config"
makedepends="libXft-devel libXaw-devel ncurses-devel fontconfig-devel libX11-devel
libXmu-devel libXt-devel libICE-devel libutempter-devel libxkbfile-devel"
@ -22,18 +22,6 @@ license="MIT"
distfiles="ftp://invisible-island.net/xterm/$pkgname-$version.tgz"
checksum=a60dbb574334c081425fa30f011cd9f571e3be7a91e2a84e252461798bce24a7
case "$XBPS_TARGET_MACHINE" in
*-musl)
CFLAGS="-DUSE_USG_PTYS=1"
#CFLAGS="-include termcap.h -g -D__GNU__ -D__GLIBC__=2 -D__GLIBC_MINOR__=10 -D_POSIX_SOURCE -D_GNU_SOURCE"
#post_configure() {
# msg_normal "Patching for MUSL"
# echo 'static inline int getpt() { return open("/dev/ptmx", O_RDWR|O_NOCTTY); }' >> ptyx.h
# touch curses.h
#}
;;
esac
post_install() {
for f in {u,}xterm.desktop; do
vinstall $f 644 usr/share/applications