freebsd-ports/devel/charva/files/patch-build.xml
Mathieu Arnold 7ae7b018cc With the power of USES=dos2unix, get rid of most patches and files
with CRLF.

While there, run make makepatch, rename patches to use the new scheme,
and various fixes.

With hat:	portmgr
Sponsored by:	Absolight
2016-06-20 16:23:28 +00:00

26 lines
995 B
XML

--- build.xml.orig 2016-06-20 12:40:44 UTC
+++ build.xml
@@ -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">