Bug 83985 - math/py-numeric build failure (patch included)
Summary: math/py-numeric build failure (patch included)
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-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-24 05:20 UTC by Conrad J. Sabatier
Modified: 2005-07-24 18:35 UTC (History)
1 user (show)

See Also:


Attachments
py24-numeric.diff (454 bytes, patch)
2005-07-24 05:20 UTC, Conrad J. Sabatier
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad J. Sabatier 2005-07-24 05:20:19 UTC
	Latest update to math/py-numeric fails in "make patch" due to
	mismatch between ${PORTNAME} and the extracted ${WRKSRC} 
	directory's name.

	Actually, there are two problems here:

	1) The source distfile doesn't extract to the default of 
	${WRKDIR}/${PORTNAME}-${PORTVERSION}, the difference being that
	the extracted ${WRKSRC} name is capitalized, while the port's name 
	is not.

	2) The extra (doc) distfile "numpy.pdf" is first being copied to
	${WRKSRC} in the post-extract target, but then the post-install 
	target tries to install it from ${WRKDIR} instead, resulting in a 
	"No such file or directory" error.

Fix: Diff attached below to correct both of the aforementioned problems
	in the port's Makefile.  There are, of course, two possible 
	solutions to problem (2) above: either adjust the post-extract 
	target to copy the PDF file to ${WRKDIR} instead of ${WRKSRC}, or 
	adjust the post-install target to install the file from ${WRKSRC} 
	instead of ${WRKDIR}.  In the patch below, I opted for the first 
	solution.
How-To-Repeat: 	cd ${PORTSDIR}/math/py-numeric; make install
Comment 1 Soeren Straarup 2005-07-24 07:51:07 UTC
This is similar to ports/83944

Best regards Soeren Straarup

Soeren Straarup   | aka OZ2DAK aka Xride
FreeBSD wannabe   | FreeBSD since 2.2.6-R
    'We wanted to believe. But the tools
     had been taken away..' Mulder
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2005-07-24 18:35:12 UTC
State Changed
From-To: open->closed

Fixed!