From 0edeeac163cc403b14729c055155a3fa1fda802d Mon Sep 17 00:00:00 2001 From: lukem Date: Thu, 14 Mar 2002 03:14:46 +0000 Subject: consistently use "${_PATCH_BACKUP_ARG} .orig" to set the backup file suffix --- print/acroread/Makefile | 8 ++------ print/acroread3/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'print') diff --git a/print/acroread/Makefile b/print/acroread/Makefile index 57a4627686d..dd0315dffe5 100644 --- a/print/acroread/Makefile +++ b/print/acroread/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2001/08/21 08:23:26 abs Exp $ +# $NetBSD: Makefile,v 1.28 2002/03/14 03:14:46 lukem Exp $ # FreeBSD Id: Makefile,v 1.13 1999/04/08 07:49:18 dima Exp $ PKGNAME= acroread-4.05 @@ -66,11 +66,7 @@ PLIST_SRC= ${PKGDIR}/PLIST.pre \ NS_PLUGINS_DIR= ${PREFIX}/lib/netscape/plugins -.if (${OPSYS} == "SunOS") -BIN_PATCH= ${PATCH} --quiet -V simple -z .orig -.else -BIN_PATCH= ${PATCH} --quiet -V simple -b .orig -.endif +BIN_PATCH= ${PATCH} --quiet ${_PATCH_BACKUP_ARG} .orig do-install: @${INSTALL_DATA_DIR} ${PREFIX}/Acrobat4 diff --git a/print/acroread3/Makefile b/print/acroread3/Makefile index dc886303537..6a6ea1c3ec7 100644 --- a/print/acroread3/Makefile +++ b/print/acroread3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2001/03/27 18:03:27 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.18 2002/03/14 03:14:47 lukem Exp $ PKGNAME= acroread3-3.01 CATEGORIES= print @@ -71,7 +71,7 @@ do-install: post-install: @cd ${PREFIX}/Acrobat3/bin && \ - ${PATCH} --quiet < ${FILESDIR}/acroread.diff && \ + ${PATCH} ${_PATCH_BACKUP_ARG} .orig --quiet < ${FILESDIR}/acroread.diff && \ ${INSTALL_SCRIPT} ${PREFIX}/Acrobat3/bin/acroread \ ${PREFIX}/bin/acroread3 && ${RM} acroread.orig @${CHMOD} +x ${PREFIX}/bin/acroread3 -- cgit v1.2.3