ports/75592: maintainer update for lang/py-prolog
Gerhard Gonter
g.gonter at ieee.org
Wed Dec 29 03:00:38 UTC 2004
>Number: 75592
>Category: ports
>Synopsis: maintainer update for lang/py-prolog
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 29 03:00:37 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Gerhard Gonter
>Release: FreeBSD 5.3-STABLE i386
>Organization:
None
>Environment:
System: FreeBSD alcoholix.wu-wien.ac.at 5.3-STABLE FreeBSD 5.3-STABLE #0: Sun Dec 26 12:56:10 CET 2004 root at alcoholix.wu-wien.ac.at:/usr/obj/usr/src/sys/GENERIC i386
>Description:
The upgrade of swi-pl requires an update for PyProlog as
well. While PyProlog is not available yet in a new version,
this fix bridges that gap.
>How-To-Repeat:
>Fix:
diff -ruN py-prolog-0.1/Makefile py-prolog-0.1_1/Makefile
--- py-prolog-0.1/Makefile Sun Oct 19 02:11:58 2003
+++ py-prolog-0.1_1/Makefile Wed Dec 29 03:47:12 2004
@@ -6,6 +6,7 @@
PORTNAME= prolog
PORTVERSION= 0.1
+PORTREVSION= 1
CATEGORIES= lang python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pyprolog
diff -ruN py-prolog-0.1/files/patch-aa py-prolog-0.1_1/files/patch-aa
--- py-prolog-0.1/files/patch-aa Thu Jan 1 01:00:00 1970
+++ py-prolog-0.1_1/files/patch-aa Tue Nov 16 12:48:03 2004
@@ -0,0 +1,26 @@
+--- setup.py.orig Sun Jun 10 05:16:04 2001
++++ setup.py Tue Nov 16 12:46:44 2004
+@@ -13,11 +13,13 @@
+
+ # TDB: this code only need run during 'build'.
+ arch = get_atom('arch')
+-#swipl_version = get_atom('version')
++swipl_version = get_atom('version')
+ swipl_home = get_atom('home')
+ #print 'P>', arch, swipl_version, swipl_home
+ swipl_include_path = os.path.join(swipl_home, 'include')
+ swipl_library_path = os.path.join(swipl_home, 'runtime', arch)
++if swipl_version > '50400':
++ swipl_library_path = os.path.join(swipl_home, 'lib', arch)
+ #print 'I>', swipl_include_path, swipl_library_path
+
+ setup(name="PyProlog",
+@@ -25,7 +27,7 @@
+ author="Glen Wilder",
+ author_email="gwilder at best.com",
+ url="http://pyprolog.sourceforge.net",
+- licence='LGPL',
++ license='LGPL',
+ description='SWI-Prolog extension module',
+ packages=["pyprolog"],
+ package_dir={"pyprolog":"Lib"},
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list