From owner-freebsd-java@FreeBSD.ORG Thu Jul 10 02:35:58 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 603A737B401 for ; Thu, 10 Jul 2003 02:35:58 -0700 (PDT) Received: from seed.net.tw (sn14.seed.net.tw [139.175.54.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5291743F93 for ; Thu, 10 Jul 2003 02:35:57 -0700 (PDT) (envelope-from leafy@chihiro.leafy.idv.tw) Received: from [210.66.88.28] (port=54267 helo=chihiro.leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.14:2) id 19aXqJ-000KDS-LX for freebsd-java@freebsd.org; Thu, 10 Jul 2003 17:35:59 +0800 Received: from chihiro.leafy.idv.tw (nobody@localhost [127.0.0.1]) by chihiro.leafy.idv.tw (8.12.9/8.12.9) with ESMTP id h6A9ZsHa073489 for ; Thu, 10 Jul 2003 17:35:55 +0800 (CST) (envelope-from leafy@chihiro.leafy.idv.tw) Received: (from leafy@localhost) by chihiro.leafy.idv.tw (8.12.9/8.12.9/Submit) id h6A9ZsZi073488 for freebsd-java@freebsd.org; Thu, 10 Jul 2003 17:35:54 +0800 (CST) (envelope-from leafy) Date: Thu, 10 Jul 2003 17:35:53 +0800 From: leafy To: freebsd-java@freebsd.org Message-ID: <20030710093553.GA73474@chihiro.leafy.idv.tw> Mail-Followup-To: freebsd-java@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: [PATCH] jdk14/Makefile to include src.zip X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2003 09:35:58 -0000 --- 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