o fix a typo
o install example config files in the right location
This commit is contained in:
parent
bb934fd12f
commit
535985a4eb
12
devel/lam/patches/patch-etc_Makefile_in
Normal file
12
devel/lam/patches/patch-etc_Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-etc_Makefile_in,v 1.1 2001/04/13 22:16:08 todd Exp $
|
||||
--- etc/Makefile.in.orig Fri Apr 13 16:42:05 2001
|
||||
+++ etc/Makefile.in Fri Apr 13 16:42:39 2001
|
||||
@@ -33,7 +33,7 @@ bindir = @bindir@
|
||||
sbindir = @sbindir@
|
||||
libexecdir = @libexecdir@
|
||||
datadir = @datadir@
|
||||
-sysconfdir = @sysconfdir@
|
||||
+sysconfdir = ${prefix}/share/examples/lam
|
||||
sharedstatedir = @sharedstatedir@
|
||||
localstatedir = @localstatedir@
|
||||
libdir = @libdir@
|
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-mpi2c++_src_mpi2c++_Makefile_in,v 1.1 2001/04/13 20:29:16 todd Exp $
|
||||
--- mpi2c++/src/mpi2c++/Makefile.in.orig Fri Apr 13 13:53:32 2001
|
||||
+++ mpi2c++/src/mpi2c++/Makefile.in Fri Apr 13 13:53:51 2001
|
||||
$OpenBSD: patch-mpi2c++_src_mpi2c++_Makefile_in,v 1.2 2001/04/13 22:16:09 todd Exp $
|
||||
--- mpi2c++/src/mpi2c++/Makefile.in.orig Wed Apr 4 12:15:24 2001
|
||||
+++ mpi2c++/src/mpi2c++/Makefile.in Fri Apr 13 16:19:47 2001
|
||||
@@ -300,7 +300,7 @@ maintainer-clean-generic clean mostlycle
|
||||
install-exec-hook:
|
||||
(rm -f $(DESTDIR)$(includedir)/mpi++.h ; \
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: INSTALL,v 1.1 2001/04/13 20:29:16 todd Exp $
|
||||
# $OpenBSD: INSTALL,v 1.2 2001/04/13 22:16:10 todd Exp $
|
||||
#
|
||||
# Pre/post-installation setup of LAM
|
||||
|
||||
@ -12,9 +12,9 @@ do_post_install()
|
||||
for f in bhost.def bhost.lam conf.lam conf.otb helpfile; do
|
||||
file=/etc/lam-$f
|
||||
if [ -f $file ]; then
|
||||
existing="$existing $file"
|
||||
existing="$existing lam-$f"
|
||||
else
|
||||
install="$install $file"
|
||||
install="$install lam-$f"
|
||||
cp ${PREFIX}/share/examples/lam/lam-$f $file
|
||||
fi
|
||||
done
|
||||
@ -26,7 +26,7 @@ do_post_install()
|
||||
echo "| ${PREFIX}/share/examples/lam directory to /etc/"
|
||||
echo "| $install"
|
||||
fi
|
||||
if ![ X"${existing}" = X"" ]; then
|
||||
if ! [ X"${existing}" = X"" ]; then
|
||||
echo "| The following files were already present. Current"
|
||||
echo "| examples for this package are found in:"
|
||||
echo "| ${PREFIX}/share/examples/lam"
|
||||
|
Loading…
Reference in New Issue
Block a user