summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2002-12-05 10:57:46 +0000
committerabs <abs@pkgsrc.org>2002-12-05 10:57:46 +0000
commitce281bb5b98cace02eb7547e3711a774b2466863 (patch)
tree4d1452f0527f204ce90760b80f44911f981e1b97 /math
parentffe3a39483e6338325dfe69c96f4a1ba34a957d9 (diff)
downloadpkgsrc-ce281bb5b98cace02eb7547e3711a774b2466863.tar.gz
Update xlife to 5.0nb1:
Set -DLIFEDIR in EXTRA_DEFINES not CCOPTIONS, to permit optmisation flags to be passed in CCOPTIONS.
Diffstat (limited to 'math')
-rw-r--r--math/xlife/Makefile3
-rw-r--r--math/xlife/distinfo4
-rw-r--r--math/xlife/patches/patch-aa13
3 files changed, 11 insertions, 9 deletions
diff --git a/math/xlife/Makefile b/math/xlife/Makefile
index 6f460a1600e..9d248898016 100644
--- a/math/xlife/Makefile
+++ b/math/xlife/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/12/31 21:32:56 fredb Exp $
+# $NetBSD: Makefile,v 1.2 2002/12/05 10:57:46 abs Exp $
#
DISTNAME= xlife-5.0
+PKGNAME= ${DISTNAME}nb1
CATEGORIES= math games
MASTER_SITES= http://www.tuxedo.org/~esr/
diff --git a/math/xlife/distinfo b/math/xlife/distinfo
index cfe44078cf0..895689f04d9 100644
--- a/math/xlife/distinfo
+++ b/math/xlife/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/12/31 21:32:56 fredb Exp $
+$NetBSD: distinfo,v 1.2 2002/12/05 10:57:46 abs Exp $
SHA1 (xlife-5.0.tar.gz) = 168edb2c8bdeb1689fea82c56db76e85aeeed43e
Size (xlife-5.0.tar.gz) = 214220 bytes
-SHA1 (patch-aa) = 32eb1bf5067b6d7c81995c14eaca81e206e3ea73
+SHA1 (patch-aa) = a1797c733efa564b361f299650ea521987635feb
SHA1 (patch-ab) = 891c098845652ad9f172b3693cdf416685e9a960
diff --git a/math/xlife/patches/patch-aa b/math/xlife/patches/patch-aa
index 254d421620c..d1aef84eef5 100644
--- a/math/xlife/patches/patch-aa
+++ b/math/xlife/patches/patch-aa
@@ -1,19 +1,20 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/12/31 21:32:56 fredb Exp $
+$NetBSD: patch-aa,v 1.2 2002/12/05 10:57:47 abs Exp $
---- Imakefile.orig Thu May 25 07:49:40 1995
+--- Imakefile.orig Thu May 25 13:49:40 1995
+++ Imakefile
@@ -4,8 +4,9 @@
PROGRAMS = xlife lifeconv collect lifesearch lifesearchdumb
-XLIFEPATSDIR = /usr/local/lib/xlife/
+-CCOPTIONS=-DLIFEDIR=\"$(XLIFEPATSDIR)\"
+XLIFEPATSDIR = ProjectRoot/share/xlife/
- CCOPTIONS=-DLIFEDIR=\"$(XLIFEPATSDIR)\"
-+CURSES_LIB=-lcurses -ltermcap
++EXTRA_DEFINES = -DLIFEDIR=\"$(XLIFEPATSDIR)\"
++CURSES_LIB = -lcurses -ltermcap
SRCS1 = \
cell.c\
-@@ -85,8 +86,8 @@
+@@ -85,8 +86,8 @@ AllTarget($(PROGRAMS))
ComplexProgramTarget_1(xlife, $(XLIB),)
ComplexProgramTarget_2(lifeconv,,)
ComplexProgramTarget_3(collect,,)
@@ -24,7 +25,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/12/31 21:32:56 fredb Exp $
install.patterns:
@case '${MFLAGS}' in *[i]*) set +e;; esac; \
-@@ -99,12 +100,6 @@
+@@ -99,12 +100,6 @@ install.patterns:
# 9x16 font. This is a useful property --- try to preserve it.
help.h: help.text
sed <help.text -e '/\\[^n]/s//\\&/g' -e '/.*/s//"&",/' >help.h