Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Mar 1999 10:16:00 -0500 (EST)
From:      tenser@hurricane.phys.psu.edu
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/10801: ports update, swi-pl.
Message-ID:  <19990326151600.526DC5B0B@hurricane.phys.psu.edu>

next in thread | raw e-mail | index | archive | help

>Number:         10801
>Category:       ports
>Synopsis:       An update of the swi-pl port follows.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 26 07:20:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Dan Cross
>Release:        FreeBSD 2.2.7-RELEASE i386
>Organization:
Penn State University
>Environment:

	This port has been verified to work on both 2.2.7-RELEASE
	and 3.0-RELEASE.  I'm sorry, but I don't have a 3.1-RELEASE
	or -STABLE system to work with at the moment.  :-(  However,
	I don't see why it shouldn't work on 3.1...

>Description:

	The old SWI-Prolog port was rather dated (being relative
	to version 2.8.3).  This is an update of that port to
	the current release, 3.2.5.  I tried to email Michael
	Butschky <butsch@computi.erols.com> to okay this with
	him, but that address bounced...  Anyway, I updated the
	``maintainer'' info in the Makefile to point to me,
	but I'm really not sure that that's appropriate; if Michael
	could be located, he should probably remain the maintainer.

>How-To-Repeat:

	This configures and builds correctly.  It also fixes some
	bugs with the old port, which preventing it from registering
	correctly without minor tweaks.

>Fix:
	

diff -ruN swi-pl.old/Makefile swi-pl/Makefile
--- swi-pl.old/Makefile	Fri Mar 26 10:08:34 1999
+++ swi-pl/Makefile	Fri Mar 26 10:07:45 1999
@@ -1,13 +1,13 @@
 # New ports collection makefile for: SWI-Prolog
-# Version required:		2.8.6
-# Date created:			10 August 1996
-# Whom:				Michael Butschky <butsch@computi.erols.com>
+# Version required:		3.2.5
+# Date created:			26 March 1999
+# Whom:				Dan Cross <tenser@spitfire.ecsel.psu.edu>
 #
 # $Id: Makefile,v 1.14 1999/03/11 21:47:12 scrappy Exp $
 #
 
-DISTNAME=	pl-2.8.6
-PKGNAME=	swi-pl-2.8.6
+DISTNAME=	pl-3.2.5
+PKGNAME=	swi-pl-3.2.5
 CATEGORIES=     lang
 MASTER_SITES=	ftp://swi.psy.uva.nl/pub/SWI-Prolog/
 
@@ -17,14 +17,14 @@
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/src
 GNU_CONFIGURE=	yes
-CONFIGURE_TARGET=	${MACHINE_ARCH}-freebsd
+CONFIGURE_ARGS=	--host=${ARCH}-freebsd
 STRIP=
 MAKE_FLAGS+=	CIFLAGS=-DRTLD_LAZY -f
-MAN1=		pl.1 chpl.1 plld.1
+MAN1=		pl.1 plrc.1 plld.1
 
 post-install:
-.for f in pl pl-bite chpl
-	@strip ${PREFIX}/lib/${DISTNAME}/bin/i386-freebsd/$f
+.for f in pl pl-bite plld plrc
+	@strip ${PREFIX}/lib/${DISTNAME}/bin/${ARCH}-freebsd/$f
 .endfor
 
 .include <bsd.port.mk>
diff -ruN swi-pl.old/files/md5 swi-pl/files/md5
--- swi-pl.old/files/md5	Sat May 17 08:24:33 1997
+++ swi-pl/files/md5	Tue Mar 23 14:52:43 1999
@@ -1 +1 @@
-MD5 (pl-2.8.6.tar.gz) = 19b82e8147fd049b233a558633bf1756
+MD5 (pl-3.2.5.tar.gz) = 315d054d9da17db525ec9bb844b9e80c
diff -ruN swi-pl.old/patches/patch-aa swi-pl/patches/patch-aa
--- swi-pl.old/patches/patch-aa	Sat May 17 08:24:34 1997
+++ swi-pl/patches/patch-aa	Tue Mar 23 15:03:27 1999
@@ -1,11 +1,27 @@
---- Makefile.in.orig	Wed May 14 17:52:28 1997
-+++ Makefile.in	Sat May 17 21:09:48 1997
-@@ -292,7 +292,7 @@
- 		-$(INSTALL_DATA) $(PLBASE)/man/$(PL).$(mansec) $(mandir)
- 		-$(INSTALL_DATA) $(PLBASE)/man/chpl.$(mansec) $(mandir)
- 		-$(INSTALL_DATA) $(PLBASE)/man/plld.$(mansec) $(mandir)
--		-$(INSTALL_DATA) $(PLBASE)/man/readline.$(lmansec) $(lmandir)
-+#		-$(INSTALL_DATA) $(PLBASE)/man/readline.$(lmansec) $(lmandir)
-  
+--- Makefile.in	1999/03/23 20:02:10	1.1
++++ Makefile.in	1999/03/23 20:02:47
+@@ -287,7 +287,7 @@
+ 		$(INSTALL_DATA) pl.1 $(plmandir)/$(PL).$(mansec)
+ 		$(INSTALL_DATA) $(srcdir)/plrc.1 $(plmandir)/plrc.$(mansec)
+ 		$(INSTALL_DATA) $(srcdir)/plld.1 $(plmandir)/plld.$(mansec)
+-		$(INSTALL_DATA) $(srcdir)/readline.3 $(plmandir)/readline.$(lmansec)
++		#$(INSTALL_DATA) $(srcdir)/readline.3 $(plmandir)/readline.$(lmansec)
+ 		-if [ ! -d $(man_prefix) ]; then $(MKDIR) $(man_prefix); fi
+ 		-if [ ! -d $(mandir)  ];    then $(MKDIR) $(mandir);     fi
+ 		-$(INSTALL_DATA) $(plmandir)/$(PL).$(mansec) $(mandir)
+@@ -295,10 +295,11 @@
+ 		-$(INSTALL_DATA) $(plmandir)/plld.$(mansec) $(mandir)
+ 
+ install_rlman:
+-		-if [ ! -d $(lmandir) ]; then $(MKDIR) $(lmandir); fi
+-		-if [ ! -r $(lmandir)/readline.$(lmansec) ]; then \
+-		  $(INSTALL_DATA) $(srcdir)/readline.3 $(lmandir)/readline.$(lmansec); \
+-		fi
++		-true
++#		-if [ ! -d $(lmandir) ]; then $(MKDIR) $(lmandir); fi
++#		-if [ ! -r $(lmandir)/readline.$(lmansec) ]; then \
++#		  $(INSTALL_DATA) $(srcdir)/readline.3 $(lmandir)/readline.$(lmansec); \
++#		fi
+ 
  #
  # runtime-only environment installation
diff -ruN swi-pl.old/pkg/PLIST swi-pl/pkg/PLIST
--- swi-pl.old/pkg/PLIST	Tue Aug 18 14:33:14 1998
+++ swi-pl/pkg/PLIST	Fri Mar 26 09:35:30 1999
@@ -1,74 +1,77 @@
 bin/pl
 bin/pl-bite
-bin/chpl
+bin/plrc
 bin/plld
 include/SWI-Prolog.h
-lib/pl-2.8.6/bin/i386-freebsd/pl
-lib/pl-2.8.6/bin/i386-freebsd/pl-bite
-lib/pl-2.8.6/bin/i386-freebsd/chpl
-lib/pl-2.8.6/bin/i386-freebsd/plld
-lib/pl-2.8.6/bin/swipl
-lib/pl-2.8.6/man/pl.1
-lib/pl-2.8.6/man/chpl.1
-lib/pl-2.8.6/man/plld.1
-lib/pl-2.8.6/man/readline.3
-lib/pl-2.8.6/boot/aix_foreign.pl
-lib/pl-2.8.6/boot/apply.pl
-lib/pl-2.8.6/boot/autoload.pl
-lib/pl-2.8.6/boot/bags.pl
-lib/pl-2.8.6/boot/dwim.pl
-lib/pl-2.8.6/boot/edit.pl
-lib/pl-2.8.6/boot/foreign.pl
-lib/pl-2.8.6/boot/history.pl
-lib/pl-2.8.6/boot/init.pl
-lib/pl-2.8.6/boot/list.pl
-lib/pl-2.8.6/boot/listing.pl
-lib/pl-2.8.6/boot/load.pl
-lib/pl-2.8.6/boot/parms.pl
-lib/pl-2.8.6/boot/portray.pl
-lib/pl-2.8.6/boot/profile.pl
-lib/pl-2.8.6/boot/qlf.pl
-lib/pl-2.8.6/boot/sort.pl
-lib/pl-2.8.6/boot/syspred.pl
-lib/pl-2.8.6/boot/toplevel.pl
-lib/pl-2.8.6/boot/topvars.pl
-lib/pl-2.8.6/boot/writef.pl
-lib/pl-2.8.6/library/INDEX.pl
-lib/pl-2.8.6/library/am_match.pl
-lib/pl-2.8.6/library/backcomp.pl
-lib/pl-2.8.6/library/bim.pl
-lib/pl-2.8.6/library/check.pl
-lib/pl-2.8.6/library/ctypes.pl
-lib/pl-2.8.6/library/dde.pl
-lib/pl-2.8.6/library/dld.pl
-lib/pl-2.8.6/library/emacs_interface.pl
-lib/pl-2.8.6/library/explain.pl
-lib/pl-2.8.6/library/files.pl
-lib/pl-2.8.6/library/gensym.pl
-lib/pl-2.8.6/library/help.pl
-lib/pl-2.8.6/library/help_index.pl
-lib/pl-2.8.6/library/helpidx.pl
-lib/pl-2.8.6/library/oset.pl
-lib/pl-2.8.6/library/progman.pl
-lib/pl-2.8.6/library/qlfutil.pl
-lib/pl-2.8.6/library/qp_interface.pl
-lib/pl-2.8.6/library/qsave.pl
-lib/pl-2.8.6/library/quintus.pl
-lib/pl-2.8.6/library/readln.pl
-lib/pl-2.8.6/library/shell.pl
-lib/pl-2.8.6/library/shlib.pl
-lib/pl-2.8.6/library/system.pl
-lib/pl-2.8.6/library/toolkit.pl
-lib/pl-2.8.6/library/topvars.pl
-lib/pl-2.8.6/library/tty.pl
-lib/pl-2.8.6/library/whereis.pl
-lib/pl-2.8.6/library/MANUAL
-lib/pl-2.8.6/startup/startup
-lib/pl-2.8.6/include/SWI-Prolog.h
-lib/pl-2.8.6/include/SWI-Exports
-lib/pl-2.8.6/include/SWI-Stream.h
-lib/pl-2.8.6/include/stub.c
-lib/pl-2.8.6/runtime/i386-freebsd/libpl.a
-lib/pl-2.8.6/swipl
-lib/pl-2.8.6/README.bin
-lib/pl-2.8.6/LICENSE
+lib/pl-3.2.5/bin/i386-freebsd/pl
+lib/pl-3.2.5/bin/i386-freebsd/pl-bite
+lib/pl-3.2.5/bin/i386-freebsd/plld
+lib/pl-3.2.5/bin/i386-freebsd/plrc
+lib/pl-3.2.5/bin/swipl
+lib/pl-3.2.5/man/pl.1
+lib/pl-3.2.5/man/plrc.1
+lib/pl-3.2.5/man/plld.1
+lib/pl-3.2.5/boot/aix_foreign.pl
+lib/pl-3.2.5/boot/apply.pl
+lib/pl-3.2.5/boot/autoload.pl
+lib/pl-3.2.5/boot/bags.pl
+lib/pl-3.2.5/boot/dwim.pl
+lib/pl-3.2.5/boot/foreign.pl
+lib/pl-3.2.5/boot/history.pl
+lib/pl-3.2.5/boot/init.pl
+lib/pl-3.2.5/boot/list.pl
+lib/pl-3.2.5/boot/listing.pl
+lib/pl-3.2.5/boot/load.pl
+lib/pl-3.2.5/boot/make.pl
+lib/pl-3.2.5/boot/messages.pl
+lib/pl-3.2.5/boot/parms.pl
+lib/pl-3.2.5/boot/profile.pl
+lib/pl-3.2.5/boot/qlf.pl
+lib/pl-3.2.5/boot/rc.pl
+lib/pl-3.2.5/boot/sort.pl
+lib/pl-3.2.5/boot/syspred.pl
+lib/pl-3.2.5/boot/toplevel.pl
+lib/pl-3.2.5/boot/topvars.pl
+lib/pl-3.2.5/boot/writef.pl
+lib/pl-3.2.5/library/INDEX.pl
+lib/pl-3.2.5/library/am_match.pl
+lib/pl-3.2.5/library/backcomp.pl
+lib/pl-3.2.5/library/bim.pl
+lib/pl-3.2.5/library/check.pl
+lib/pl-3.2.5/library/ctypes.pl
+lib/pl-3.2.5/library/dde.pl
+lib/pl-3.2.5/library/dld.pl
+lib/pl-3.2.5/library/edit.pl
+lib/pl-3.2.5/library/emacs_interface.pl
+lib/pl-3.2.5/library/explain.pl
+lib/pl-3.2.5/library/files.pl
+lib/pl-3.2.5/library/gensym.pl
+lib/pl-3.2.5/library/help.pl
+lib/pl-3.2.5/library/help_index.pl
+lib/pl-3.2.5/library/helpidx.pl
+lib/pl-3.2.5/library/oset.pl
+lib/pl-3.2.5/library/progman.pl
+lib/pl-3.2.5/library/qlfutil.pl
+lib/pl-3.2.5/library/qp_interface.pl
+lib/pl-3.2.5/library/qsave.pl
+lib/pl-3.2.5/library/quintus.pl
+lib/pl-3.2.5/library/readln.pl
+lib/pl-3.2.5/library/registry.pl
+lib/pl-3.2.5/library/tty.pl
+lib/pl-3.2.5/library/shell.pl
+lib/pl-3.2.5/library/shlib.pl
+lib/pl-3.2.5/library/system.pl
+lib/pl-3.2.5/library/toolkit.pl
+lib/pl-3.2.5/library/topvars.pl
+lib/pl-3.2.5/library/whereis.pl
+lib/pl-3.2.5/library/wise.pl
+lib/pl-3.2.5/library/MANUAL
+lib/pl-3.2.5/include/SWI-Prolog.h
+lib/pl-3.2.5/include/SWI-Exports
+lib/pl-3.2.5/include/SWI-Stream.h
+lib/pl-3.2.5/include/stub.c
+lib/pl-3.2.5/runtime/i386-freebsd/libpl.a
+lib/pl-3.2.5/boot.prc
+lib/pl-3.2.5/swipl
+lib/pl-3.2.5/README.bin
+lib/pl-3.2.5/LICENSE

>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?19990326151600.526DC5B0B>