py-numeric patch failure

Christopher Illies christopher.illies at molmed.ki.se
Sat Jul 23 12:48:36 GMT 2005


> => Checksum OK for Numeric-23.8.tar.gz.
> => Checksum OK for numpy.pdf.
> ===>  Patching for py24-numeric-23.8
> ===>  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
> => Patch patch-Src_umathmodule.c failed to apply cleanly.
> *** Error code 1
> 
> Stop in /usr/ports/math/py-numeric.
>
>
> extremely -current on thinkpad t41p
> 
> randy

I got the same error. The following patch fixed it for me.
Maintainer Cc'ed.

Christopher

-------------- next part --------------
--- Makefile.orig	Sat Jul 23 14:31:21 2005
+++ Makefile	Sat Jul 23 14:31:48 2005
@@ -15,6 +15,7 @@
 DISTFILES=	Numeric-${PORTVERSION}${EXTRACT_SUFX}:source \
 		numpy.pdf:doc
 EXTRACT_ONLY=	Numeric-${PORTVERSION}${EXTRACT_SUFX}
+WRKSRC=		work/Numeric-23.8
 
 MAINTAINER=	tg at FreeBSD.org
 COMMENT=	The Numeric Extension to Python
@@ -35,7 +36,7 @@
 .endif
 
 post-extract:
-	@${CP} ${DISTDIR}/numpy.pdf ${WRKSRC}
+	@${CP} ${DISTDIR}/numpy.pdf ${WRKDIR}
 
 post-install:
 	@${MKDIR} ${EXAMPLESDIR}


More information about the freebsd-ports mailing list