ports/56114: [patch] math/atlas CP problem
Edwin Groothuis
edwin at mavetju.org
Fri Aug 29 02:10:20 UTC 2003
>Number: 56114
>Category: ports
>Synopsis: [patch] math/atlas CP problem
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 28 19:10:18 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Edwin Groothuis
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Sun Aug 17 16:04:25 EST 2003 edwin at k7.mavetju:/usr/src/sys/compile/k7 i386
>Description:
When compiling math/atlas as non-root the cp in the do-build target
fails because the file to be copied to has 0444 as permissions.
>How-To-Repeat:
>Fix:
--- Makefile 8 Aug 2003 10:42:58 -0000 1.15
+++ Makefile 29 Aug 2003 01:02:42 -0000
@@ -61,7 +61,7 @@
(cd ${WRKSRC}; ${MAKE_ENV} ${MAKE} install arch=${NON_THREADED_ATLAS})
# (cd ${WRKSRC}; ${MAKE_ENV} ${MAKE} sanity_test arch=${NON_THREADED_ATLAS})
(cd ${WRKSRC}; ${MKDIR} tmp ; \
- ${CP} ${LOCALBASE}/lib/liblapack.a tmp ;\
+ ${CP} -f ${LOCALBASE}/lib/liblapack.a tmp ;\
cd tmp ;\
ar x liblapack.a ;\
ar x ../lib/${NON_THREADED_ATLAS}/liblapack.a ;\
@@ -76,7 +76,7 @@
(cd ${WRKSRC}; ${MAKE_ENV} ${MAKE} install arch=${THREADED_ATLAS})
# (cd ${WRKSRC}; ${MAKE_ENV} ${MAKE} sanity_test arch=${THREADED_ATLAS})
(cd ${WRKSRC}; ${MKDIR} tmp2 ; \
- ${CP} ${LOCALBASE}/lib/liblapack.a tmp2 ;\
+ ${CP} -f ${LOCALBASE}/lib/liblapack.a tmp2 ;\
cd tmp2 ;\
ar x liblapack.a ;\
ar x ../lib/${THREADED_ATLAS}/liblapack.a ;\
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list