Bug 33167 - post-configure in new tin Makefile broken
Summary: post-configure in new tin Makefile broken
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: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-25 11:40 UTC by Nils Holland
Modified: 2001-12-25 12:21 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 Nils Holland 2001-12-25 11:40:01 UTC
	The (today updated) tin 1.5.10 port will not build correctly. The make
	process stops at this point of the Makefile:


post-configure:
	(nm /usr/lib/libc.a | grep -q strcasestr) && \
		echo "#define HAVE_STRCASESTR 1" >> ${WRKSRC}/include/autoconf.h

	It gives an error message and doesn't want to go on at this point,
	which makes me believe that there's something wrong with the command
	being executed above

Fix: 

Deleting the (nm) line and *alway* echoing the HAVE_STRCASESTR to
	autoconf.h seems to give invalid references to STRCASESTR during
	the build. *Not* echoing it to autoconf.h seems to work fine. Now,
	I guess that the command that defines if HAVE_STRCASESTR should
	be echoed or not is broken somwhow...
How-To-Repeat: 	Try compiling tin-1.5.10
Comment 1 FUJISHIMA Satsuki freebsd_committer freebsd_triage 2001-12-25 12:21:32 UTC
State Changed
From-To: open->closed

port fixed. thanks for your report.