From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Nov 3 09:10:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 203A82D3 for ; Sun, 3 Nov 2013 09:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 00B942510 for ; Sun, 3 Nov 2013 09:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rA39A0qk081978 for ; Sun, 3 Nov 2013 09:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rA39A07K081975; Sun, 3 Nov 2013 09:10:00 GMT (envelope-from gnats) Resent-Date: Sun, 3 Nov 2013 09:10:00 GMT Resent-Message-Id: <201311030910.rA39A07K081975@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, Rainer Hurling Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2A629FF3 for ; Sun, 3 Nov 2013 09:02:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1875E24D0 for ; Sun, 3 Nov 2013 09:02:38 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rA392bHw061377 for ; Sun, 3 Nov 2013 09:02:37 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rA392b8W061360; Sun, 3 Nov 2013 09:02:37 GMT (envelope-from nobody) Message-Id: <201311030902.rA392b8W061360@oldred.freebsd.org> Date: Sun, 3 Nov 2013 09:02:37 GMT From: Rainer Hurling To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/183607: [maintainer][patch] math/ggobi: stagedir support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Nov 2013 09:10:01 -0000 >Number: 183607 >Category: ports >Synopsis: [maintainer][patch] math/ggobi: stagedir support >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Nov 03 09:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Rainer Hurling >Release: 11.0-CURRENT amd64 >Organization: >Environment: FreeBSD xxx.xxx.xxx 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r257540: Sat Nov 2 10:17:13 CET 2013 xxx@xxx.xxx.xxx:/usr/obj/usr/src/sys/XXX amd64 >Description: Changes to support STAGEDIR. >How-To-Repeat: >Fix: I am not 100% sure, that all is done the right way in post-install. Patch attached with submission follows: diff -u ggobi.orig/Makefile ggobi/Makefile --- ggobi.orig/Makefile 2013-10-04 08:01:41.000000000 +0200 +++ ggobi/Makefile 2013-11-03 09:59:53.000000000 +0100 @@ -21,7 +21,6 @@ ALL_TARGET= all ggobirc -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|ND_coord_i|ND_coord|' \ ${WRKSRC}/plugins/GraphLayout/graphviz.c @@ -41,10 +40,10 @@ ${WRKSRC}/plugins/GraphLayout/Makefile post-install: - ${MKDIR} ${PREFIX}/etc/xdg/ggobi - ${INSTALL_DATA} ${WRKSRC}/ggobirc ${PREFIX}/etc/xdg/ggobi/ggobirc.sample - @if [ ! -f ${PREFIX}/etc/xdg/ggobi/ggobirc ]; then \ - ${CP} -p ${PREFIX}/etc/xdg/ggobi/ggobirc.sample ${PREFIX}/etc/xdg/ggobi/ggobirc ; \ + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg/ggobi + ${INSTALL_DATA} ${WRKSRC}/ggobirc ${STAGEDIR}${PREFIX}/etc/xdg/ggobi/ggobirc.sample + @if [ ! -f ${STAGEDIR}${PREFIX}/etc/xdg/ggobi/ggobirc ]; then \ + ${CP} -p ${STAGEDIR}${PREFIX}/etc/xdg/ggobi/ggobirc.sample ${STAGEDIR}${PREFIX}/etc/xdg/ggobi/ggobirc ; \ fi .include Only in ggobi: Makefile~ >Release-Note: >Audit-Trail: >Unformatted: