From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Sep 15 20:40:00 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 AF22E2DB for ; Sun, 15 Sep 2013 20:40:00 +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 8EFDC2487 for ; Sun, 15 Sep 2013 20:40: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 r8FKe0Zd091324 for ; Sun, 15 Sep 2013 20:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8FKe046091323; Sun, 15 Sep 2013 20:40:00 GMT (envelope-from gnats) Resent-Date: Sun, 15 Sep 2013 20:40:00 GMT Resent-Message-Id: <201309152040.r8FKe046091323@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, olli hauer 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 95088271 for ; Sun, 15 Sep 2013 20:31:08 +0000 (UTC) (envelope-from ohauer@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 6888C2450 for ; Sun, 15 Sep 2013 20:31:08 +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 r8FKV8Wq091203 for ; Sun, 15 Sep 2013 20:31:08 GMT (envelope-from ohauer@freefall.freebsd.org) Received: (from ohauer@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8FKV85g091202; Sun, 15 Sep 2013 20:31:08 GMT (envelope-from ohauer) Message-Id: <201309152031.r8FKV85g091202@freefall.freebsd.org> Date: Sun, 15 Sep 2013 20:31:08 GMT From: olli hauer To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/182126: [patch] ports-mgmt/chucky allow build with gcc and honor PREFIX 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, 15 Sep 2013 20:40:00 -0000 >Number: 182126 >Category: ports >Synopsis: [patch] ports-mgmt/chucky allow build with gcc and honor PREFIX >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Sep 15 20:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: ohauer >Release: FreeBSD 8.4-RELEASE-p4 amd64 >Organization: >Environment: >Description: - port builds fine with base gcc, but CC=clang ist hard coded in the SRC Makefile - honor PREFIX (to work with tools like genplist) - fix pkg-message, first MAN location is OK, apply 's|/share||' for all others - since only one binary is installed use PLIST_FILES and remove pkg-plist >How-To-Repeat: >Fix: --- chucky.diff begins here --- Index: Makefile =================================================================== --- Makefile (revision 327357) +++ Makefile (working copy) @@ -30,6 +30,7 @@ SUB_FILES= pkg-message SUB_LIST= MAN7PREFIX="${MAN7PREFIX}" +PLIST_FILES= bin/chucky PORTDOCS= * .include Index: files/patch-Makefile =================================================================== --- files/patch-Makefile (revision 0) +++ files/patch-Makefile (working copy) @@ -0,0 +1,15 @@ +--- ./Makefile.orig 2013-03-22 05:11:27.000000000 +0100 ++++ ./Makefile 2013-09-15 22:11:22.000000000 +0200 +@@ -1,8 +1,7 @@ +-prefix=/usr/local +-man7dir=/usr/local/man/man7 +-CC=clang +-CFLAGS=-I/usr/local/include +-LDFLAGS=-L/usr/local/lib -lsqlite3 ++prefix=${PREFIX} ++man7dir=${PREFIX}/man/man7 ++CFLAGS=-I${LOCALBASE}/include ++LDFLAGS=-L${LOCALBASE}/lib -lsqlite3 + + all: chucky + Index: files/pkg-message.in =================================================================== --- files/pkg-message.in (revision 327357) +++ files/pkg-message.in (working copy) @@ -5,9 +5,9 @@ man page is installed in %%MAN7PREFIX%%/man/man7, if you do not yet have the configuration in /etc/man.conf, add -MANPATH /usr/local/share/man +MANPATH %%MAN7PREFIX%%/man -to view all man pages which are installed in /usr/local/share/man/manX/ +to view all man pages which are installed in %%MAN7PREFIX%%/man/manX/ ************************************************************************ Index: pkg-plist =================================================================== --- pkg-plist (revision 327357) +++ pkg-plist (working copy) @@ -1 +0,0 @@ -bin/chucky --- chucky.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: