summaryrefslogtreecommitdiff
path: root/lang/openjdk8/Makefile
diff options
context:
space:
mode:
authortnn <tnn>2015-03-02 14:27:38 +0000
committertnn <tnn>2015-03-02 14:27:38 +0000
commitb81478fb1a8c9c57a88445668c32d92a22a19579 (patch)
treeedc1bb7edfe77961c03465b49e607eb06ef73e93 /lang/openjdk8/Makefile
parent79beddf5bfc91739c1d7c2c8d18afa09ad40ba4a (diff)
downloadpkgsrc-b81478fb1a8c9c57a88445668c32d92a22a19579.tar.gz
fix conditional build of libsctp for platforms that don't support sctp
Diffstat (limited to 'lang/openjdk8/Makefile')
-rw-r--r--lang/openjdk8/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/lang/openjdk8/Makefile b/lang/openjdk8/Makefile
index 72b171eb430..05e644883b4 100644
--- a/lang/openjdk8/Makefile
+++ b/lang/openjdk8/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2015/03/02 04:26:40 tnn Exp $
+# $NetBSD: Makefile,v 1.11 2015/03/02 14:27:38 tnn Exp $
DISTNAME= openjdk-1.8.31-20150207
PKGNAME= openjdk8-1.8.31
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_LOCAL:=openjdk7/}
EXTRACT_SUFX= .tar.xz
@@ -124,6 +124,11 @@ SUBST_FILES.fontpaths+= jdk/src/solaris/native/sun/awt/fontpath.c
SUBST_SED.fontpaths= -e 's|@PREFIX@|${PREFIX}|g'
SUBST_SED.fontpaths+= -e 's|@BUILDLINK_PREFIX.fontconfig@|${BUILDLINK_PREFIX.fontconfig}|g'
+PLIST_VARS+= sctp
+.if ${OPSYS} == "FreeBSD"
+PLIST.sctp= yes
+.endif
+
post-extract:
# These libs are bundled w/ the netbsd-7 bootstrap to facilitate building with
# MKLLVM=yes / MKGCC=no. Nuke them from bootstrap if they are present in base.