diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2006-11-11 15:31:09 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2006-11-11 15:31:09 +0000 |
commit | 7a3ec1eef661d4465e991a9210f963f7d43f224b (patch) | |
tree | 809d6545e0f22163adeb1f4f76024496b0d43773 /net/jakarta-commons-net | |
parent | 8febb3035f21cd5cd6996cc789c065ad261a4b35 (diff) | |
download | ports-7a3ec1eef661d4465e991a9210f963f7d43f224b.tar.gz ports-7a3ec1eef661d4465e991a9210f963f7d43f224b.zip |
- Add a work around for build cluster
Reported by: kris mail
Notes
Notes:
svn path=/head/; revision=177056
Diffstat (limited to 'net/jakarta-commons-net')
-rw-r--r-- | net/jakarta-commons-net/Makefile | 6 | ||||
-rw-r--r-- | net/jakarta-commons-net/files/patch-build.xml | 11 |
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/**"/> |