diff options
author | marino <marino> | 2011-12-11 11:57:08 +0000 |
---|---|---|
committer | marino <marino> | 2011-12-11 11:57:08 +0000 |
commit | 594694757ed9a007d55ae1e050a2c8ad85d641cd (patch) | |
tree | fc6f1aac6e083a72d1b770ceb54756d1fbacc8ae /devel/tet3 | |
parent | 39c619f6a3c08ed68cb52ecd58273f4f208ac7e2 (diff) | |
download | pkgsrc-594694757ed9a007d55ae1e050a2c8ad85d641cd.tar.gz |
devel/tet3: Multiple platform fix
Tet3 has a korn shell script in it, but this was never accounted for
previously. NetBSD has /bin/ksh so they never noticed the error. However,
the script in question didn't have the shebang at the first line because
it was a template and REPLACE_KSH failed. As a result, the template is
patched to allow REPLACE_KSH to work. This fix should apply to all
platforms that don't have /usr/ksh.
Diffstat (limited to 'devel/tet3')
-rw-r--r-- | devel/tet3/Makefile | 7 | ||||
-rw-r--r-- | devel/tet3/distinfo | 3 | ||||
-rw-r--r-- | devel/tet3/patches/patch-src_scripts_tet_start.sh | 14 |
3 files changed, 20 insertions, 4 deletions
diff --git a/devel/tet3/Makefile b/devel/tet3/Makefile index 100104466fc..8dae374eddb 100644 --- a/devel/tet3/Makefile +++ b/devel/tet3/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.17 2011/03/07 05:37:41 obache Exp $ +# $NetBSD: Makefile,v 1.18 2011/12/11 11:57:08 marino Exp $ DISTNAME= tet3.7-unsup.src PKGNAME= tet3-3.7 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= devel MASTER_SITES= http://tetworks.opengroup.org/tet/ EXTRACT_SUFX= .tgz @@ -21,12 +21,13 @@ CONFIGURE_ARGS+= -t inet BUILD_DIRS= src USE_LANGUAGES= c c++ -USE_TOOLS+= pax perl:run +USE_TOOLS+= pax perl:run ksh:run REPLACE_PERL= contrib/suite/src/common.pl contrib/NTperldemo/ts/tc1.pl REPLACE_PERL+= contrib/NTperldemo/ts/tc2.pl contrib/NTperldemo/ts/tc3.pl REPLACE_PERL+= contrib/tetreport/TetJournal.pl contrib/tetreport/TetReports.pl REPLACE_PERL+= contrib/tetreport/tetreport.pl contrib/templates/perl-api.pl REPLACE_PERL+= src/perl/api.pl +REPLACE_KSH+= src/scripts/tet_start.sh MAKE_FILE= makefile .include "../../mk/bsd.prefs.mk" diff --git a/devel/tet3/distinfo b/devel/tet3/distinfo index 0102a414165..2ac63073867 100644 --- a/devel/tet3/distinfo +++ b/devel/tet3/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2010/07/12 02:46:37 dholland Exp $ +$NetBSD: distinfo,v 1.7 2011/12/11 11:57:08 marino Exp $ SHA1 (tet3.7-unsup.src.tgz) = 43a3720d0472b6d3261b1b1cd7fa5192a2911b73 RMD160 (tet3.7-unsup.src.tgz) = 7e266fc77e2a01ece7cd1b041d3ee28426d1bd3d @@ -13,3 +13,4 @@ SHA1 (patch-ai) = 256d4903ec91f4a4ffe147accb5d7e80740e6c46 SHA1 (patch-aj) = 28bd55c8a55d60cbf4e2b2456c488090782babc5 SHA1 (patch-ak) = a907e0492849aec9a23eef2167aecb92e4ca589a SHA1 (patch-al) = 840feab081b56a1f44f3c5094f5962b9700350e5 +SHA1 (patch-src_scripts_tet_start.sh) = 3b3ae5806c88b3f795a51ed1b057df4134f1961c diff --git a/devel/tet3/patches/patch-src_scripts_tet_start.sh b/devel/tet3/patches/patch-src_scripts_tet_start.sh new file mode 100644 index 00000000000..a7bf1c2023f --- /dev/null +++ b/devel/tet3/patches/patch-src_scripts_tet_start.sh @@ -0,0 +1,14 @@ +$NetBSD: patch-src_scripts_tet_start.sh,v 1.1 2011/12/11 11:57:09 marino Exp $ + +--- src/scripts/tet_start.sh.orig 2011-12-11 11:02:59.580983000 +0000 ++++ src/scripts/tet_start.sh +@@ -1,9 +1,4 @@ +-# -START-UNIX-ONLY- + #!/bin/ksh +-# -END-UNIX-ONLY- +-# -START-WIN32-ONLY- +-: use the MKS shell +-# -END-WIN32-ONLY- + # + # SCCS: @(#)tet_start.sh 1.1 (98/08/28) + # |