From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Nov 9 21:10:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2E4F6418 for ; Sat, 9 Nov 2013 21: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 E81E32369 for ; Sat, 9 Nov 2013 21:10:00 +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 rA9LA0Ql011508 for ; Sat, 9 Nov 2013 21: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 rA9LA0at011507; Sat, 9 Nov 2013 21:10:00 GMT (envelope-from gnats) Resent-Date: Sat, 9 Nov 2013 21:10:00 GMT Resent-Message-Id: <201311092110.rA9LA0at011507@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 37CCB2EA for ; Sat, 9 Nov 2013 21:01:09 +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 23C53232C for ; Sat, 9 Nov 2013 21:01:09 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rA9L18Ff084497 for ; Sat, 9 Nov 2013 21:01:08 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rA9L18EJ084493; Sat, 9 Nov 2013 21:01:08 GMT (envelope-from nobody) Message-Id: <201311092101.rA9L18EJ084493@oldred.freebsd.org> Date: Sat, 9 Nov 2013 21:01:08 GMT From: Rainer Hurling To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/183822: [maintainer][patch] games/sudoku_solver: support STAGEDIR 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: Sat, 09 Nov 2013 21:10:01 -0000 >Number: 183822 >Category: ports >Synopsis: [maintainer][patch] games/sudoku_solver: support STAGEDIR >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: Sat Nov 09 21:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Rainer Hurling >Release: 11.0-CURRENT amd64 (clang) >Organization: >Environment: FreeBSD xxx.xxx.xxx 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r257710: Tue Nov 5 19:07:14 CET 2013 xxx@xxx.xxx.xxx:/usr/obj/usr/src/sys/XXX amd64 >Description: - support STAGEDIR - add LICENSE >How-To-Repeat: >Fix: Patch attached with submission follows: diff -u sudoku_solver.orig/Makefile sudoku_solver/Makefile --- sudoku_solver.orig/Makefile 2013-10-04 07:47:37.000000000 +0200 +++ sudoku_solver/Makefile 2013-11-09 21:51:11.000000000 +0100 @@ -10,18 +10,19 @@ MAINTAINER= rhurlin@gwdg.de COMMENT= A Sudoku Solver in C +LICENSE= GPLv2 + WRKSRC= ${WRKDIR}/${DISTNAME}_${PORTVERSION} ALL_TARGET= # empty PLIST_FILES= bin/sudoku_solver -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e "s,^CC,#CC, ; s,^CFLAGS,#CFLAGS," \ ${WRKSRC}/${MAKEFILE} do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/sudoku_solver ${PREFIX}/bin + @${INSTALL_PROGRAM} ${WRKSRC}/sudoku_solver ${STAGEDIR}${PREFIX}/bin .include >Release-Note: >Audit-Trail: >Unformatted: