pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/pdvipsk pdvipsk: use GNU patch unconditionally t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/91893c0455fe
branches:  trunk
changeset: 377639:91893c0455fe
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Apr 23 23:56:23 2022 +0000

description:
pdvipsk: use GNU patch unconditionally to apply distribution patch

It is difficult to detect if TOOLS_PATCH is nbpatch or not.
Depends on local pkgsrc bootstrap situation.

diffstat:

 print/pdvipsk/hacks.mk |  8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diffs (23 lines):

diff -r 4f98ae313f0b -r 91893c0455fe print/pdvipsk/hacks.mk
--- a/print/pdvipsk/hacks.mk    Sat Apr 23 23:47:08 2022 +0000
+++ b/print/pdvipsk/hacks.mk    Sat Apr 23 23:56:23 2022 +0000
@@ -1,18 +1,12 @@
-# $NetBSD: hacks.mk,v 1.3 2019/11/04 19:58:00 rillig Exp $
+# $NetBSD: hacks.mk,v 1.4 2022/04/23 23:56:23 tnn 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



Home | Main Index | Thread Index | Old Index