summaryrefslogtreecommitdiff
path: root/devel/acme/hacks.mk
blob: 7dbdc887e1e138da3d8a850999a5f603814f14bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $NetBSD: hacks.mk,v 1.2 2019/11/03 10:39:05 rillig Exp $

.if !defined(ACME_HACKS_MK)
ACME_HACKS_MK=	# defined

.if ${OPSYS} == "HPUX"
PKG_HACKS+=		hpux-cpu_t
SUBST_CLASSES+=		cpu_t
SUBST_STAGE.cpu_t=	pre-configure
SUBST_MESSAGE.cpu_t=	Changing conflicting type cpu_t to acmecpu_t
SUBST_FILES.cpu_t=	cpu.c cpu.h
SUBST_SED.cpu_t=	-e 's,cpu_t,acmecpu_t,g'
.endif

.endif