pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

swi-prolog-lite: Adjust LDFLAGS in order to correctly link to libswipl.so.8



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Mon Jan 28 20:49:38 2019 +0100
Changeset:	63f6280a7431b6035d5ce6f2d99a4b63a0e8c31c

Modified Files:
	swi-prolog-lite/Makefile.common
	swi-prolog-lite/TODO

Log Message:
swi-prolog-lite: Adjust LDFLAGS in order to correctly link to libswipl.so.8

(Now swipl seems to install and run fine!)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=63f6280a7431b6035d5ce6f2d99a4b63a0e8c31c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 swi-prolog-lite/Makefile.common | 4 ++++
 swi-prolog-lite/TODO            | 2 --
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs:
diff --git a/swi-prolog-lite/Makefile.common b/swi-prolog-lite/Makefile.common
index 9a9d25719e..b0e7696a90 100644
--- a/swi-prolog-lite/Makefile.common
+++ b/swi-prolog-lite/Makefile.common
@@ -20,6 +20,10 @@ PATCHDIR=		${.CURDIR}/../../wip/swi-prolog-lite/patches
 # XXX: That's kludgy, can it be avoided?
 MAKE_ENV+=		LD_LIBRARY_PATH=${WRKSRC}/build/src
 
+# XXX: Can this be addressed differently without appending to the LDFLAGS?
+# XXX: (i.e. it should just work(TM))
+LDFLAGS+=		${COMPILER_RPATH_FLAG}${PREFIX}/lib/swipl/lib/${MACHINE_GNU_PLATFORM}
+
 USE_CMAKE=		yes
 CMAKE_ARGS+=		-DCMAKE_BUILD_TYPE=Release
 
diff --git a/swi-prolog-lite/TODO b/swi-prolog-lite/TODO
index ae39c94fdb..0855745bec 100644
--- a/swi-prolog-lite/TODO
+++ b/swi-prolog-lite/TODO
@@ -5,5 +5,3 @@
    don't know how to make ../man/pldoc. Stop
   Investigate if there is a way to solve that and provide the documentation via
   swi-prolog-lite package.
-- Install fails due:
-   ERROR: lib/swipl/bin/x86_64--netbsd/swipl: missing library: libswipl.so.8


Home | Main Index | Thread Index | Old Index