pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/41309: mk/java-vm.mk requires small "yes" of USE_JAVA2



>Number:         41309
>Category:       pkg
>Synopsis:       mk/java-vm.mk requires small "yes" of USE_JAVA2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 30 15:10:00 +0000 2009
>Originator:     Ryo HAYASAKA
>Release:        NetBSD 5.99.11, pkgsrc-current
>Organization:
Japan Advanced Institute of Science and Technology (JAIST)
>Environment:
System: NetBSD bonnie.jaist.ac.jp 5.99.11 NetBSD 5.99.11 (MONOLITHIC) #71: Mon 
Apr 27 18:10:10 JST 2009 
root%bonnie.jaist.ac.jp@localhost:/usr/src/sys/arch/i386/compile/MONOLITHIC i386
Architecture: i386
Machine: i386
>Description:
mk/java-vm.mk requires small "yes" of USE_JAVA2, not capital "YES."  For
example, devel/ltsa fails to build:

$ make
WARNING: [license.mk] Every package should define a LICENSE.
ERROR: This package has set PKG_FAIL_REASON:
ERROR: no acceptable JVM found
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/ltsa
        
>How-To-Repeat:
        
>Fix:
I've greped pkgsrc, and devel/ltsa and wip/PPower4 use capital letters.

Index: Makefile
===================================================================
RCS file: /usr/cvsup/pkgsrc/devel/ltsa/Makefile,v
retrieving revision 1.8
diff -d -p -u -r1.8 Makefile
--- Makefile    26 May 2008 02:13:17 -0000      1.8
+++ Makefile    30 Apr 2009 15:05:48 -0000
@@ -16,7 +16,7 @@ COMMENT=      Labelled Transition System Anal
 PKG_DESTDIR_SUPPORT=   user-destdir

 NO_CONFIGURE=          YES
-USE_JAVA2=             YES
+USE_JAVA2=             yes
 USE_TOOLS+=            pax

 INSTALLATION_DIRS=     bin

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc-wip/wip/PPower4/Makefile,v
retrieving revision 1.8
diff -d -p -u -r1.8 Makefile
--- Makefile    19 May 2006 16:51:13 -0000      1.8
+++ Makefile    30 Apr 2009 15:06:36 -0000
@@ -14,7 +14,7 @@ BUILD_DEPENDS+=       unzip-[0-9]*:../../archi

 # This requires Java 1.2 or better
 USE_JAVA=      run
-USE_JAVA2=     YES
+USE_JAVA2=     yes
 TEX_ACCEPTED=  teTeX1 teTeX2 teTeX3

 NO_CONFIGURE=  YES
        



Home | Main Index | Thread Index | Old Index