pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/pdvipsk pdvipsk: fold hacks.mk into Makefile, do...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/394e9c3636a4
branches:  trunk
changeset: 377642:394e9c3636a4
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Apr 24 00:02:49 2022 +0000

description:
pdvipsk: fold hacks.mk into Makefile, don't set $PATCH

diffstat:

 print/pdvipsk/Makefile |   7 +++++--
 print/pdvipsk/hacks.mk |  12 ------------
 2 files changed, 5 insertions(+), 14 deletions(-)

diffs (38 lines):

diff -r 27464a78504f -r 394e9c3636a4 print/pdvipsk/Makefile
--- a/print/pdvipsk/Makefile    Sat Apr 23 23:56:54 2022 +0000
+++ b/print/pdvipsk/Makefile    Sun Apr 24 00:02:49 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2019/11/04 19:58:00 rillig Exp $
+# $NetBSD: Makefile,v 1.6 2022/04/24 00:02:49 tnn Exp $
 
 DISTNAME=      texlive-20091011-source
 PKGNAME=       pdvipsk-5.98pl1.7b
@@ -35,8 +35,11 @@
 
 .include "../../print/kpathsea/buildlink3.mk"
 
+### NetBSD's patch(1) fails in patching dvips.info.
+###
+TOOL_DEPENDS+= patch-[0-9]*:../../devel/patch
 pre-patch:
-       ${PATCH} -d ${WRKSRC} -p1 -s \
+       ${PREFIX}/bin/gpatch -d ${WRKSRC} -p1 -s \
                < ${WRKDIR}/dvipsk-5.98-p1.7b-tl2009.diff
 
 do-install:
diff -r 27464a78504f -r 394e9c3636a4 print/pdvipsk/hacks.mk
--- a/print/pdvipsk/hacks.mk    Sat Apr 23 23:56:54 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-# $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.
-###
-BUILD_DEPENDS+=        patch-[0-9]*:../../devel/patch
-
-PATCH=                 ${LOCALBASE}/bin/gpatch
-PKG_HACKS+=            patch-dvips_info
-.endif



Home | Main Index | Thread Index | Old Index