Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2003 17:35:53 +0800
From:      leafy <leafy@leafy.idv.tw>
To:        freebsd-java@freebsd.org
Subject:   [PATCH] jdk14/Makefile to include src.zip
Message-ID:  <20030710093553.GA73474@chihiro.leafy.idv.tw>

next in thread | raw e-mail | index | archive | help
--- Makefile.orig       Thu Jul 10 14:48:18 2003
+++ Makefile    Thu Jul 10 17:33:54 2003
@@ -137,6 +137,8 @@
        @${ECHO_MSG} "Please use \`make -DNODEBUG' if you don't want to"
        @${ECHO_MSG} "install libraries and binaries with debugging support."
        @${ECHO_MSG}
+       @${ECHO_MSG} "Please use \`make WITH_SRC=yes' if you want src.zip in"
+       @${ECHO_MSG} "the install directory

 pre-patch:
        @cd ${WRKDIR} &&  \
@@ -173,8 +175,10 @@
 post-build:
        @# XXX make sure that SwingSet2/resources does not exists
        @${RM} -rf ${JDKIMAGEDIR}/demo/jfc/SwingSet2/resources
+.if !defined(WITH_SRC)
        @# This file serves no purpose (in case of port)
        @${RM} -f ${JDKIMAGEDIR}/src.zip
+.endif

 .if !defined(NODEBUG)
 pre-install:


To install src.zip into the install directory, please use WITH_SRC=yes to 
the make argument.

Cheers,

Jiawei
-- 
"Without the userland, the kernel is useless."
               --inspired by The Tao of Programming



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030710093553.GA73474>