mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-15 03:23:50 +02:00
camlp4: rebuild for ocaml-4.09.0.
This commit is contained in:
parent
01438a62c2
commit
2aac6934ed
2 changed files with 12 additions and 1 deletions
11
srcpkgs/camlp4/patches/version-hack.patch
Normal file
11
srcpkgs/camlp4/patches/version-hack.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- configure.orig
|
||||||
|
+++ configure
|
||||||
|
@@ -39,7 +39,7 @@
|
||||||
|
echo "The standalone Camlp4 requires OCaml >= 4.02."
|
||||||
|
echo "For previous versions of OCaml use the Camlp4 distributed with OCaml."
|
||||||
|
exit 2
|
||||||
|
-elif [ $major -ne 4 -o $minor -ne 8 ]; then
|
||||||
|
+elif [ $major -ne 4 -o $minor -ne 9 ]; then
|
||||||
|
echo "This version of Camlp4 is for OCaml 4.07 but you are using OCaml $ocaml_version."
|
||||||
|
if [ -d .git ] ; then
|
||||||
|
if [ $PINNED -eq 1 ] ; then
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'camlp4'
|
# Template file for 'camlp4'
|
||||||
pkgname=camlp4
|
pkgname=camlp4
|
||||||
version=4.08+1
|
version=4.08+1
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="camlp4-${version/+/-}"
|
wrksrc="camlp4-${version/+/-}"
|
||||||
build_style=configure
|
build_style=configure
|
||||||
hostmakedepends="ocaml ocamlbuild"
|
hostmakedepends="ocaml ocamlbuild"
|
||||||
|
|
Loading…
Add table
Reference in a new issue