aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2006-11-11 23:31:09 +0800
committersem <sem@FreeBSD.org>2006-11-11 23:31:09 +0800
commit4fa338e4fb39439bbca8def8fe5e823f64850972 (patch)
tree4bfaf2cda01e4d57d39113dc0e381a7dede90a64 /net
parent3c1880e8e23ca102083daf82031bbb4c5d231fa9 (diff)
downloadfreebsd-ports-gnome-4fa338e4fb39439bbca8def8fe5e823f64850972.tar.gz
freebsd-ports-gnome-4fa338e4fb39439bbca8def8fe5e823f64850972.tar.zst
freebsd-ports-gnome-4fa338e4fb39439bbca8def8fe5e823f64850972.zip
- Add a work around for build cluster
Reported by: kris mail
Diffstat (limited to 'net')
-rw-r--r--net/jakarta-commons-net/Makefile6
-rw-r--r--net/jakarta-commons-net/files/patch-build.xml11
2 files changed, 16 insertions, 1 deletions
diff --git a/net/jakarta-commons-net/Makefile b/net/jakarta-commons-net/Makefile
index b8bcaa27537e..41101f466cd7 100644
--- a/net/jakarta-commons-net/Makefile
+++ b/net/jakarta-commons-net/Makefile
@@ -28,8 +28,12 @@ USE_ANT= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAKE_ARGS= -cp ${JAVALIBDIR}/junit.jar -Dlibdir=${JAVALIBDIR} -Dnoget=""
MAKE_ENV+= LANG=C
-ALL_TARGET= dist
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
+.if defined(PACKAGE_BUILDING)
+ALL_TARGET= dist
+.else
+ALL_TARGET= compile test jar dist
+.endif
.if !defined(NOPORTDOCS)
PORTDOCS= LICENSE.txt NOTICE.txt api
diff --git a/net/jakarta-commons-net/files/patch-build.xml b/net/jakarta-commons-net/files/patch-build.xml
new file mode 100644
index 000000000000..d20eae4b6931
--- /dev/null
+++ b/net/jakarta-commons-net/files/patch-build.xml
@@ -0,0 +1,11 @@
+--- build.xml.orig Sat Nov 11 17:57:29 2006
++++ build.xml Sat Nov 11 17:58:32 2006
+@@ -58,7 +58,7 @@
+ </fileset>
+ </copy>
+ </target>
+- <target name="jar" description="o Create the jar" depends="compile,test">
++ <target name="jar" description="o Create the jar" depends="compile">
+ <jar jarfile="${defaulttargetdir}/${final.name}.jar">
+ <fileset dir="${classesdir}">
+ <exclude name="**/examples/**"/>