diff options
author | minskim <minskim> | 2011-03-02 04:33:23 +0000 |
---|---|---|
committer | minskim <minskim> | 2011-03-02 04:33:23 +0000 |
commit | d7edf51bd9f986c30d38ddd3ecf5310f535d9177 (patch) | |
tree | e78dd9cb6d07b65fa1763003b937d3f442a804ae /print | |
parent | 000fa0f2ddcec1d735793cf431ea5529ed6232e3 (diff) | |
download | pkgsrc-d7edf51bd9f986c30d38ddd3ecf5310f535d9177.tar.gz |
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.
Diffstat (limited to 'print')
-rw-r--r-- | print/pdvipsk/hacks.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/print/pdvipsk/hacks.mk b/print/pdvipsk/hacks.mk new file mode 100644 index 00000000000..89e30cc52d6 --- /dev/null +++ b/print/pdvipsk/hacks.mk @@ -0,0 +1,15 @@ +# $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 |