summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authoritojun <itojun>2003-09-24 06:26:21 +0000
committeritojun <itojun>2003-09-24 06:26:21 +0000
commit64588c4657f6fc35c1ed49311460bad392407801 (patch)
treeead67016857b26b0bef9f04be62001134de65e4e /mk
parentaeb94aa50952f79f098b9fad360f1463ac98c281 (diff)
downloadpkgsrc-64588c4657f6fc35c1ed49311460bad392407801.tar.gz
PATCH_BACKUP_ARG for pre-3.4 (-b <suffix>)
Diffstat (limited to 'mk')
-rw-r--r--mk/defs.OpenBSD.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/defs.OpenBSD.mk b/mk/defs.OpenBSD.mk
index 504ca4dd9e3..822aab179db 100644
--- a/mk/defs.OpenBSD.mk
+++ b/mk/defs.OpenBSD.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.OpenBSD.mk,v 1.24 2003/09/23 07:26:23 grant Exp $
+# $NetBSD: defs.OpenBSD.mk,v 1.25 2003/09/24 06:26:21 itojun Exp $
#
# Variable definitions for the OpenBSD operating system.
@@ -127,7 +127,11 @@ _OPSYS_PERL_REQD= # no base version of perl required
_OPSYS_PTHREAD_AUTO= no # -lpthread needed for pthreads
_OPSYS_RPATH_NAME= -R # name of symbol in rpath directive to linker
_PATCH_CAN_BACKUP= yes # native patch(1) can make backups
+.if ${OS_VERSION} >= 3.4
_PATCH_BACKUP_ARG= -V simple -z # switch to patch(1) for backup suffix
+.else
+_PATCH_BACKUP_ARG= -V simple -b # switch to patch(1) for backup suffix
+.endif
_PREFORMATTED_MAN_DIR= cat # directory where catman pages are
_USE_GNU_GETTEXT= no # Don't use GNU gettext
_USE_RPATH= yes # add rpath to LDFLAGS