From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Oct 17 13:40:18 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94D7016A417 for ; Tue, 17 Oct 2006 13:40:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F115C43D58 for ; Tue, 17 Oct 2006 13:40:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k9HDeFP3076048 for ; Tue, 17 Oct 2006 13:40:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k9HDeF8o076044; Tue, 17 Oct 2006 13:40:15 GMT (envelope-from gnats) Resent-Date: Tue, 17 Oct 2006 13:40:15 GMT Resent-Message-Id: <200610171340.k9HDeF8o076044@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, "Frank J. Laszlo" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6856616A40F for ; Tue, 17 Oct 2006 13:38:54 +0000 (UTC) (envelope-from laszlof@main.vonostingroup.com) Received: from main.vonostingroup.com (main.vonostingroup.com [216.32.84.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12C0743D64 for ; Tue, 17 Oct 2006 13:38:50 +0000 (GMT) (envelope-from laszlof@main.vonostingroup.com) Received: from laszlof by main.vonostingroup.com with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GZp9Y-000BlA-1w; Tue, 17 Oct 2006 07:38:44 -0600 Message-Id: Date: Tue, 17 Oct 2006 07:38:44 -0600 From: "Frank J. Laszlo" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: erik@smluc.org Subject: ports/104494: [PATCH]: devel/gauche-readline: Unbreak Port X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Frank J. Laszlo" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Oct 2006 13:40:18 -0000 >Number: 104494 >Category: ports >Synopsis: [PATCH]: devel/gauche-readline: Unbreak Port >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 17 13:40:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Frank J. Laszlo >Release: FreeBSD 5.4-RELEASE-p18 i386 >Organization: >Environment: System: FreeBSD main.vonostingroup.com 5.4-RELEASE-p18 FreeBSD 5.4-RELEASE-p18 #1: Sat Sep 16 18:56:42 UTC 2006 laszlof@main.vonostingroup.com:/usr/obj/usr/src/sys/MAIN i386 >Description: This patch will unbreak devel/gauche-readline. I have fixed the do-install target so that it will not change permissions after installation by using INSTALL_DATA. Maintainer has been CC'd. >How-To-Repeat: >Fix: --- gauche-readline-0.1_1.diff begins here --- diff -NrU3 gauche-readline.orig/Makefile gauche-readline/Makefile --- gauche-readline.orig/Makefile Tue Oct 17 06:55:14 2006 +++ gauche-readline/Makefile Tue Oct 17 07:33:00 2006 @@ -20,23 +20,18 @@ RUN_DEPENDS= gosh:${PORTSDIR}/lang/gauche BUILD_DEPENDS= gauche-config:${PORTSDIR}/lang/gauche -BROKEN= Changes permissions on installed file - GAUCHE_LIBDIR= share/gauche/site/lib -PLIST_SUB+= GAUCHE_LIBDIR=${GAUCHE_LIBDIR} +GAUCHE_FILES= readline/history.scm readline/keymap.scm readline/term-util.scm -# XXX: exists untill it will be committed to bsd.port.mk -COPYTREE_SHARE= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \ - 2>&1) && \ - ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} $$1 && \ - ${FIND} $$1/ -type d -exec ${CHMOD} 755 {} \; && \ - ${FIND} $$1/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;' -- +PLIST_SUB+= GAUCHE_LIBDIR=${GAUCHE_LIBDIR} do-install: -.if !exists(${PREFIX}/share/gauche/site/lib) - ${MKDIR} ${PREFIX}/share/gauche/site/lib +.if !exists(${PREFIX}/${GAUCHE_LIBDIR}/readline) + ${MKDIR} ${PREFIX}/${GAUCHE_LIBDIR}/readline .endif - @(cd ${WRKSRC} && ${COPYTREE_SHARE} "readline.scm readline" \ - ${PREFIX}/share/gauche/site/lib) + ${INSTALL_DATA} ${WRKSRC}/readline.scm ${PREFIX}/${GAUCHE_LIBDIR} +. for f in ${GAUCHE_FILES} + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${GAUCHE_LIBDIR}/readline +. endfor .include --- gauche-readline-0.1_1.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: