aboutsummaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>1997-12-24 07:24:22 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>1997-12-24 07:24:22 +0000
commit742d411eeda4caca998d1f751fe4eaccbaabd05f (patch)
tree08316c70883ff5d95f6a9cb180083a3b9722e03e /biology
parentdab61dff141cf6f3c73d292a0b3d51f7c627db07 (diff)
downloadports-742d411eeda4caca998d1f751fe4eaccbaabd05f.tar.gz
ports-742d411eeda4caca998d1f751fe4eaccbaabd05f.zip
Notes
Diffstat (limited to 'biology')
-rw-r--r--biology/babel/Makefile4
-rw-r--r--biology/babel/files/patch-ab10
-rw-r--r--biology/babel/pkg-message6
3 files changed, 14 insertions, 6 deletions
diff --git a/biology/babel/Makefile b/biology/babel/Makefile
index c6346cd588a3..26a96190fcc4 100644
--- a/biology/babel/Makefile
+++ b/biology/babel/Makefile
@@ -3,7 +3,7 @@
# Date created: Dec 4 1997
# Whom: frankch@waru.life.nthu.edu.tw
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1997/12/21 21:57:36 vanilla Exp $
#
DISTNAME= babel-1.6
@@ -14,6 +14,6 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= frankch@waru.life.nthu.edu.tw
post-install:
- @ ${CAT} ${PKGDIR}/INSTALL
+ @ ${CAT} ${PKGDIR}/MESSAGE
.include <bsd.port.mk>
diff --git a/biology/babel/files/patch-ab b/biology/babel/files/patch-ab
index 4770277b67e8..a8017dc3e65b 100644
--- a/biology/babel/files/patch-ab
+++ b/biology/babel/files/patch-ab
@@ -1,5 +1,5 @@
---- menus.c.orig Thu Dec 4 20:20:28 1997
-+++ menus.c Thu Dec 4 20:21:46 1997
+--- menus.c.orig Tue Jan 21 23:52:36 1997
++++ menus.c Mon Dec 22 14:29:37 1997
@@ -63,9 +63,9 @@
}
}
@@ -26,12 +26,14 @@
if (strlen(OutputKeywords) < 1)
strcpy(OutputKeywords,"KEYWORDS GO HERE");
}
-@@ -167,7 +167,7 @@
+@@ -167,8 +167,8 @@
while (done == FALSE)
{
printf("Choice : ");
- gets(choice_string);
+- for (i = 0; i < (int) strlen(choice_string); i++)
+ fgets(choice_string, 99, stdin);
- for (i = 0; i < (int) strlen(choice_string); i++)
++ for (i = 0; i < ((int) strlen(choice_string) - 1) ; i++)
{
if (!isdigit(choice_string[i]))
+ choice = 0;
diff --git a/biology/babel/pkg-message b/biology/babel/pkg-message
new file mode 100644
index 000000000000..b5109108d996
--- /dev/null
+++ b/biology/babel/pkg-message
@@ -0,0 +1,6 @@
+*********************************************************
+* Please set the env variable BABEL_DIR to *
+* /usr/local/share/babel before running babel. *
+* For example, put the next line in your .cshrc file: *
+* setenv BABEL_DIR /usr/loacl/share/babel *
+*********************************************************