Date: Mon, 1 Nov 1999 01:19:21 +0100 (CET) From: saper@system.pl To: FreeBSD-gnats-submit@freebsd.org Subject: ports/14635: Update port: lang/intercal to version 0.19 Message-ID: <199911010019.BAA56197@saperski.system.pl>
next in thread | raw e-mail | index | archive | help
>Number: 14635 >Category: ports >Synopsis: Update port lang/intercal to version 0.19 >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Oct 31 16:20:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Marcin Cieślak >Release: FreeBSD 3.3-STABLE i386 >Organization: SYSTEM Internet Provider >Environment: FreeBSD saperski.system.pl 3.3-STABLE FreeBSD 3.3-STABLE #3: Tue Sep 21 23:35:31 CEST 1999 root@saperski.system.pl:/usr/src/sys/compile/SAPERSKI i386 >Description: Eric S. Raymond has released a 0.19 release of this wonderful programming language converter to C. >How-To-Repeat: >Fix: diff -urN intercal.orig/Makefile intercal/Makefile --- intercal.orig/Makefile Mon Nov 1 00:52:02 1999 +++ intercal/Makefile Mon Nov 1 00:42:45 1999 @@ -1,12 +1,12 @@ # New ports collection makefile for: intercal -# Version required: 0.18 +# Version required: 0.19 # Date created: 20 March 1998 # Whom: Matthew Hunt <mph@freebsd.org> # # $FreeBSD: ports/lang/intercal/Makefile,v 1.3 1999/08/25 06:34:47 obrien Exp $ # -DISTNAME= intercal-0.18 +DISTNAME= intercal-0.19 CATEGORIES= lang MASTER_SITES= http://www.tuxedo.org/~esr/intercal/ diff -urN intercal.orig/files/md5 intercal/files/md5 --- intercal.orig/files/md5 Mon Nov 1 00:52:02 1999 +++ intercal/files/md5 Sun Oct 31 23:42:53 1999 @@ -1 +1 @@ -MD5 (intercal-0.18.tar.gz) = 7a96448747f224f5b768fd5c367547df +MD5 (intercal-0.19.tar.gz) = c4dc6489ca042d4a89eb8ea1e58d7122 diff -urN intercal.orig/patches/patch-aa intercal/patches/patch-aa --- intercal.orig/patches/patch-aa Mon Nov 1 00:52:02 1999 +++ intercal/patches/patch-aa Mon Nov 1 00:57:19 1999 @@ -1,21 +1,15 @@ ---- Makefile.orig Wed Apr 29 11:54:34 1998 -+++ Makefile Fri Dec 11 11:30:33 1998 -@@ -8,18 +8,19 @@ +--- Makefile.old Mon Nov 1 00:56:19 1999 ++++ Makefile Mon Nov 1 00:56:58 1999 +@@ -8,14 +8,14 @@ # all over creation behind your back. # (/dev/null may be another good choice :-)) --DVMT=~/WWW/intercal-0.18 -+#DVMT=~/WWW/intercal-0.18 - #DVMT=/usr/local --DVMT=/intercal-0.18 -+#DVMT=/intercal-0.18 -+DVMT=$(PREFIX) - - BINDIR = $(DVMT)/bin --INCDIR = $(DVMT)/lib --LIBDIR = $(DVMT)/lib -+INCDIR = $(DVMT)/share/intercal -+LIBDIR = $(DVMT)/lib/intercal +-BINDIR = /usr/bin +-INCDIR = /usr/include/intercal +-LIBDIR = /usr/share/intercal ++BINDIR = $(PREFIX)/bin ++INCDIR = $(PREFIX)/share/intercal ++LIBDIR = $(PREFIX)/lib/intercal #INCDIR = $(PWD) #LIBDIR = $(PWD) @@ -25,7 +19,7 @@ # DEBUG = -O # This version (0.18) is POSIX-compliant. You should only set the POSIX -@@ -29,18 +30,18 @@ +@@ -25,18 +25,19 @@ # POSIX = POSIX = -D_POSIX_SOURCE @@ -35,7 +29,7 @@ LDFLAGS = -CC = gcc -Wall -W -+# CC = gcc -Wall -W ++#CC = gcc -Wall -W # You can use lex or flex -#LEX = lex @@ -45,29 +39,27 @@ # You should use bison, because some yaccs won't work correctly -YACC = bison -y ++#YACC = bison -y +YACC = yacc CSOURCES = ick.y lexer.l feh.c lose.c fiddle.c perpetrate.c ISOURCES = cesspool.c arrgghh.c ick-wrap.c -@@ -61,7 +62,7 @@ - mv lex.yy.c lexer.c - - # Uncomment the following if using a stock lex --# LEXLIBS = -ll -+LEXLIBS = -ll - lextest: y.tab.h lexer.c ick.h lose.o - $(CC) -DMAIN lexer.c lose.o $(LEXLIBS) -o lextest - -@@ -78,9 +79,9 @@ +@@ -74,14 +75,10 @@ -ranlib libick.a install: all - cp ick $(BINDIR) +- -mkdir $(INCDIR) - cp lose.h abcess.h fiddle.h ick-wrap.c $(INCDIR) -- cp libick.a ../pit/lib/syslib.i ../pit/lib/syslib.?i $(LIBDIR) +- -mkdir $(LIBDIR) +- cp libick.a $(LIBDIR) +- (cd ../pit; cp *.i *.3i t_tet *.fft glider gun blinkers $(LIBDIR)) +- -mkdir $(LIBDIR)/lib +- (cd ../pit/lib; cp *.*i $(LIBDIR)/lib) + $(BSD_INSTALL_PROGRAM) ick $(BINDIR) + $(BSD_INSTALL_DATA) lose.h abcess.h fiddle.h ick-wrap.c $(INCDIR) + $(BSD_INSTALL_DATA) libick.a ../pit/lib/syslib.i ../pit/lib/syslib.?i $(LIBDIR) ++ clean: rm -f yacc.* y.tab.* y.output *~ *.[oa] lexer.c ick.c lextest ick diff -urN intercal.orig/patches/patch-ab intercal/patches/patch-ab --- intercal.orig/patches/patch-ab Mon Nov 1 00:52:02 1999 +++ intercal/patches/patch-ab Mon Nov 1 00:30:16 1999 @@ -1,12 +1,15 @@ ---- perpetrate.c.orig Fri Dec 11 11:32:40 1998 -+++ perpetrate.c Fri Dec 11 11:33:10 1998 -@@ -56,7 +56,9 @@ - extern int yyparse(void); - - /* getopt declaration */ -+#ifndef __FreeBSD__ - int getopt(int, char**, char*); -+#endif - - /* compilation options */ - bool compile_only; /* just compile into C, don't run the linker */ +*** perpetrate.c.old Fri Dec 18 04:59:39 1998 +--- perpetrate.c Mon Nov 1 00:29:16 1999 +*************** +*** 55,62 **** +--- 55,64 ---- + /* function created by yacc */ + extern int yyparse(void); + ++ #ifndef __FreeBSD__ + /* getopt declaration */ + int getopt(int, char**, char*); ++ #endif + + /* compilation options */ + bool compile_only; /* just compile into C, don't run the linker */ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911010019.BAA56197>