Make jam define the $OS variable properly. From Josh Elsasser

ok steven
This commit is contained in:
ckuethe 2007-04-07 03:49:39 +00:00
parent 1cb81b0287
commit 15aac4904a
2 changed files with 4 additions and 3 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.4 2006/04/29 15:35:47 naddy Exp $
# $OpenBSD: Makefile,v 1.5 2007/04/07 03:49:39 ckuethe Exp $
COMMENT= "build utility like make"
DISTNAME= jam-2.5
PKGNAME= ${DISTNAME}p0
CATEGORIES= devel
HOMEPAGE= http://www.perforce.com/jam/jam.html

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-jam_h,v 1.2 2006/04/29 15:35:47 naddy Exp $
$OpenBSD: patch-jam_h,v 1.3 2007/04/07 03:49:40 ckuethe Exp $
--- jam.h.orig Fri Apr 21 17:09:04 2006
+++ jam.h Fri Apr 21 17:12:06 2006
@@ -290,6 +290,11 @@
@ -7,7 +7,7 @@ $OpenBSD: patch-jam_h,v 1.2 2006/04/29 15:35:47 naddy Exp $
# endif
+# ifdef __OpenBSD__
+# define unix
+# define OS_MINOR "OS=OPENBSD"
+# define OSMINOR "OS=OPENBSD"
+# define OS_OPENBSD
+# endif
# ifdef __QNX__