File:  [cvs.NetBSD.org] / pkgsrc / x11 / xview-lib / Makefile
Revision 1.44: download - view: text, annotated - select for diffs
Sun Apr 17 01:44:23 2022 UTC (2 years, 7 months ago) by gutteridge
Branches: MAIN
CVS tags: HEAD
xview*: explicitly require font-sun-misc for correct operation

Without the expected fonts, fundamental graphical content like icons
goes missing, and the X server may fail to start, at that.

XXX I tested on NetBSD 9.2_STABLE amd64 and i386. On amd64, this
crashes the X server for me, while it works fine on i386. The package
was already marked not for Alpha, so that may be a clue that it's not
64-bit clean in general, though some of the original commentary about
Alpha sounded quite specific.

# $NetBSD: Makefile,v 1.44 2022/04/17 01:44:23 gutteridge Exp $

DISTNAME=		xview3.2p1-X11R6
PKGNAME=		xview-lib-3.2.1
PKGREVISION=		11
CATEGORIES=		x11
MASTER_SITES=		${MASTER_SITE_LOCAL}

MAINTAINER=		pkgsrc-users@NetBSD.org
COMMENT=		OpenLook Toolkit libs, includes, and man pages

MAKE_JOBS_SAFE=		no

# Not functional without fundamental images from font-sun-misc.
DEPENDS+=		font-sun-misc>=1.0.3:../../fonts/font-sun-misc
DEPENDS+=		xview-config>=3.2.1nb6:../../x11/xview-config

LICENSE=		sun-openlook-license
NO_SRC_ON_FTP=		Already in MASTER_SITE_LOCAL
# builds, but binaries in../xview-clients all crash
NOT_FOR_PLATFORM=	*-*-alpha
NOT_FOR_PLATFORM+=	Linux-*-*

USE_IMAKE=		yes

post-install:
	cd ${DESTDIR}${PREFIX}/lib && ${LN} -fs libolgx.so.3.2 libolgx.so.3 && \
		${LN} -fs libxview.so.3.2 libxview.so.3

.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>