Bug 58902 - java/jdk14: \n printed in make fetch message
Summary: java/jdk14: \n printed in make fetch message
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alexey Zelkin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-03 23:10 UTC by Linh Pham
Modified: 2003-11-10 12:18 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Linh Pham 2003-11-03 23:10:09 UTC
When running "make fetch" in java/jdk14 without the patch files nor the
source tarball, a message is displayed with "\n" instead of actual newline
characters. Below is an example of the output:

===>  jdk-1.4.1p4 : The source distribution exists on your system, but due to\n licensing restrictions you still need to download the\n patchset, bsd-jdk14-patches-4.tar.gz, from\n http://www.eyesbeyond.com/freebsddom/java/jdk14.html.\n Please place the patchset in /usr/ports/distfiles.\n.

Fix: 

I don't have a diff or a coded fix, but maybe replacing the section starting
with:

ECHO_MSG=/usr/bin/printf
IGNORE= :\n\

with an actual printf statement or maybe have separate pkg-message-1[ab]
files that contain the text and cat it.
How-To-Repeat: Run "make fetch" in java/jdk14 without the required tarballs and/or patches.

Makefile version 1.65.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2003-11-04 09:08:42 UTC
Responsible Changed
From-To: freebsd-ports-bugs->phantom

Over to maintainer.
Comment 2 Alexey Zelkin freebsd_committer freebsd_triage 2003-11-10 12:18:02 UTC
State Changed
From-To: open->closed

Fixed in rev 1.66 of ports/java/jdk14/Makefile.  Thanks for report!