From 5d93b3b69b735c05e9296dd80bfa975c629b6794 Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 19 Aug 2004 16:55:31 +0000 Subject: Fix patch-aa so gp installs under IRIX. Addresses PR#26647. Patch supplied by Georg Schwarz. --- biology/gp/distinfo | 4 +-- biology/gp/patches/patch-aa | 73 +++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 73 insertions(+), 4 deletions(-) (limited to 'biology') diff --git a/biology/gp/distinfo b/biology/gp/distinfo index 193686b86b7..ebd02b68c33 100644 --- a/biology/gp/distinfo +++ b/biology/gp/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2003/09/26 03:30:00 jschauma Exp $ +$NetBSD: distinfo,v 1.2 2004/08/19 16:55:31 ben Exp $ SHA1 (gp-0.26.tgz) = 18107463df9bb33d12cc0f0fc6a6f17985492666 Size (gp-0.26.tgz) = 141159 bytes -SHA1 (patch-aa) = 2c3078fe296c281162f5ea9bca7773cdbdda9577 +SHA1 (patch-aa) = ac1ca42cacc6631a298861a87029599d8e6ef2ac SHA1 (patch-ab) = ce6ec76011f18a9a86b8c65ba5541848e298e27a diff --git a/biology/gp/patches/patch-aa b/biology/gp/patches/patch-aa index 3544d8ba74f..ab6ad6d69f0 100644 --- a/biology/gp/patches/patch-aa +++ b/biology/gp/patches/patch-aa @@ -1,6 +1,6 @@ -$NetBSD: patch-aa,v 1.1.1.1 2003/09/26 03:30:00 jschauma Exp $ +$NetBSD: patch-aa,v 1.2 2004/08/19 16:55:31 ben Exp $ ---- Makefile.orig Thu May 17 13:27:07 2001 +--- Makefile.orig Thu May 17 12:27:07 2001 +++ Makefile @@ -5,20 +5,20 @@ ###################################################################### @@ -35,3 +35,72 @@ $NetBSD: patch-aa,v 1.1.1.1 2003/09/26 03:30:00 jschauma Exp $ # documentation. # If you want to install documents automagically, type: +@@ -67,16 +67,16 @@ clean: + -cd src/ ; rm $(PROGRAMS) core + + install: all +- @if [ ! -O "$(BINDIR)" ] ; then \ +- echo "File $(BINDIR) doesn't belong to you!" ; exit 1 ; fi ++# @if [ ! -O "$(BINDIR)" ] ; then \ ++# echo "File $(BINDIR) doesn't belong to you!" ; exit 1 ; fi + @cd src ; cp $(PROGRAMS) $(BINDIR) + +- @if [ ! -O "$(MANDIR)" ] ; then \ +- echo "File $(MANDIR) doesn't belong to you!" ; exit 1 ; fi ++# @if [ ! -O "$(MANDIR)" ] ; then \ ++# echo "File $(MANDIR) doesn't belong to you!" ; exit 1 ; fi + @cd man1 ; cp $(MANUALS) $(MANDIR)/man1 + +- @if [ ! -O "$(DATADIR)" ] ; then \ +- echo "File $(DATADIR) doesn't belong to you!" ; exit 1 ; fi ++# @if [ ! -O "$(DATADIR)" ] ; then \ ++# echo "File $(DATADIR) doesn't belong to you!" ; exit 1 ; fi + -cd $(DATADIR) ; mkdir genpak ; + @cd data ; cp -i $(DATAFILES) $(DATADIR)/genpak + +@@ -99,8 +99,8 @@ filelist: + echo "$(DATADIR)/genpak/"$$i >> FILES.TXT ; done + + docs: +- @if [ ! -O "$(TREE)" ] ; \ +- then echo "File $(TREE) doesn't belong to you!" ; exit 1 ; fi ; \ ++# @if [ ! -O "$(TREE)" ] ; \ ++# then echo "File $(TREE) doesn't belong to you!" ; exit 1 ; fi ; \ + if [ ! -e $(DOCDIR) ] ; \ + then mkdir $(DOCDIR) ; fi ; \ + if [ ! -e $(DOCDIR)/gp ] ; then \ +@@ -110,15 +110,15 @@ docs: + + uninstall: + +- @if [ ! -O "$(BINDIR)" ] ; \ +- then echo "Directory $(BINDIR) doesn't belong to you!" ; \ +- exit 1 ; fi ++# @if [ ! -O "$(BINDIR)" ] ; \ ++# then echo "Directory $(BINDIR) doesn't belong to you!" ; \ ++# exit 1 ; fi + @echo Removing programs... + @cd $(BINDIR) ; rm -f $(PROGRAMS) + +- @if [ ! -O "$(MANDIR)" ] ; \ +- then echo "Directory $(MANDIR) doesn't belong to you!" ; \ +- exit 1 ; fi ++# @if [ ! -O "$(MANDIR)" ] ; \ ++# then echo "Directory $(MANDIR) doesn't belong to you!" ; \ ++# exit 1 ; fi + + @echo Removing manuals... + @cd $(MANDIR)/man1 ; rm -f $(MANUALS) +@@ -127,9 +127,9 @@ uninstall: + @echo Are you sure you really want to remove this data? '(yes/no) ' + @read ANSWER ; if [ $ANSWER != "yes" ] ; then \ + echo OK, leaving $(DATADIR)/genpak untouched ; else \ +- if [ ! -O "$(DATADIR)" ] ; \ +- then echo "Directory $(DATADIR) doesn\'t belong to you!" ; \ +- exit 1 ; fi ; \ ++# if [ ! -O "$(DATADIR)" ] ; \ ++# then echo "Directory $(DATADIR) doesn\'t belong to you!" ; \ ++# exit 1 ; fi ; \ + cd $(DATADIR)/genpak ; rm -f $(DATAFILES) ; fi + -cd $(DATADIR) ; rmdir genpak + @echo -- cgit v1.2.3