freebsd-ports/devel/charva/files/patch-build.xml
Alex Dupre 45d49c3531 CHARVA is a Java framework for presenting a "graphical" user interface,
composed of elements such as windows, dialogs, menus, textfields and
buttons, on a traditional character-cell ASCII terminal.
It has an API based on that of "Swing" (a.k.a. the Java Foundation Classes).

WWW: http://www.pitman.co.za/projects/charva/
2006-12-12 09:38:14 +00:00

26 lines
1 KiB
XML

--- build.xml.orig Sun Sep 10 22:10:16 2006
+++ build.xml Tue Dec 12 08:37:44 2006
@@ -90,6 +90,7 @@
<property name="src.home" value="${basedir}/java/src"/>
<property name="test.home" value="${basedir}/test"/>
<property name="c.home" value="${basedir}/c"/>
+ <property name="os.type" value="freebsd"/>
<!-- ==================== Compilation Control Options ==================== -->
@@ -189,14 +190,8 @@
description="Compile the JNI shared library">
<mkdir dir="${c.home}/lib"/>
- <input
- message="Enter the operating system type: "
- validargs="aix,beos,freebsd,gcj,hpux,linux,mac_osx,solaris,win32"
- addproperty="os.type"
- />
-
<echo>Compiling the shared library using "Makefile.${os.type}.txt"</echo>
- <exec executable="make"
+ <exec executable="gmake"
dir="${c.home}/src"
output="${c.home}/lib/make.out.txt"
failonerror="true">