summaryrefslogtreecommitdiff
path: root/benchmarks/lmbench
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2000-01-05 11:42:49 +0000
committeragc <agc@pkgsrc.org>2000-01-05 11:42:49 +0000
commit075de9d19211c7aa049493f3a71d57b6504a6835 (patch)
treea62eb62efedf7640630ef51b88f6f79ebba9dbc9 /benchmarks/lmbench
parent9ec80aea6a081d604cb0a4979d1f204db7450628 (diff)
downloadpkgsrc-075de9d19211c7aa049493f3a71d57b6504a6835.tar.gz
Make this install properly on Solaris.
Diffstat (limited to 'benchmarks/lmbench')
-rw-r--r--benchmarks/lmbench/Makefile5
-rwxr-xr-xbenchmarks/lmbench/scripts/do-install10
2 files changed, 8 insertions, 7 deletions
diff --git a/benchmarks/lmbench/Makefile b/benchmarks/lmbench/Makefile
index 98a8ef7b3f1..e482e947c61 100644
--- a/benchmarks/lmbench/Makefile
+++ b/benchmarks/lmbench/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 1999/12/28 04:26:18 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2000/01/05 11:42:49 agc Exp $
DISTNAME= lmbench-2alpha11
PKGNAME= lmbench-2.11a
@@ -26,7 +26,8 @@ post-configure:
@chmod 0755 ${WRKSRC}/scripts/lmbench
do-install:
- @${SETENV} PREFIX=${PREFIX} WRKSRC=${WRKSRC} ${SCRIPTDIR}/do-install
+ @${SETENV} PREFIX=${PREFIX} WRKSRC=${WRKSRC} \
+ INSTALL_PROGRAM=${INSTALL} ${SCRIPTDIR}/do-install
.include "../../mk/bsd.prefs.mk"
diff --git a/benchmarks/lmbench/scripts/do-install b/benchmarks/lmbench/scripts/do-install
index d895ca423a7..fbafa8bf4c4 100755
--- a/benchmarks/lmbench/scripts/do-install
+++ b/benchmarks/lmbench/scripts/do-install
@@ -12,19 +12,19 @@ MAN1="bargraph.1 graph.1"
mkdir -p $PREFIX/bin/lmbench
mkdir -p $PREFIX/share/lmbench
for files in $BINS; do
- /usr/bin/install -c -s -o bin -g bin -m 0755 bin/$OSDIR/$files $PREFIX/bin/lmbench
+ $INSTALL_PROGRAM -c -s -o bin -g bin -m 0755 bin/$OSDIR/$files $PREFIX/bin/lmbench
done
for files in $SCRIPTS; do
- /usr/bin/install -c -o bin -g bin -m 0755 scripts/$files $PREFIX/bin/lmbench
+ $INSTALL_PROGRAM -c -o bin -g bin -m 0755 scripts/$files $PREFIX/bin/lmbench
done
for files in $MAN1; do
- /usr/bin/install -c -o bin -g bin -m 0444 doc/$files $PREFIX/man/man1
+ $INSTALL_PROGRAM -c -o bin -g bin -m 0444 doc/$files $PREFIX/man/man1
done
for files in $MAN8; do
- /usr/bin/install -c -o bin -g bin -m 0444 doc/$files $PREFIX/man/man8
+ $INSTALL_PROGRAM -c -o bin -g bin -m 0444 doc/$files $PREFIX/man/man8
done
for files in $MAN3; do
- /usr/bin/install -c -o bin -g bin -m 0444 doc/$files $PREFIX/man/man3
+ $INSTALL_PROGRAM -c -o bin -g bin -m 0444 doc/$files $PREFIX/man/man3
done
cat <<EOF >$PREFIX/bin/run-lmbench
#!/bin/sh