Sun Aug 9 23:16:48 2020 UTC ()
Don't depend on openssl.cnf to exist.


(joerg)
diff -r1.31 -r1.32 pkgsrc/lang/swi-prolog-lite/Makefile

cvs diff -r1.31 -r1.32 pkgsrc/lang/swi-prolog-lite/Makefile (switch to unified diff)

--- pkgsrc/lang/swi-prolog-lite/Makefile 2020/01/18 21:49:44 1.31
+++ pkgsrc/lang/swi-prolog-lite/Makefile 2020/08/09 23:16:48 1.32
@@ -1,57 +1,59 @@ @@ -1,57 +1,59 @@
1# $NetBSD: Makefile,v 1.31 2020/01/18 21:49:44 jperkin Exp $ 1# $NetBSD: Makefile,v 1.32 2020/08/09 23:16:48 joerg Exp $
2 2
3.include "Makefile.common" 3.include "Makefile.common"
4 4
5PKGNAME= swi-prolog-lite-${SWIPLVERS} 5PKGNAME= swi-prolog-lite-${SWIPLVERS}
6PKGREVISION= 2 6PKGREVISION= 2
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9COMMENT= ISO/Edinburgh-style Prolog compiler 9COMMENT= ISO/Edinburgh-style Prolog compiler
10 10
11CMAKE_ARGS+= -DSWIPL_INSTALL_MANPAGES=${PKGMANDIR}/man1 11CMAKE_ARGS+= -DSWIPL_INSTALL_MANPAGES=${PKGMANDIR}/man1
12CMAKE_ARGS+= -DSWIPL_PACKAGES_BASIC=ON 12CMAKE_ARGS+= -DSWIPL_PACKAGES_BASIC=ON
13CMAKE_ARGS+= -DSWIPL_PACKAGES_ARCHIVE=ON 13CMAKE_ARGS+= -DSWIPL_PACKAGES_ARCHIVE=ON
14CMAKE_ARGS+= -DSWIPL_PACKAGES_SSL=ON 14CMAKE_ARGS+= -DSWIPL_PACKAGES_SSL=ON
15CMAKE_ARGS+= -DSWIPL_PACKAGES_TERM=ON 15CMAKE_ARGS+= -DSWIPL_PACKAGES_TERM=ON
16CMAKE_ARGS+= -DINSTALL_DOCUMENTATION=ON 16CMAKE_ARGS+= -DINSTALL_DOCUMENTATION=ON
17 17
18# Part of swi-prolog-jpl 18# Part of swi-prolog-jpl
19CMAKE_ARGS+= -DSWIPL_PACKAGES_JAVA=OFF 19CMAKE_ARGS+= -DSWIPL_PACKAGES_JAVA=OFF
20 20
21# Part of swi-prolog-packages 21# Part of swi-prolog-packages
22CMAKE_ARGS+= -DSWIPL_PACKAGES_X=OFF 22CMAKE_ARGS+= -DSWIPL_PACKAGES_X=OFF
23 23
24USE_TOOLS+= bash:run 24USE_TOOLS+= bash:run
25 25
 26MAKE_ENV+= OPENSSL_CONF=/dev/null
 27
26.include "../../mk/bsd.prefs.mk" 28.include "../../mk/bsd.prefs.mk"
27 29
28.if !empty(LP64PLATFORMS:@.PLAT.@${MACHINE_PLATFORM:M${.PLAT.}}@) || \ 30.if !empty(LP64PLATFORMS:@.PLAT.@${MACHINE_PLATFORM:M${.PLAT.}}@) || \
29 (defined(ABI) && ${ABI} == "64") 31 (defined(ABI) && ${ABI} == "64")
30PLIST_SUBST+= BITS=64 32PLIST_SUBST+= BITS=64
31.else 33.else
32PLIST_SUBST+= BITS=32 34PLIST_SUBST+= BITS=32
33.endif 35.endif
34 36
35REPLACE_INTERPRETER+= swipl 37REPLACE_INTERPRETER+= swipl
36REPLACE.swipl.old= /usr/bin/swipl 38REPLACE.swipl.old= /usr/bin/swipl
37REPLACE.swipl.new= ${PREFIX}/bin/swipl 39REPLACE.swipl.new= ${PREFIX}/bin/swipl
38REPLACE_FILES.swipl+= library/dialect/sicstus/swipl-lfr.pl 40REPLACE_FILES.swipl+= library/dialect/sicstus/swipl-lfr.pl
39 41
40# XXX: editline bindings seems limited and does not support completion, remove 42# XXX: editline bindings seems limited and does not support completion, remove
41# XXX: them in order to always use readline.pl. 43# XXX: them in order to always use readline.pl.
42post-install: 44post-install:
43 ${RM} ${DESTDIR}${PREFIX}/lib/swipl/doc/packages/libedit.html || ${TRUE} 45 ${RM} ${DESTDIR}${PREFIX}/lib/swipl/doc/packages/libedit.html || ${TRUE}
44 ${RM} ${DESTDIR}${PREFIX}/lib/swipl/lib/${MACHINE_GNU_PLATFORM}/libedit4pl.so || ${TRUE} 46 ${RM} ${DESTDIR}${PREFIX}/lib/swipl/lib/${MACHINE_GNU_PLATFORM}/libedit4pl.so || ${TRUE}
45 ${RM} ${DESTDIR}${PREFIX}/lib/swipl/library/editline.pl || ${TRUE} 47 ${RM} ${DESTDIR}${PREFIX}/lib/swipl/library/editline.pl || ${TRUE}
46 48
47TEST_TARGET= check 49TEST_TARGET= check
48 50
49.include "../../archivers/libarchive/buildlink3.mk" 51.include "../../archivers/libarchive/buildlink3.mk"
50.include "../../devel/gmp/buildlink3.mk" 52.include "../../devel/gmp/buildlink3.mk"
51.include "../../devel/ossp-uuid/buildlink3.mk" 53.include "../../devel/ossp-uuid/buildlink3.mk"
52.include "../../devel/readline/buildlink3.mk" 54.include "../../devel/readline/buildlink3.mk"
53.include "../../devel/zlib/buildlink3.mk" 55.include "../../devel/zlib/buildlink3.mk"
54.include "../../security/openssl/buildlink3.mk" 56.include "../../security/openssl/buildlink3.mk"
55.include "../../mk/curses.buildlink3.mk" 57.include "../../mk/curses.buildlink3.mk"
56.include "../../mk/pthread.buildlink3.mk" 58.include "../../mk/pthread.buildlink3.mk"
57.include "../../mk/bsd.pkg.mk" 59.include "../../mk/bsd.pkg.mk"