summaryrefslogtreecommitdiff
path: root/dev-ml/ocamlweb/files/ocamlweb-1.41-strip.patch
diff options
context:
space:
mode:
authorMark Wright <gienah@gentoo.org>2020-10-13 23:18:53 +1100
committerMark Wright <gienah@gentoo.org>2020-10-13 23:53:49 +1100
commit91ea1ee6f5e63abcf31fea6f173a8ba14f225c3e (patch)
treec7465022f19217b46fc65d466362408f62be9ec6 /dev-ml/ocamlweb/files/ocamlweb-1.41-strip.patch
parent4b9a416b5676589fd8a65c2a28d7bc04687f6ed0 (diff)
downloadgentoo-91ea1ee6f5e63abcf31fea6f173a8ba14f225c3e.tar.gz
gentoo-91ea1ee6f5e63abcf31fea6f173a8ba14f225c3e.tar.bz2
gentoo-91ea1ee6f5e63abcf31fea6f173a8ba14f225c3e.zip
dev-ml/ocamlweb: Bump to 1.41
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Mark Wright <gienah@gentoo.org>
Diffstat (limited to 'dev-ml/ocamlweb/files/ocamlweb-1.41-strip.patch')
-rw-r--r--dev-ml/ocamlweb/files/ocamlweb-1.41-strip.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-ml/ocamlweb/files/ocamlweb-1.41-strip.patch b/dev-ml/ocamlweb/files/ocamlweb-1.41-strip.patch
new file mode 100644
index 000000000000..1cb407a4a51e
--- /dev/null
+++ b/dev-ml/ocamlweb/files/ocamlweb-1.41-strip.patch
@@ -0,0 +1,17 @@
+--- ocamlweb-1.41-orig/Makefile.in 2019-01-25 20:54:14.000000000 +1100
++++ ocamlweb-1.41/Makefile.in 2020-10-12 19:49:20.490860201 +1100
+@@ -61,14 +61,12 @@
+
+ ocamlweb: $(CAML_CMX) $(CAMLLEX_CMX) $(CMX)
+ $(CAMLCOPT) $(OPTFLAGS) -o $@ -I +compiler-libs ocamloptcomp.cmxa $(CAML_CMX) $(CAMLLEX_CMX) $(CMX)
+- strip ocamlweb
+
+ ocamlweb.byte: $(CAML_CMO) $(CAMLLEX_CMO) $(CMO)
+ $(CAMLC) $(BYTEFLAGS) -o $@ $(CAML_CMO) $(CAMLLEX_CMO) $(CMO)
+
+ ocamlweb.static: $(CAML_CMX) $(CAMLLEX_CMX) $(CMX)
+ $(CAMLCOPT) $(OPTFLAGS) -cclib -static -o $@ $(CAML_CMX) $(CAMLLEX_CMX) $(CMX)
+- strip $@
+
+ debug: $(CAML_CMO) $(CAMLLEX_CMO) $(CMO)
+ $(CAMLC) $(BYTEFLAGS) -o ocamlweb-debug $(CAML_CMO) $(CAMLLEX_CMO) $(CMO)