Re: Please review wip/fop

Francois Tigeot <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.review
Message-ID <[email protected]>
On Fri, Jan 14, 2011 at 11:35:49AM +0100, Thomas Klausner wrote:
> On Thu, Jan 13, 2011 at 10:03:25PM +0100, Francois Tigeot wrote:
> > I was aware of SUBST_SED and replacement strings; but didn't know I could
> > use something as simple as a predefined JAVA_HOME variable.
> > I've seen nothing about this feature in the pkgsrc guide.
> 
> The source for the guide is in pkgsrc/doc/guide/, please send a patch
> :)

Here's the patch.

I gave up trying to build the framework used to process the docbook
sources; I can't be sure the patch will result in a correct xml file.

-- 
Francois Tigeot

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl

_______________________________________________
pkgsrc-wip-review mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-review
patch-fixes.xml (text/plain, 711 B)
$NetBSD$

--- fixes.xml.orig	2011-01-14 22:40:34 +0000
+++ fixes.xml
@@ -1048,6 +1048,12 @@ pre-configure:
       implementation, <quote>1.4</quote> insists on versions 1.4 or
       above, and <quote>1.5</quote> only accepts versions 1.5 or
       above. This variable is not set by default.</para></listitem>
+
+      <listitem><para><varname>PKG_JAVA_HOME</varname> is
+      automatically set to the runtime location of the used Java
+      implementation dependency. It may be used to set JAVA_HOME to a
+      good value if the program needs this variable to be defined.
+      </para></listitem>
       <!-- XXX: describe PKG_JVM_DEFAULT and PKG_JVMS_ACCEPTED, but
 	   not here -->
     </itemizedlist>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.