mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
lang/apl: fix build with gsl and/or libreoffice
OK: tb@ sthen@
This commit is contained in:
+4
-1
@@ -1,5 +1,6 @@
|
||||
COMMENT = interpreter for the programming language APL
|
||||
DISTNAME = apl-1.9pl20250903
|
||||
REVISION = 0
|
||||
CATEGORIES = lang
|
||||
|
||||
SHARED_LIBS += _sql 0.0 # 0.0
|
||||
@@ -37,7 +38,9 @@ LIB_DEPENDS = devel/pcre2 \
|
||||
|
||||
RUN_DEPENDS = fonts/apl-fonts
|
||||
|
||||
CONFIGURE_STYLE = gnu
|
||||
AUTOCONF_VERSION = 2.71
|
||||
AUTOMAKE_VERSION = 1.16
|
||||
CONFIGURE_STYLE = autoreconf
|
||||
CONFIGURE_ARGS += --without-sqlite3 \
|
||||
--without-postgresql
|
||||
CONFIGURE_ENV += CXX_WERROR=no \
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
Disable use asciidoc and libreoffice, we don't install HOWTO anyway
|
||||
|
||||
Index: HOWTOs/Makefile.am
|
||||
--- HOWTOs/Makefile.am.orig
|
||||
+++ HOWTOs/Makefile.am
|
||||
@@ -63,7 +63,7 @@ all: LApack-primer.pdf
|
||||
# The .html has a stupid <noscript> tag that needs to be removed
|
||||
# in order to properly display the Table of Contents.
|
||||
.asciidoc.html:
|
||||
- @if [ -z `which asciidoc` ] ; then touch $@ ; \
|
||||
+ @if [ -z `which _asciidoc` ] ; then touch $@ ; \
|
||||
else asciidoc -a icons -o $@ $< ; \
|
||||
sed -i 's|Cpp|C++|g' $@ ; \
|
||||
sed -i 's|<pre><code>|<pre>\n\n<code>|' $@ ; \
|
||||
@@ -75,7 +75,7 @@ all: LApack-primer.pdf
|
||||
# use LibreOffic Writer (if installed) to convert .html to .pdf
|
||||
#
|
||||
.html.pdf:
|
||||
- @if [ -z `which lowriter` ] ; then touch $@ ; \
|
||||
+ @if [ -z `which _lowriter` ] ; then touch $@ ; \
|
||||
else lowriter --headless --convert-to pdf $< ; \
|
||||
fi
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
error: unknown type name 'lognormal_distribution'; did you mean 'bernoulli_distribution'?
|
||||
|
||||
Index: configure.ac
|
||||
--- configure.ac.orig
|
||||
+++ configure.ac
|
||||
@@ -293,9 +293,6 @@ apl_YES($apl_POSTGRES) && apl_POSTGRES=yes
|
||||
m4_include([m4/check_PCRE.m4])
|
||||
apl_NYES($apl_PCRE) && AS_ECHO([" └──── will affect: ⎕RE"])
|
||||
|
||||
-m4_include([m4/check_GSL.m4])
|
||||
- apl_NYES($apl_GSL) && AS_ECHO([" └──── will affect: ⎕MX"])
|
||||
-
|
||||
m4_include([m4/check_GTK.m4])
|
||||
apl_NYES($apl_GTK3) && AS_ECHO([" └──── may affect: ⎕PLOT, will affect ⎕PNG"])
|
||||
|
||||
Reference in New Issue
Block a user