pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/octave-current make sure that we don't end up wit...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7bb4d095dfed
branches: trunk
changeset: 490494:7bb4d095dfed
user: dmcmahill <dmcmahill%pkgsrc.org@localhost>
date: Sun Mar 13 02:52:10 2005 +0000
description:
make sure that we don't end up with the buildlink directory as part
of the full path to sed in the installed mkoctfile otherwise we
end up with a broken mkoctfile.
diffstat:
math/octave-current/Makefile | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r 81d29fa8724b -r 7bb4d095dfed math/octave-current/Makefile
--- a/math/octave-current/Makefile Sun Mar 13 02:18:48 2005 +0000
+++ b/math/octave-current/Makefile Sun Mar 13 02:52:10 2005 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.42 2005/02/24 03:20:57 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.43 2005/03/13 02:52:10 dmcmahill Exp $
DISTNAME= octave-${OCTAVE_VER}
PKGNAME= octave-current-${OCTAVE_VER}
+PKGREVISION= 1
CATEGORIES= math
MASTER_SITES= ftp://ftp.che.wisc.edu/pub/octave/ \
ftp://ftp.eos.hokudai.ac.jp/pub/GNU/misc/octave/ \
@@ -57,13 +58,16 @@
# substitute in the real path to various bits of the toolchain because
# mkoctfile will be used potentially by users and it needs to point
-# at the same compilers as were used in building octave
+# at the same compilers as were used in building octave. We also
+# fix up the path to sed otherwise we end up with the buildlink directory
+# in mkoctfile
post-build:
${MV} ${WRKSRC}/mkoctfile ${WRKSRC}/mkoctfile.bak
${SED} \
-e 's;"${CC}";"${CCPATH}";g' \
-e 's;"${CXX}";"${CXXPATH}";g' \
-e 's;"${FC}";"${FCPATH}";g' \
+ -e 's@^:[ \t]*\$${SED=.*@: \$$\{SED="${SED}"\}@g' \
${WRKSRC}/mkoctfile.bak > ${WRKSRC}/mkoctfile
${CHMOD} a+x ${WRKSRC}/mkoctfile
Home |
Main Index |
Thread Index |
Old Index