summaryrefslogtreecommitdiff
path: root/archivers/bsdtar
diff options
context:
space:
mode:
authorryoon <ryoon>2014-07-18 11:08:29 +0000
committerryoon <ryoon>2014-07-18 11:08:29 +0000
commitf7db4a96aedf929538dfea74cb096dd0dac2315c (patch)
treea86d3b1fd4c199502f094bef0afbe8020a178886 /archivers/bsdtar
parentd16575821d88f5973c49e0c7489cf39b283b6578 (diff)
downloadpkgsrc-f7db4a96aedf929538dfea74cb096dd0dac2315c.tar.gz
Fix SCO OpenServer 5.0.7/3.2 build.
Diffstat (limited to 'archivers/bsdtar')
-rw-r--r--archivers/bsdtar/Makefile8
1 files changed, 7 insertions, 1 deletions
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