diff options
author | minskim <minskim@pkgsrc.org> | 2011-03-02 04:33:23 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2011-03-02 04:33:23 +0000 |
commit | 3d8a1d3e6d30910dd21e7980ceb8297c16ff5a6a (patch) | |
tree | e78dd9cb6d07b65fa1763003b937d3f442a804ae /print | |
parent | 4d10ee3447250bfb9b95e70f8a28fb6f4444b711 (diff) | |
download | pkgsrc-3d8a1d3e6d30910dd21e7980ceb8297c16ff5a6a.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 |