summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlukem <lukem@pkgsrc.org>2002-03-14 03:13:36 +0000
committerlukem <lukem@pkgsrc.org>2002-03-14 03:13:36 +0000
commitf81ee4d35b92de318a174cb3c7ed4e041d7bfa27 (patch)
treecda69e972e975fb6aca5f169fa7c7263c24f326d
parent35dc87e3560fb7916913d065e1259b9261d4fbe8 (diff)
downloadpkgsrc-f81ee4d35b92de318a174cb3c7ed4e041d7bfa27.tar.gz
if we depend upon ${PATCH} creating the backup file with a .orig
suffix, then use "${_PATCH_BACKUP_ARG} .orig" to ensure that's the case
-rw-r--r--print/teTeX-share/Makefile4
-rw-r--r--print/teTeX-sharesrc/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/print/teTeX-share/Makefile b/print/teTeX-share/Makefile
index 13ce4354491..9e3d20666ea 100644
--- a/print/teTeX-share/Makefile
+++ b/print/teTeX-share/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2001/11/29 01:12:45 hubertf Exp $
+# $NetBSD: Makefile,v 1.11 2002/03/14 03:13:36 lukem Exp $
#
DISTNAME= teTeX-texmf-1.0.2
@@ -34,7 +34,7 @@ do-install:
-X ${FILESDIR}/exclude \
-f ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES}
@cd ${PREFIX}/share/texmf/tex/latex/base && \
- ${PATCH} < ${EXTRA_PATCH} && \
+ ${PATCH} ${_PATCH_BACKUP_ARG} .orig < ${EXTRA_PATCH} && \
${RM} latex.ltx.orig
.include "../../mk/bsd.pkg.mk"
diff --git a/print/teTeX-sharesrc/Makefile b/print/teTeX-sharesrc/Makefile
index 77a4af9501a..6ef86cc74ec 100644
--- a/print/teTeX-sharesrc/Makefile
+++ b/print/teTeX-sharesrc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2001/11/29 01:12:45 hubertf Exp $
+# $NetBSD: Makefile,v 1.11 2002/03/14 03:13:37 lukem Exp $
# FreeBSD Id: Makefile,v 1.20 1997/08/05 06:56:41 tg Exp
#
@@ -35,7 +35,7 @@ do-install:
-C ${PREFIX}/share/texmf \
-f ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES}
@cd ${PREFIX}/share/texmf/source/latex/base && \
- ${PATCH} < ${EXTRA_PATCH} && \
+ ${PATCH} ${_PATCH_BACKUP_ARG} .orig < ${EXTRA_PATCH} && \
${RM} latex.ltx.orig
.include "../../mk/bsd.pkg.mk"