Date: Tue, 17 Oct 2006 07:38:44 -0600 From: "Frank J. Laszlo" <laszlof@vonostingroup.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: erik@smluc.org Subject: ports/104494: [PATCH]: devel/gauche-readline: Unbreak Port Message-ID: <E1GZp9Y-000BlA-1w@main.vonostingroup.com> Resent-Message-ID: <200610171340.k9HDeF8o076044@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.mk> --- gauche-readline-0.1_1.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1GZp9Y-000BlA-1w>