summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2015-06-04 17:21:06 +0000
committerryoon <ryoon@pkgsrc.org>2015-06-04 17:21:06 +0000
commit7b5d410eabedc7d074c4bf5103cee720280fc838 (patch)
tree221696889f49f6414cff9c774cf1f1be296535b5 /sysutils
parent0462c113956d58541bc14db3eb2efaddf0d1ec64 (diff)
downloadpkgsrc-7b5d410eabedc7d074c4bf5103cee720280fc838.tar.gz
Fix build under Solaris/x86_64 11.2.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/bsdinstall/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysutils/bsdinstall/Makefile b/sysutils/bsdinstall/Makefile
index d112fa47eb7..ddb5aafca3c 100644
--- a/sysutils/bsdinstall/Makefile
+++ b/sysutils/bsdinstall/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2015/04/02 23:03:31 jperkin Exp $
+# $NetBSD: Makefile,v 1.4 2015/06/04 17:21:06 ryoon Exp $
DISTNAME= bsdinstall-20130905
CATEGORIES= sysutils
@@ -22,4 +22,9 @@ do-extract:
CPPFLAGS+= -D_PATH_DEVNULL=\"/dev/null\"
CPPFLAGS+= -DTARGET_STRIP=\"${TOOLS_PLATFORM.strip:Q}\"
+.include "../../mk/bsd.prefs.mk"
+.if !empty(MACHINE_PLATFORM:MSunOS-5.11-*)
+MAKE_ENV+= NOGCCERROR=yes
+.endif
+
.include "../../mk/bsd.pkg.mk"