summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorlukem <lukem@pkgsrc.org>2002-03-14 03:14:46 +0000
committerlukem <lukem@pkgsrc.org>2002-03-14 03:14:46 +0000
commit06b290460317556ccbd17d1b2bbf737126fc6802 (patch)
tree31a6651b4e7f816bb6f02f8eb42dba09adf83e3f /print
parentf81ee4d35b92de318a174cb3c7ed4e041d7bfa27 (diff)
downloadpkgsrc-06b290460317556ccbd17d1b2bbf737126fc6802.tar.gz
consistently use "${_PATCH_BACKUP_ARG} .orig" to set the backup file suffix
Diffstat (limited to 'print')
-rw-r--r--print/acroread/Makefile8
-rw-r--r--print/acroread3/Makefile4
2 files changed, 4 insertions, 8 deletions
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