summaryrefslogtreecommitdiff
path: root/lang/sun-jre7/Makefile
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2014-07-26 00:06:50 +0000
committerryoon <ryoon@pkgsrc.org>2014-07-26 00:06:50 +0000
commit51a53d707fdefcafceb5908255b29ef7e8868a9d (patch)
tree3497e53c1ee6b1ae2d01c2eb03f895e87535927c /lang/sun-jre7/Makefile
parent9bacb837a434179c6444cead85adba0705e30350 (diff)
downloadpkgsrc-51a53d707fdefcafceb5908255b29ef7e8868a9d.tar.gz
For emul-distinfo, always include jce distfile.
Diffstat (limited to 'lang/sun-jre7/Makefile')
-rw-r--r--lang/sun-jre7/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/sun-jre7/Makefile b/lang/sun-jre7/Makefile
index f16495dd2f6..140b31366c9 100644
--- a/lang/sun-jre7/Makefile
+++ b/lang/sun-jre7/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2014/03/02 09:53:41 obache Exp $
+# $NetBSD: Makefile,v 1.22 2014/07/26 00:06:50 ryoon Exp $
# Note: Regen distinfo with PKG_OPTIONS.sun-jre7+=sun-jre-jce
# Note: Update DOWNLOAD_NAME when you update the JRE version
@@ -53,8 +53,10 @@ PKG_SUPPORTED_OPTIONS= sun-jre-jce
PLIST_SRC= PLIST.${DIST_OS}-${EMUL_ARCH}
PLIST_VARS+= jce native
-.if !empty(PKG_OPTIONS:Msun-jre-jce)
+.if !empty(PKG_OPTIONS:Msun-jre-jce) || make(distinfo)
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} UnlimitedJCEPolicyJDK7.zip
+.endif
+.if !empty(PKG_OPTIONS:Msun-jre-jce)
PLIST.jce= yes
FETCH_MESSAGE+= ""
FETCH_MESSAGE+= "As sun-jre-jce is enabled UnlimitedJCEPolicyJDK7.zip is also needed"