[PATCH] jdk14/Makefile to include src.zip

leafy leafy at leafy.idv.tw
Thu Jul 10 02:35:58 PDT 2003


--- 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



More information about the freebsd-java mailing list