Bug 100440 - [maintainer-update] lang/alisp
Summary: [maintainer-update] lang/alisp
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-17 16:10 UTC by Nils M Holm
Modified: 2006-07-17 20:14 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nils M Holm 2006-07-17 16:10:13 UTC
- Changed core language (see README)
- Added KANREN-like logic programming extensions (examples/amk)
- Added M-expression compiler (examples/mexprc)
- Added loads of example programs (examples/misc)
- Looking up default image in $PREFIX now rather than in /usr/local

Fix: 

-- 
Nils M Holm <nmh@t3x.org> -- http://www.t3x.org/nmh/--0RGC23R3igm3s9rBzdnnWNS3bJraeMZGu1TAE2CX30kS98t3
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

diff -ru lang/alisp-old/Makefile lang/alisp/Makefile
--- lang/alisp-old/Makefile	Wed Jun 14 04:36:58 2006
+++ lang/alisp/Makefile	Mon Jul 17 16:29:01 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	alisp
-PORTVERSION=	20060602
+PORTVERSION=	20060717
 CATEGORIES=	lang devel lisp
 MASTER_SITES=	http://www.t3x.org/files/
 
@@ -20,5 +20,10 @@
 MAKE_ENV+=	BINOWN=${BINOWN} \
 		BINGRP=${BINGRP} \
 		PREFIX=${PREFIX}
+
+USE_REINPLACE=	yes
+
+post-patch:
+	${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/alisp.h
 
 .include <bsd.port.mk>
diff -ru lang/alisp-old/distinfo lang/alisp/distinfo
--- lang/alisp-old/distinfo	Wed Jun 14 04:36:58 2006
+++ lang/alisp/distinfo	Mon Jul 17 16:29:01 2006
@@ -1,3 +1,3 @@
-MD5 (alisp-20060602.tar.gz) = eb8987e3aaca0799dfdcda42d2255636
-SIZE (alisp-20060602.tar.gz) = 47150
-SHA256 (alisp-20060602.tar.gz) = fa5818d026c1dd28f270ced840645ce18db73264e27d45da18452b7ad4e512cf
+MD5 (alisp-20060717.tar.gz) = 8a5f2d9920ce6f789ab9fadc965e0b2d
+SIZE (alisp-20060717.tar.gz) = 68871
+SHA256 (alisp-20060717.tar.gz) = 5a4a26ec16646fb3e135e28f1927abe25fb711d467b76e8de487bbb1c690a26f
diff -ru lang/alisp-old/pkg-plist lang/alisp/pkg-plist
--- lang/alisp-old/pkg-plist	Wed Jun 14 04:36:58 2006
+++ lang/alisp/pkg-plist	Mon Jul 17 16:29:01 2006
@@ -4,12 +4,59 @@
 include/alisp.h
 %%DATADIR%%/LICENSE
 %%DATADIR%%/alisp-image
+%%DATADIR%%/amk-tools.l
+%%DATADIR%%/amk.l
+%%DATADIR%%/any.l
 %%DATADIR%%/base.l
+%%DATADIR%%/bottles.l
+%%DATADIR%%/bubblesort.l
+%%DATADIR%%/count.l
+%%DATADIR%%/depth.l
+%%DATADIR%%/every.l
+%%DATADIR%%/fact.l
+%%DATADIR%%/filter.l
+%%DATADIR%%/hanoi.l
+%%DATADIR%%/headp.l
+%%DATADIR%%/hyper.l
 %%DATADIR%%/imath.l
+%%DATADIR%%/infix.l
+%%DATADIR%%/insert.l
+%%DATADIR%%/intersection.l
+%%DATADIR%%/iota.l
+%%DATADIR%%/isort.l
 %%DATADIR%%/iter.l
+%%DATADIR%%/last.l
 %%DATADIR%%/lisp.l
+%%DATADIR%%/lvrename.l
+%%DATADIR%%/m-append.l
+%%DATADIR%%/m-fac.l
+%%DATADIR%%/m-hanoi.l
+%%DATADIR%%/m-queens.l
+%%DATADIR%%/mexprc.l
 %%DATADIR%%/nmath.l
+%%DATADIR%%/nth.l
+%%DATADIR%%/o.l
+%%DATADIR%%/orderedp.l
+%%DATADIR%%/pair.l
+%%DATADIR%%/prefix.l
+%%DATADIR%%/product.l
+%%DATADIR%%/prolog-db.l
+%%DATADIR%%/prolog.l
+%%DATADIR%%/qsort.l
+%%DATADIR%%/queens.l
+%%DATADIR%%/remove.l
 %%DATADIR%%/rmath.l
+%%DATADIR%%/some.l
+%%DATADIR%%/sublis.l
+%%DATADIR%%/subst.l
+%%DATADIR%%/sum.l
+%%DATADIR%%/tailp.l
+%%DATADIR%%/union.l
+%%DATADIR%%/unique.l
+%%DATADIR%%/unlet.l
+%%DATADIR%%/unsort.l
+%%DATADIR%%/xeval.l
+%%DATADIR%%/zebra.l
 %%DOCSDIR%%/alisp.txt
 @dirrm %%DATADIR%%
 @dirrm %%DOCSDIR%%
Comment 1 Nils M Holm 2006-07-17 18:52:52 UTC
On Mon, Jul 17, 2006 at 09:35:55PM +0000, Roman Bogorodskiy wrote:
> You should add -fPIC to CFLAGS to make it compile on amd64.

Done so and updated the distfile. The new distinfo is:

MD5 (alisp-20060717.tar.gz) = 5deccf952fb7e02e25b12e08286e01c6
SIZE(alisp-20060717.tar.gz) = 70006
SHA256 (alisp-20060717.tar.gz) = 0ea35c7756ee8980af1ed54cb3504c8b2e844a7e4096a83b6b978be0fb82b03e

Thanks, Nils

-- 
Nils M Holm <nmh@t3x.org> -- http://www.t3x.org/nmh/
Comment 2 Nils M Holm 2006-07-17 19:44:07 UTC
On Mon, Jul 17, 2006 at 10:21:23PM +0000, Roman Bogorodskiy wrote:
> Could you please send a complete updated patch?

Here it is.

diff -ru lang/alisp-old/Makefile lang/alisp/Makefile
--- lang/alisp-old/Makefile	Wed Jun 14 04:36:58 2006
+++ lang/alisp/Makefile	Mon Jul 17 16:29:01 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	alisp
-PORTVERSION=	20060602
+PORTVERSION=	20060717
 CATEGORIES=	lang devel lisp
 MASTER_SITES=	http://www.t3x.org/files/
 
@@ -20,5 +20,10 @@
 MAKE_ENV+=	BINOWN=${BINOWN} \
 		BINGRP=${BINGRP} \
 		PREFIX=${PREFIX}
+
+USE_REINPLACE=	yes
+
+post-patch:
+	${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/alisp.h
 
 .include <bsd.port.mk>
diff -ru lang/alisp-old/distinfo lang/alisp/distinfo
--- lang/alisp-old/distinfo	Wed Jun 14 04:36:58 2006
+++ lang/alisp/distinfo	Mon Jul 17 16:29:01 2006
@@ -1,3 +1,3 @@
-MD5 (alisp-20060602.tar.gz) = eb8987e3aaca0799dfdcda42d2255636
-SIZE (alisp-20060602.tar.gz) = 47150
-SHA256 (alisp-20060602.tar.gz) = fa5818d026c1dd28f270ced840645ce18db73264e27d45da18452b7ad4e512cf
+MD5 (alisp-20060717.tar.gz) = 5deccf952fb7e02e25b12e08286e01c6
+SIZE (alisp-20060717.tar.gz) = 70006
+SHA256 (alisp-20060717.tar.gz) = 0ea35c7756ee8980af1ed54cb3504c8b2e844a7e4096a83b6b978be0fb82b03e
diff -ru lang/alisp-old/pkg-plist lang/alisp/pkg-plist
--- lang/alisp-old/pkg-plist	Wed Jun 14 04:36:58 2006
+++ lang/alisp/pkg-plist	Mon Jul 17 16:29:01 2006
@@ -4,12 +4,59 @@
 include/alisp.h
 %%DATADIR%%/LICENSE
 %%DATADIR%%/alisp-image
+%%DATADIR%%/amk-tools.l
+%%DATADIR%%/amk.l
+%%DATADIR%%/any.l
 %%DATADIR%%/base.l
+%%DATADIR%%/bottles.l
+%%DATADIR%%/bubblesort.l
+%%DATADIR%%/count.l
+%%DATADIR%%/depth.l
+%%DATADIR%%/every.l
+%%DATADIR%%/fact.l
+%%DATADIR%%/filter.l
+%%DATADIR%%/hanoi.l
+%%DATADIR%%/headp.l
+%%DATADIR%%/hyper.l
 %%DATADIR%%/imath.l
+%%DATADIR%%/infix.l
+%%DATADIR%%/insert.l
+%%DATADIR%%/intersection.l
+%%DATADIR%%/iota.l
+%%DATADIR%%/isort.l
 %%DATADIR%%/iter.l
+%%DATADIR%%/last.l
 %%DATADIR%%/lisp.l
+%%DATADIR%%/lvrename.l
+%%DATADIR%%/m-append.l
+%%DATADIR%%/m-fac.l
+%%DATADIR%%/m-hanoi.l
+%%DATADIR%%/m-queens.l
+%%DATADIR%%/mexprc.l
 %%DATADIR%%/nmath.l
+%%DATADIR%%/nth.l
+%%DATADIR%%/o.l
+%%DATADIR%%/orderedp.l
+%%DATADIR%%/pair.l
+%%DATADIR%%/prefix.l
+%%DATADIR%%/product.l
+%%DATADIR%%/prolog-db.l
+%%DATADIR%%/prolog.l
+%%DATADIR%%/qsort.l
+%%DATADIR%%/queens.l
+%%DATADIR%%/remove.l
 %%DATADIR%%/rmath.l
+%%DATADIR%%/some.l
+%%DATADIR%%/sublis.l
+%%DATADIR%%/subst.l
+%%DATADIR%%/sum.l
+%%DATADIR%%/tailp.l
+%%DATADIR%%/union.l
+%%DATADIR%%/unique.l
+%%DATADIR%%/unlet.l
+%%DATADIR%%/unsort.l
+%%DATADIR%%/xeval.l
+%%DATADIR%%/zebra.l
 %%DOCSDIR%%/alisp.txt
 @dirrm %%DATADIR%%
 @dirrm %%DOCSDIR%%

-- 
Nils M Holm <nmh@t3x.org> -- http://www.t3x.org/nmh/
Comment 3 Roman Bogorodskiy freebsd_committer freebsd_triage 2006-07-17 20:14:24 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 4 Roman Bogorodskiy freebsd_committer freebsd_triage 2006-07-17 22:35:55 UTC
Hi,

You should add -fPIC to CFLAGS to make it compile on amd64.

Roman Bogorodskiy
Comment 5 Roman Bogorodskiy freebsd_committer freebsd_triage 2006-07-17 23:21:23 UTC
  Nils M Holm wrote:

> Done so and updated the distfile. The new distinfo is:
> 
> MD5 (alisp-20060717.tar.gz) = 5deccf952fb7e02e25b12e08286e01c6
> SIZE(alisp-20060717.tar.gz) = 70006
> SHA256 (alisp-20060717.tar.gz) = 0ea35c7756ee8980af1ed54cb3504c8b2e844a7e4096a83b6b978be0fb82b03e


Could you please send a complete updated patch?

Roman Bogorodskiy