Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Aug 2012 20:07:19 +0000 (UTC)
From:      Jeremy Messenger <mezz@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r302029 - head/lang/opa/files
Message-ID:  <201208042007.q74K7JS3091056@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.\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 $@



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208042007.q74K7JS3091056>