From f7db4a96aedf929538dfea74cb096dd0dac2315c Mon Sep 17 00:00:00 2001 From: ryoon Date: Fri, 18 Jul 2014 11:08:29 +0000 Subject: Fix SCO OpenServer 5.0.7/3.2 build. --- archivers/bsdtar/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'archivers/bsdtar') diff --git a/archivers/bsdtar/Makefile b/archivers/bsdtar/Makefile index 0fc7c953302..e30b48d76b1 100644 --- a/archivers/bsdtar/Makefile +++ b/archivers/bsdtar/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2013/06/13 21:36:46 jperkin Exp $ +# $NetBSD: Makefile,v 1.21 2014/07/18 11:08:29 ryoon Exp $ # DISTNAME= bsdtar-2.8.4 @@ -44,6 +44,12 @@ CONFIGURE_ARGS+= --enable-bsdtar=static --disable-cpio \ INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 +.include "../../mk/bsd.prefs.mk" +.if ${OS_VARIANT} == "SCOOSR5" +# SCO OpenServer 5.0.7/3.2 has windows.h, and configure expacts it for MS Windows. +CONFIGURE_ENV+= ac_cv_header_windows_h=no +.endif + do-extract: .if empty(USE_BUILTIN.bzip2:M[yY][eE][sS]) ${RUN}${CP} -R ${FILESDIR.bzip2} ${WRKDIR}/bzip2 -- cgit v1.2.3