summaryrefslogtreecommitdiff
path: root/lang/openjdk7/patches/patch-jdk_make_com_sun_nio_Makefile
blob: 9798afbf30ae24a69f1ee4b5ee44a9e81a99f572 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-jdk_make_com_sun_nio_Makefile,v 1.1 2015/01/27 12:31:06 ryoon Exp $

* NetBSD has no SCTP support.

--- jdk/make/com/sun/nio/Makefile.orig	2015-01-26 15:20:56.000000000 +0000
+++ jdk/make/com/sun/nio/Makefile
@@ -29,8 +29,12 @@
 
 BUILDDIR = ../../..
 include $(BUILDDIR)/common/Defs.gmk
+
+# disable for NetBSD
+ifneq ($(OS_VENDOR), NetBSD)
 include $(BUILDDIR)/common/Subdirs.gmk
 SUBDIRS = sctp
+endif
 
 all build clean clobber::
 	$(SUBDIRS-loop)