File:  [cvs.NetBSD.org] / pkgsrc / x11 / xview-clients / Makefile
Revision 1.40: 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.40 2022/04/17 01:44:23 gutteridge Exp $

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

MAINTAINER=		pkgsrc-users@NetBSD.org
COMMENT=		OpenLook applications and man pages

MAKE_JOBS_SAFE=		no

NOT_FOR_PLATFORM=	*-*-alpha	# it builds but everything segfaults...

LICENSE=		sun-openlook-license
NO_SRC_ON_FTP=		Already in MASTER_SITE_LOCAL

EXTRACT_ELEMENTS=	${DISTNAME}/clients ${DISTNAME}/images

WRKSRC=			${WRKDIR}/${DISTNAME}/clients
USE_IMAKE=		yes

SUBST_CLASSES+=		xvc
SUBST_STAGE.xvc=	pre-configure
SUBST_MESSAGE.xvc=	Fixing hard-coded paths.
SUBST_FILES.xvc=	olwm/openwin-menu-programs
SUBST_VARS.xvc=		PREFIX
SUBST_VARS.xvc+=	X11BASE

.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
MAKE_FLAGS+=		CCOPTIONS=-Wno-error=return-type
.endif

.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/xview-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>