pkgsrc-Users archive

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

Re: How to require JRE 1.5 or 6?



On Mon, 14 Sep 2009 10:25:24 +0900, "OBATA Akio" <obache%netbsd.org@localhost> 
wrote:

> Does it not work as you expected?
> It seems that just PKG_JVM* checks in pkglint do not reflect the
> reality.

Here is the patch to sync with the reality. It works for me.

Index: files/makevars.map
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/pkglint/files/makevars.map,v
retrieving revision 1.198
diff -u -r1.198 makevars.map
--- files/makevars.map  9 Sep 2009 11:16:56 -0000       1.198
+++ files/makevars.map  15 Sep 2009 05:30:21 -0000
@@ -566,19 +566,19 @@
                                blackdown-jdk13                         \
                                jdk jdk14                               \
                                kaffe                                   \
-                               sun-jdk13 sun-jdk14 sun-jdk15           \
+                               sun-jdk13 sun-jdk14 sun-jdk15 sun-jdk6  \
                        } [$system]
 PKG_JVMS_ACCEPTED      List of {                                       \
                                blackdown-jdk13                         \
                                jdk jdk14                               \
                                kaffe                                   \
-                               sun-jdk13 sun-jdk14 sun-jdk15           \
+                               sun-jdk13 sun-jdk14 sun-jdk15 sun-jdk6  \
                        } [m:s,c:ds]
 PKG_JVM_DEFAULT                {                                               
\
                                blackdown-jdk13                         \
                                jdk jdk14                               \
                                kaffe                                   \
-                               sun-jdk13 sun-jdk14 sun-jdk15           \
+                               sun-jdk13 sun-jdk14 sun-jdk15 sun-jdk6  \
                        } [$user]
 PKG_LEGACY_OPTIONS     List of Option
 PKG_LIBTOOL            Pathname [m:s]


-- Yuji Yamano
Peace, unity, love and having fun!




Home | Main Index | Thread Index | Old Index