[QA] dev-java/hp-jdk-bin: Fix global scope use calls, #566530
authorMichał Górny <mgorny@gentoo.org>
Sun, 6 Dec 2015 20:34:03 +0000 (21:34 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 6 Dec 2015 21:55:14 +0000 (22:55 +0100)
dev-java/hp-jdk-bin/hp-jdk-bin-1.6.0.05.ebuild

index 9baf695820c51d24e1d4ac20c64708765d924ba4..3a64550503aed0bddf0ba7df7c2fa1413d1650cb 100644 (file)
@@ -38,13 +38,13 @@ SRC_URI="
 
 S=${WORKDIR}
 
-# not for metadata use:
-use hppa-hpux   && JDK_DIST=${PA_JDK_DIST}
-use ia64-hpux   && JDK_DIST=${IA_JDK_DIST}
-#use hppa64-hpux && JDK_DIST=${PA_JDK_DIST}
-#use ia64w-hpux  && JDK_DIST=${IA_JDK_DIST}
-
 pkg_nofetch() {
+       # not for metadata use:
+       use hppa-hpux   && JDK_DIST=${PA_JDK_DIST}
+       use ia64-hpux   && JDK_DIST=${IA_JDK_DIST}
+       #use hppa64-hpux && JDK_DIST=${PA_JDK_DIST}
+       #use ia64w-hpux  && JDK_DIST=${IA_JDK_DIST}
+
        einfo "Due to license restrictions, we cannot redistribute or fetch the distfiles."
        einfo "Please visit"
        einfo "    ${DOWNLOADPAGE}"