svn commit: r302029 - head/lang/opa/files
Jeremy Messenger
mezz at FreeBSD.org
Sat Aug 4 20:07:20 UTC 2012
Author: mezz
Date: Sat Aug 4 20:07:19 2012
New Revision: 302029
URL: http://svn.freebsd.org/changeset/ports/302029
Log:
Add missing patches.... Wasn't pay attention when I ran 'cvs add'...
Added:
head/lang/opa/files/patch-Makefile (contents, props changed)
head/lang/opa/files/patch-lib_stdlib_extract-import-plugin.sh (contents, props changed)
head/lang/opa/files/patch-tools_manpages_Makefile (contents, props changed)
Added: head/lang/opa/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/opa/files/patch-Makefile Sat Aug 4 20:07:19 2012 (r302029)
@@ -0,0 +1,11 @@
+--- Makefile.orig 2012-08-04 12:35:50.000000000 -0500
++++ Makefile 2012-08-04 12:36:10.000000000 -0500
+@@ -239,7 +239,7 @@
+ @if [ -d $(BUILD_DIR)/man/man1 ]; then \
+ mkdir -p $(INSTALL_DIR)/share/man/man1; \
+ fi
+- @$(if $(wildcard $(BUILD_DIR)/man/man1/*.1.gz),$(INSTALL) -r $(BUILD_DIR)/man/man1/*.1.gz $(INSTALL_DIR)/share/man/man1)
++ @$(if $(wildcard $(BUILD_DIR)/man/man1/*.1),$(INSTALL) -r $(BUILD_DIR)/man/man1/*.1 $(INSTALL_DIR)/share/man/man1)
+ @printf "Installation to $(INSTALL_DIR)/share/man done.[K\n"
+
+ install: install-lib install-share install-plugins install-packages install-node-packages install-man $(OPA_TOOLS) install-bin
Added: head/lang/opa/files/patch-lib_stdlib_extract-import-plugin.sh
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/opa/files/patch-lib_stdlib_extract-import-plugin.sh Sat Aug 4 20:07:19 2012 (r302029)
@@ -0,0 +1,8 @@
+--- lib/stdlib/extract-import-plugin.sh.orig 2012-08-02 22:02:49.000000000 -0500
++++ lib/stdlib/extract-import-plugin.sh 2012-08-02 22:03:27.000000000 -0500
+@@ -4,4 +4,4 @@
+ # source platform_helper (for sed)
+ . ${OPA_SOURCE_DIR:-$(dirname $0)/../../}/tools/platform_helper.sh
+
+-sed -n "s%^ *import-plugin *\\(.*\\) *$%\\1%p" $1 | sed -e "s/{//" -e "s/}//" -e "s/, */\n/g"
++sed -n "s%^ *import-plugin *\\(.*\\) *$%\\1%p" $1 | sed -e "s/{//" -e "s/}//" | tr ', ' '\n'
Added: head/lang/opa/files/patch-tools_manpages_Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/opa/files/patch-tools_manpages_Makefile Sat Aug 4 20:07:19 2012 (r302029)
@@ -0,0 +1,31 @@
+--- tools/manpages/Makefile.orig 2012-08-04 11:56:25.000000000 -0500
++++ tools/manpages/Makefile 2012-08-04 11:57:01.000000000 -0500
+@@ -32,7 +32,6 @@
+ $(TARGETDIR)/%.1: %.man
+ @mkdir -p $(TARGETDIR)
+ cp $< $@
+- gzip -f --best $@
+
+ # --
+ # second run specific manpage generation programs
+@@ -43,7 +42,6 @@
+ $(TARGETDIR)/opa.1: $(BLDDIR)/compiler/opa/gen_opa_manpage.native
+ @mkdir -p $(TARGETDIR)
+ $< > $@
+- gzip -f --best $@
+
+ $(BLDDIR)/compiler/opatop/gen_opatop_manpage.native: ../../compiler/opatop/gen_opatop_manpage.ml
+ cd ../..; $(OCAMLBUILD) compiler/opatop/gen_opatop_manpage.native
+@@ -51,7 +49,6 @@
+ $(TARGETDIR)/opatop.1: $(BLDDIR)/compiler/opatop/gen_opatop_manpage.native
+ @mkdir -p $(TARGETDIR)
+ $< > $@
+- gzip -f --best $@
+
+ # --
+ # third run our hackish conversion tool help->manpage
+@@ -72,4 +69,3 @@
+ $(TARGETDIR)/%.1: $(TARGETDIR)/%.help $(GENMAN)
+ @mkdir -p $(TARGETDIR)
+ $(GENMAN) $* $(TARGETDIR)/$* > $@
+- gzip -f --best $@
More information about the svn-ports-head
mailing list