pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
swi-prolog-packages: Add back post-install for removal of editline bindings
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Mon Feb 4 23:12:17 2019 +0100
Changeset: 13ad3d7e7c921545e8bcfa0e517edfc27c4901e3
Modified Files:
swi-prolog-packages/Makefile
swi-prolog-packages/PLIST
Log Message:
swi-prolog-packages: Add back post-install for removal of editline bindings
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=13ad3d7e7c921545e8bcfa0e517edfc27c4901e3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
swi-prolog-packages/Makefile | 6 ++++++
swi-prolog-packages/PLIST | 2 --
2 files changed, 6 insertions(+), 2 deletions(-)
diffs:
diff --git a/swi-prolog-packages/Makefile b/swi-prolog-packages/Makefile
index 5cf9f2ced7..9ddd505ec8 100644
--- a/swi-prolog-packages/Makefile
+++ b/swi-prolog-packages/Makefile
@@ -115,6 +115,12 @@ do-install:
-P cmake_install.cmake
.endfor
+# XXX: editline bindings seems limited and does not support completion, remove
+# XXX: them in order to always use readline.pl.
+post-install:
+ ${RM} ${DESTDIR}${PREFIX}/lib/swipl/lib/${MACHINE_GNU_PLATFORM}/libedit4pl.so || ${TRUE}
+ ${RM} ${DESTDIR}${PREFIX}/lib/swipl/library/editline.pl || ${TRUE}
+
# I need this on FreeBSD, perhaps this depends on GCC behaviour:
CHECK_WRKREF_SKIP= lib/swi-prolog-${SWIPLVERS}/xpce-${XPCE_VERSION}/lib/${MACHINE_GNU_PLATFORM}/pl2xpce.so
diff --git a/swi-prolog-packages/PLIST b/swi-prolog-packages/PLIST
index 27f3d237b1..d442c1e361 100644
--- a/swi-prolog-packages/PLIST
+++ b/swi-prolog-packages/PLIST
@@ -286,7 +286,6 @@ lib/swipl/lib/${MACHINE_GNU_PLATFORM}/http_stream.so
lib/swipl/lib/${MACHINE_GNU_PLATFORM}/inclpr.so
lib/swipl/lib/${MACHINE_GNU_PLATFORM}/isub.so
lib/swipl/lib/${MACHINE_GNU_PLATFORM}/json.so
-lib/swipl/lib/${MACHINE_GNU_PLATFORM}/libedit4pl.so
lib/swipl/lib/${MACHINE_GNU_PLATFORM}/md54pl.so
lib/swipl/lib/${MACHINE_GNU_PLATFORM}/memfile.so
lib/swipl/lib/${MACHINE_GNU_PLATFORM}/ntriples.so
@@ -386,7 +385,6 @@ lib/swipl/library/doc_files.pl
lib/swipl/library/doc_http.pl
lib/swipl/library/doc_latex.pl
lib/swipl/library/double_metaphone.pl
-lib/swipl/library/editline.pl
lib/swipl/library/filesex.pl
lib/swipl/library/hash_stream.pl
lib/swipl/library/http/README.md
Home |
Main Index |
Thread Index |
Old Index