]> git.pld-linux.org Git - packages/erlang.git/commitdiff
- added no-fop patch (disable pdf docs, avoid build failure when fop 1.0 is installed)
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 9 Sep 2019 19:09:23 +0000 (21:09 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 9 Sep 2019 19:09:23 +0000 (21:09 +0200)
erlang-no-fop.patch [new file with mode: 0644]
erlang.spec

diff --git a/erlang-no-fop.patch b/erlang-no-fop.patch
new file mode 100644 (file)
index 0000000..960d69a
--- /dev/null
@@ -0,0 +1,12 @@
+--- otp-OTP-21.3.8.6/erts/configure.in.orig    2019-07-11 17:18:55.000000000 +0200
++++ otp-OTP-21.3.8.6/erts/configure.in 2019-09-09 17:44:05.368217526 +0200
+@@ -855,7 +855,8 @@
+   AC_MSG_WARN([No 'xsltproc' command found: the documentation cannot be built])
+ fi
+-AC_CHECK_PROGS(FOP, fop)
++dnl AC_CHECK_PROGS(FOP, fop)
++AC_SUBST(FOP)
+ if test -z "$FOP"; then
+   FOP="$ERL_TOP/make/fakefop"
+   echo "fop" >> doc/CONF_INFO
index e615dfaa420c8802ade4b5747e0dcf46c77cf37d..399e86a7d61b87742c285bca80b18f7d65a70a1a 100644 (file)
@@ -28,6 +28,8 @@ Source4:      epmd@.service
 Source5:       epmd@.socket
 Patch0:                %{name}-fPIC.patch
 Patch1:                x32.patch
 Source5:       epmd@.socket
 Patch0:                %{name}-fPIC.patch
 Patch1:                x32.patch
+# disable pdf docs (require libxslt-progs and fop > 1.0, with -cache option)
+Patch2:                %{name}-no-fop.patch
 URL:           http://www.erlang.org/
 %{?with_java:BuildRequires:    /usr/bin/jar}
 BuildRequires: autoconf
 URL:           http://www.erlang.org/
 %{?with_java:BuildRequires:    /usr/bin/jar}
 BuildRequires: autoconf
@@ -64,6 +66,7 @@ rozpowszechnianiu Erlanga poza Ericssonem.
 %setup -q -n otp-OTP-%{_version}
 #%patch0 -p1
 %patch1 -p1
 %setup -q -n otp-OTP-%{_version}
 #%patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 ./otp_build autoconf
 
 %build
 ./otp_build autoconf
This page took 0.045655 seconds and 4 git commands to generate.