aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-01-10 19:03:48 +0800
committervs <vs@FreeBSD.org>2005-01-10 19:03:48 +0800
commitf1087066c7c668abbe4b77998482d0c775aa02ee (patch)
tree2400f02c8df512f3e41cc34b8c42744ee9d84fe4 /lang
parentef91efca254478b5301fe0249c8409c1ebfb918b (diff)
downloadfreebsd-ports-gnome-f1087066c7c668abbe4b77998482d0c775aa02ee.tar.gz
freebsd-ports-gnome-f1087066c7c668abbe4b77998482d0c775aa02ee.tar.zst
freebsd-ports-gnome-f1087066c7c668abbe4b77998482d0c775aa02ee.zip
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. PR: ports/75592 Submitted by: maintainer
Diffstat (limited to 'lang')
-rw-r--r--lang/py-prolog/Makefile1
-rw-r--r--lang/py-prolog/files/patch-aa26
2 files changed, 27 insertions, 0 deletions
diff --git a/lang/py-prolog/Makefile b/lang/py-prolog/Makefile
index 8386f4b354fe..88134f83bcc1 100644
--- a/lang/py-prolog/Makefile
+++ b/lang/py-prolog/Makefile
@@ -6,6 +6,7 @@
PORTNAME= prolog
PORTVERSION= 0.1
+PORTREVSION= 1
CATEGORIES= lang python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pyprolog
diff --git a/lang/py-prolog/files/patch-aa b/lang/py-prolog/files/patch-aa
new file mode 100644
index 000000000000..12bf4e5094b9
--- /dev/null
+++ b/lang/py-prolog/files/patch-aa
@@ -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@best.com",
+ url="http://pyprolog.sourceforge.net",
+- licence='LGPL',
++ license='LGPL',
+ description='SWI-Prolog extension module',
+ packages=["pyprolog"],
+ package_dir={"pyprolog":"Lib"},