summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrueauf <frueauf>1998-10-14 08:31:17 +0000
committerfrueauf <frueauf>1998-10-14 08:31:17 +0000
commit8313bcfd442959e7841f0aac51eadf6699add53d (patch)
treebb5ebd63ab5ca868bbcce5d7ab0acc4de42cd66e
parent5545d3dfd2a5cb80cb6fbe44241f35eeece1d05a (diff)
downloadpkgsrc-8313bcfd442959e7841f0aac51eadf6699add53d.tar.gz
Don't just create foo, use ${WRKDIR}/foo instead for readonly pkgsrc.
-rw-r--r--parallel/pvm3/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/parallel/pvm3/Makefile b/parallel/pvm3/Makefile
index 717029df231..9d1af40c4b9 100644
--- a/parallel/pvm3/Makefile
+++ b/parallel/pvm3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $
+# $NetBSD: Makefile,v 1.2 1998/10/14 08:31:17 frueauf Exp $
DISTNAME= pvm3.4.beta6
PKGNAME= pvm-3.4.6
@@ -16,11 +16,11 @@ MAKE_ENV+= PVM_ROOT=${WRKSRC}
ALL_TARGET= all install
post-patch:
- @${MV} ${WRKSRC}/lib/pvm foo
- @${SED} -e 's@XXPKGXX@${LOCALBASE}@g' <foo > ${WRKSRC}/lib/pvm
+ @${MV} ${WRKSRC}/lib/pvm ${WRKDIR}/foo
+ @${SED} -e 's@XXPKGXX@${LOCALBASE}@g' < ${WRKDIR}/foo > ${WRKSRC}/lib/pvm
@${MV} ${WRKSRC}/lib/pvmd foo
- @${SED} -e 's@XXPKGXX@${LOCALBASE}@g' <foo > ${WRKSRC}/lib/pvmd
- @${RM} foo
+ @${SED} -e 's@XXPKGXX@${LOCALBASE}@g' < ${WRKDIR}/foo > ${WRKSRC}/lib/pvmd
+ @${RM} ${WRKDIR}/foo
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/NETBSD/* ${PREFIX}/bin