Bug 83915 - py-numeric fails to build properly due to naming error
Summary: py-numeric fails to build properly due to naming error
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: Thomas Gellekum
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-22 17:00 UTC by Brett Goulder
Modified: 2005-07-24 18:35 UTC (History)
0 users

See Also:


Attachments
file.diff (692 bytes, patch)
2005-07-22 17:00 UTC, Brett Goulder
no flags Details | Diff
py-numeric-Makefile.diff (528 bytes, patch)
2005-07-22 19:59 UTC, Soeren Straarup
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brett Goulder 2005-07-22 17:00:33 UTC
When updating py-numeric to 23.8, it will fail to build due to the source directory's name (includes a capitol N instead of lower case), it will also fail to install because numpy.pdf is being referenced from the wrong directory.

Fix: Apply the below diff, which fixes the problem.
How-To-Repeat: 1. cd /usr/ports/math/py-numeric/
2. make install
Comment 1 Soeren Straarup 2005-07-22 19:39:29 UTC
On Fri, 22 Jul 2005, Brett Goulder wrote:

>
>> Number:         83915
>> Category:       ports
>> Synopsis:       py-numeric fails to build properly due to naming error
>> Confidential:   no
>> Severity:       serious
>> Priority:       medium
>> Responsible:    freebsd-ports-bugs
>> State:          open
>> Quarter:
>> Keywords:
>> Date-Required:
>> Class:          sw-bug
>> Submitter-Id:   current-users
>> Arrival-Date:   Fri Jul 22 16:00:33 GMT 2005
>> Closed-Date:
>> Last-Modified:
>> Originator:     Brett Goulder
>> Release:        5.4-STABLE
>> Organization:
> DCAF_Security
>> Environment:
> FreeBSD predatorbox 5.4-STABLE FreeBSD 5.4-STABLE #5: Wed Jul 20 16:24:20 EDT 2005     predatorfreak@predatorbox:/usr/obj/usr/src/sys/PREDATOR  i386
>> Description:
> When updating py-numeric to 23.8, it will fail to build due to the source directory's name (includes a capitol N instead of lower case), it will also fail to install because numpy.pdf is being referenced from the wrong directory.
>> How-To-Repeat:
> 1. cd /usr/ports/math/py-numeric/
> 2. make install
>> Fix:
> Apply the below diff, which fixes the problem.
>
> diff -Nurp /usr/ports/math/py-numeric/Makefile py-numeric/Makefile
> --- /usr/ports/math/py-numeric/Makefile	Fri Jul 22 08:52:37 2005
> +++ py-numeric/Makefile	Fri Jul 22 11:52:50 2005
> @@ -5,7 +5,7 @@
> # $FreeBSD: ports/math/py-numeric/Makefile,v 1.45 2005/07/22 12:52:37 tg Exp $
> #
>
> -PORTNAME=	numeric
> +PORTNAME=	Numeric
> PORTVERSION=	23.8
> CATEGORIES=	math python
> MASTER_SITES=	http://numeric.scipy.org/:doc \
> @@ -44,7 +44,7 @@ post-install:
> 	${INSTALL_DATA} ${WRKSRC}/Demo/NumTut/* ${EXAMPLESDIR}/NumTut
> .if !defined(NOPORTDOCS)
> 	@${MKDIR} ${DOCSDIR}
> -	${INSTALL_DATA} ${WRKDIR}/numpy.pdf ${DOCSDIR}
> +	${INSTALL_DATA} ${WRKSRC}/numpy.pdf ${DOCSDIR}
> .endif
>
> .include <bsd.port.post.mk>
>> Release-Note:
>> Audit-Trail:
>> Unformatted:
> _______________________________________________
> freebsd-ports-bugs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
> To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe@freebsd.org"
>

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 Soeren Straarup 2005-07-22 19:59:28 UTC
Yes .. i forgot to attach the diff.

No need to change ports name

Best regards Søren 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 3 Mark Linimon freebsd_committer freebsd_triage 2005-07-23 08:39:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->tg

Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=83915 

Adding to audit trail from misfiled PR ports/83944:

Date: Sat, 23 Jul 2005 20:36:49 +0900
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2005-07-24 18:35:00 UTC
State Changed
From-To: open->closed

Fixed!