Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jul 2005 18:05:35 +0200
From:      Jose M Rodriguez <josemi@freebsd.jazztel.es>
To:        freebsd-gnome@freebsd.org
Cc:        "Scott T. Hildreth" <shild@sbcglobal.net>
Subject:   Re: /usr/ports/math/py-numeric
Message-ID:  <200507241805.36036.josemi@redesjm.local>
In-Reply-To: <1122220456.64964.4.camel@fbsd1.dyndns.org>
References:  <1122220456.64964.4.camel@fbsd1.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary-00=_Qx74CzUuPITxZOZ
Content-Type: text/plain;
  charset="iso-8859-13"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

El Domingo, 24 de Julio de 2005 17:54, Scott T. Hildreth escribi=F3:
> The patch failed,
>
> =3D=3D=3D>  Patching for py24-numeric-23.8
> =3D=3D=3D>  Applying FreeBSD patches for py24-numeric-23.8
> patch: **** can't cd to /usr/ports/math/py-numeric/work/numeric-23.8:
> Not a directory =3D> Patch patch-Src_umathmodule.c failed to apply
> cleanly.
> *** Error code 1
>
> ..so I temporary changed the work/Numeric-23.8 dir to lower case.
>
> After the patch,
>
> make fails
>
> fbsd1# make
> =3D=3D=3D>   py24-numeric-23.8 depends on file: /usr/local/bin/python -
> found =3D=3D=3D>  Configuring for py24-numeric-23.8
> cd: can't cd to /usr/ports/math/py-numeric/work/numeric-23.8
> *** Error code 2
>
>
> Where is this path being set?  Numeric-23.8 is not lower case, well
> the first letter.  Is this in the Mk dir?
>
>                                Thanks,
>                                     STH

I think there're enought PRs about this with a Fix, but I prefer the=20
attached one

=2D-
  josemi

--Boundary-00=_Qx74CzUuPITxZOZ
Content-Type: text/x-diff;
  charset="iso-8859-13";
  name="patch-py-numeric"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="patch-py-numeric"

Index: Makefile
===================================================================
RCS file: /home/cvs/freebsd/ports/math/py-numeric/Makefile,v
retrieving revision 1.45
diff -u -r1.45 Makefile
--- Makefile	22 Jul 2005 12:52:37 -0000	1.45
+++ Makefile	24 Jul 2005 16:02:25 -0000
@@ -12,7 +12,8 @@
 		${MASTER_SITE_SOURCEFORGE:S/$/:source/}
 MASTER_SITE_SUBDIR=	numpy/:source
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTFILES=	Numeric-${PORTVERSION}${EXTRACT_SUFX}:source \
+DISTNAME=	Numeric-${PORTVERSION}
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:source \
 		numpy.pdf:doc
 EXTRACT_ONLY=	Numeric-${PORTVERSION}${EXTRACT_SUFX}
 
@@ -35,7 +36,7 @@
 .endif
 
 post-extract:
-	@${CP} ${DISTDIR}/numpy.pdf ${WRKSRC}
+	@${CP} ${DISTDIR}/numpy.pdf ${WRKDIR}
 
 post-install:
 	@${MKDIR} ${EXAMPLESDIR}

--Boundary-00=_Qx74CzUuPITxZOZ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507241805.36036.josemi>