pkgsrc/print/pdvipsk/hacks.mk
minskim 3d8a1d3e6d NetBSD's patch(1) fails in applying Debian's patch for dvipsk. Use
GNU patch as a workaround.

This fixes the build problem in PR/44550.
2011-03-02 04:33:23 +00:00

15 lines
326 B
Makefile

# $NetBSD: hacks.mk,v 1.1 2011/03/02 04:33:23 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
.endif
.endif