summaryrefslogtreecommitdiff
path: root/print/pdvipsk/hacks.mk
blob: 8b7c911ffa3b0614f2bd537ac8bc09b48e6ec1a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $NetBSD: hacks.mk,v 1.2 2012/03/03 18:45:01 minskim Exp $

.if !defined(PDVIPSK_HACKS_MK)
PDVIPSK_HACKS_MK=	# defined

### NetBSD's patch(1) fails in patching dvips.info.
###
.if ${OPSYS} == "NetBSD"
BUILD_DEPENDS+=	patch-[0-9]*:../../devel/patch

PATCH=		${LOCALBASE}/bin/gpatch
PKG_HACKS+=	patch-dvips_info
.elif ${OPSYS} == "Darwin"
TOOLS_PLATFORM.patch=	/usr/bin/patch
PKG_HACKS+=	patch-dvips_info
.endif

.endif