summaryrefslogtreecommitdiff
path: root/devel/bmake
diff options
context:
space:
mode:
authorryoon <ryoon>2014-03-14 21:59:34 +0000
committerryoon <ryoon>2014-03-14 21:59:34 +0000
commit924e56380b88f2ea29acd288db72ebf0fe3d7c98 (patch)
treea2dc8c0ef2bf03151f421d20155f020016436a2c /devel/bmake
parent6dbb2b269b8f2615f12593cd9e38d8fee934ac17 (diff)
downloadpkgsrc-924e56380b88f2ea29acd288db72ebf0fe3d7c98.tar.gz
Bump version to 20140314
* Add SCO OpenServer 5.0.7/3.2 support * Replace _DIR with _DIR_H in dir.h, because SCO OpenServer 5.0.7/3.2 has _DIR macro in dirent.h
Diffstat (limited to 'devel/bmake')
-rw-r--r--devel/bmake/Makefile4
-rw-r--r--devel/bmake/files/dir.h8
-rwxr-xr-xdevel/bmake/files/machine.sh7
-rw-r--r--devel/bmake/files/make.h13
-rw-r--r--devel/bmake/files/os.sh7
5 files changed, 30 insertions, 9 deletions
diff --git a/devel/bmake/Makefile b/devel/bmake/Makefile
index f2e3e0881b1..2c0f7694dca 100644
--- a/devel/bmake/Makefile
+++ b/devel/bmake/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.66 2014/02/16 08:55:22 ryoon Exp $
+# $NetBSD: Makefile,v 1.67 2014/03/14 21:59:34 ryoon Exp $
-DISTNAME= bmake-20140214
+DISTNAME= bmake-20140314
CATEGORIES= devel
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/devel/bmake/files/dir.h b/devel/bmake/files/dir.h
index 71d54f2df69..d6919cad4bf 100644
--- a/devel/bmake/files/dir.h
+++ b/devel/bmake/files/dir.h
@@ -1,4 +1,4 @@
-/* $NetBSD: dir.h,v 1.3 2009/09/18 21:27:25 joerg Exp $ */
+/* $NetBSD: dir.h,v 1.4 2014/03/14 21:59:34 ryoon Exp $ */
/*
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -75,8 +75,8 @@
/* dir.h --
*/
-#ifndef _DIR
-#define _DIR
+#ifndef _DIR_H
+#define _DIR_H
typedef struct Path {
char *name; /* Name of directory */
@@ -105,4 +105,4 @@ void Dir_PrintPath(Lst);
void Dir_Destroy(void *);
void * Dir_CopyDir(void *);
-#endif /* _DIR */
+#endif /* _DIR_H */
diff --git a/devel/bmake/files/machine.sh b/devel/bmake/files/machine.sh
index fdd577ce161..fcf2c2c9ea2 100755
--- a/devel/bmake/files/machine.sh
+++ b/devel/bmake/files/machine.sh
@@ -2,7 +2,7 @@
# derrived from /etc/rc_d/os.sh
# RCSid:
-# $Id: machine.sh,v 1.9 2013/09/08 16:32:14 ryoon Exp $
+# $Id: machine.sh,v 1.10 2014/03/14 21:59:34 ryoon Exp $
#
# @(#) Copyright (c) 1994-2002 Simon J. Gerraty
#
@@ -93,6 +93,11 @@ GNU/kFreeBSD)
FreeMiNT)
MACHINE_ARCH=m68k
;;
+SCO_SV)
+ OSREL=`uname -v`
+ OSMAJOR=`IFS=.; set $OSREL; echo $1`
+ MACHINE_ARCH=`uname -m`
+ ;;
esac
MACHINE=${MACHINE:-$OS$OSMAJOR}
diff --git a/devel/bmake/files/make.h b/devel/bmake/files/make.h
index aede918a4d8..e6f2d727db0 100644
--- a/devel/bmake/files/make.h
+++ b/devel/bmake/files/make.h
@@ -1,4 +1,4 @@
-/* $NetBSD: make.h,v 1.6 2011/06/18 22:39:46 bsiegert Exp $ */
+/* $NetBSD: make.h,v 1.7 2014/03/14 21:59:34 ryoon Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -98,6 +98,17 @@
#include <unistd.h>
#include <sys/cdefs.h>
+/*
+ * SCO OpenServer 5.0.7/3.2 has no MAXPATHLEN, but it has PATH_MAX (256).
+ * in limits.h. PATH_MAX is defined alternatively under non-OpenServer OS,
+ * and it is used in dirname.c of bmake.
+ */
+#if !defined(MAXPATHLEN)
+#if defined(_SCO_DS)
+#define MAXPATHLEN 1024
+#endif
+#endif
+
#if !defined(__GNUC_PREREQ__)
#if defined(__GNUC__)
#define __GNUC_PREREQ__(x, y) \
diff --git a/devel/bmake/files/os.sh b/devel/bmake/files/os.sh
index 4cfb463e8a2..1f78f8f9ea5 100644
--- a/devel/bmake/files/os.sh
+++ b/devel/bmake/files/os.sh
@@ -17,7 +17,7 @@
# Simon J. Gerraty <sjg@crufty.net>
# RCSid:
-# $Id: os.sh,v 1.9 2013/09/08 16:32:14 ryoon Exp $
+# $Id: os.sh,v 1.10 2014/03/14 21:59:34 ryoon Exp $
#
# @(#) Copyright (c) 1994 Simon J. Gerraty
#
@@ -201,6 +201,11 @@ GNU/kFreeBSD)
FreeMiNT)
MACHINE_ARCH=m68k
;;
+SCO_SV)
+ OSREL=`uname -v`
+ OSMAJOR=`IFS=.; set $OSREL; echo $1`
+ MACHINE_ARCH=`uname -m`
+ ;;
esac
HOSTNAME=${HOSTNAME:-`( hostname ) 2>/dev/null`}