summaryrefslogtreecommitdiff
path: root/print/pdvipsk
diff options
context:
space:
mode:
authorminskim <minskim>2011-03-02 04:33:23 +0000
committerminskim <minskim>2011-03-02 04:33:23 +0000
commit17f8ab7dcd5f006baf225ef3d593748f940441c6 (patch)
treee78dd9cb6d07b65fa1763003b937d3f442a804ae /print/pdvipsk
parent29876deca979d1f346db1acf395215b1ed75c8d1 (diff)
downloadpkgsrc-17f8ab7dcd5f006baf225ef3d593748f940441c6.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/pdvipsk')
-rw-r--r--print/pdvipsk/hacks.mk15
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