summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2014-03-14 22:09:04 +0000
committerryoon <ryoon@pkgsrc.org>2014-03-14 22:09:04 +0000
commitf7122def1d070a11d98304d6919c9b75f678a2f4 (patch)
treedbe1e97f8347824f2471220bbff936dbd4c0ba89 /pkgtools/pkg_install
parentcdd2e4eda3b25371c3fc1039d0d7359661cb5711 (diff)
downloadpkgsrc-f7122def1d070a11d98304d6919c9b75f678a2f4.tar.gz
Fix build under SCO OpenServer 5.0.7/3.2
Diffstat (limited to 'pkgtools/pkg_install')
-rw-r--r--pkgtools/pkg_install/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile
index 766dc11fec6..04d6b897f27 100644
--- a/pkgtools/pkg_install/Makefile
+++ b/pkgtools/pkg_install/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.202 2014/03/03 03:30:54 obache Exp $
+# $NetBSD: Makefile,v 1.203 2014/03/14 22:09:04 ryoon Exp $
# Notes to package maintainers:
#
@@ -53,6 +53,12 @@ USE_NATIVE_GCC= yes
.include "../../mk/bsd.prefs.mk"
+.if ${OS_VARIANT} == "SCOOSR5"
+# SCO OpenServer 5.0.7/3.2's strings.h defines strcasecmp with
+# "unsigned size_t". We cannot use -Werror for net/libfetch.
+MAKE_FLAGS+= NOGCCERROR=yes
+.endif
+
.if defined(_PKGSRC_BARRIER) && empty(USE_CROSS_COMPILE:M[yY][eE][sS])
PKG_ADD_CMD= ${WRKSRC}/add/pkg_add
PKG_CREATE_CMD= ${WRKSRC}/create/pkg_create