From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Dec 14 09:20:04 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51D72106564A for ; Wed, 14 Dec 2011 09:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1394A8FC18 for ; Wed, 14 Dec 2011 09:20:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBE9K3a2074975 for ; Wed, 14 Dec 2011 09:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBE9K38O074974; Wed, 14 Dec 2011 09:20:03 GMT (envelope-from gnats) Resent-Date: Wed, 14 Dec 2011 09:20:03 GMT Resent-Message-Id: <201112140920.pBE9K38O074974@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jaap Boender Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95A7A1065670 for ; Wed, 14 Dec 2011 09:16:20 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 846968FC14 for ; Wed, 14 Dec 2011 09:16:20 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pBE9GK2E039264 for ; Wed, 14 Dec 2011 09:16:20 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id pBE9GKUX039263; Wed, 14 Dec 2011 09:16:20 GMT (envelope-from nobody) Message-Id: <201112140916.pBE9GKUX039263@red.freebsd.org> Date: Wed, 14 Dec 2011 09:16:20 GMT From: Jaap Boender To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/163275: [patch] lang/ocaml: install expunge script with right permissions X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2011 09:20:04 -0000 >Number: 163275 >Category: ports >Synopsis: [patch] lang/ocaml: install expunge script with right permissions >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 14 09:20:03 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jaap Boender >Release: 8.2-STABLE >Organization: >Environment: FreeBSD marion-dufresne.cs.unibo.it 8.2-STABLE FreeBSD 8.2-STABLE #4: Tue Nov 22 13:27:07 CET 2011 root@marion-dufresne.cs.unibo.it:/usr/obj/usr/src/sys/MARION-DUFRESNE amd64 >Description: Currently, the lang/ocaml port installs the /usr/local/lib/expunge file with 'cp'. However, it is a script, and this results in the wrong permissions. The attached patch replaces cp with ${BSD_INSTALL_SCRIPT}. >How-To-Repeat: Install lang/ocaml and try to use expunge. >Fix: The attached file can be placed in the files directory of the port (as patch-Makefile), which should solve the problem. Patch attached with submission follows: --- Makefile.orig 2010-06-16 03:32:26.000000000 +0200 +++ Makefile 2011-12-14 10:02:05.745076468 +0100 @@ -288,7 +288,7 @@ cp lex/ocamllex $(BINDIR)/ocamllex$(EXE) cp yacc/ocamlyacc$(EXE) $(BINDIR)/ocamlyacc$(EXE) cp toplevel/toplevellib.cma $(LIBDIR)/toplevellib.cma - cp expunge $(LIBDIR)/expunge$(EXE) + ${BSD_INSTALL_SCRIPT} expunge $(LIBDIR)/expunge$(EXE) cp typing/outcometree.cmi typing/outcometree.mli $(LIBDIR) cp toplevel/topstart.cmo $(LIBDIR) cp toplevel/toploop.cmi toplevel/topdirs.cmi toplevel/topmain.cmi \ >Release-Note: >Audit-Trail: >Unformatted: