From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jun 3 14:30:04 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C7C91065676 for ; Tue, 3 Jun 2008 14:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DDCD38FC19 for ; Tue, 3 Jun 2008 14:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m53EU3hW061324 for ; Tue, 3 Jun 2008 14:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m53EU3at061321; Tue, 3 Jun 2008 14:30:03 GMT (envelope-from gnats) Resent-Date: Tue, 3 Jun 2008 14:30:03 GMT Resent-Message-Id: <200806031430.m53EU3at061321@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, Dmitry Marakasov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 514EF1065676 for ; Tue, 3 Jun 2008 14:28:27 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from cp65.agava.net (cp65.agava.net [89.108.66.215]) by mx1.freebsd.org (Postfix) with ESMTP id C5AE78FC1D for ; Tue, 3 Jun 2008 14:28:26 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by cp65.agava.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1K3XbY-000FB1-Ix for FreeBSD-gnats-submit@freebsd.org; Tue, 03 Jun 2008 18:35:16 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id B2F1E75E6 for ; Tue, 3 Jun 2008 18:28:57 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id AD8611702D; Tue, 3 Jun 2008 18:28:29 +0400 (MSD) Message-Id: <20080603142829.AD8611702D@hades.panopticon> Date: Tue, 3 Jun 2008 18:28:29 +0400 (MSD) From: Dmitry Marakasov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/124235: lang/fpc, lang/fpc-utils: some improvements needed X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dmitry Marakasov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jun 2008 14:30:04 -0000 >Number: 124235 >Category: ports >Synopsis: lang/fpc, lang/fpc-utils: some improvements needed >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: Tue Jun 03 14:30:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 7.0-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD hades.panopticon 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #0: Fri Apr 25 11:18:45 MSD 2008 root@hades.panopticon:/usr/obj/usr/src/sys/HADES i386 >Description: I've just submitted PR for new port games/hedgewars (ports/124234), it's opensource worms clone. It uses fpc, and I've ran into some (non-critical) issues with it, so I think it could be improved is some ways. First of all, there's no clear way to depend on fpc modules. I've used BUILD_DEPENDS=${LOCALBASE}/lib/fpc/2.2.0/units/i386-freebsd/opengl/Package.fpc:${PORTSDIR}/x11/fpc-x11 but this is badly broken because fpc version and arch are hardcoded here. Next, many fpc modules depend on lang/fpc-utils, whict in turn depends on MANY things (almost all database client ports for instance). But actually in most cases only fpcmake is really needed. I can confirm that in case of games/hedgewars, x11/fpc-x11, graphics/fpc-opengl: after hacking fpc-utils to only install fpcmake, everything went without any problems. So I think fpcmake should really be moved into the separate port. Last, but not least: fpc seem to support amd64, but the port doesn't. Lately I've seen some new software written in fpc, and I think both users and port maintainers could benefit from improving fpc support in FreeBSD port system. So we definitely need to move stuff from lang/fpc/Makefile.units to bsd.fpc.mk to handle dependencies and other stuff gracefully and improve fpc-utils port to not bring in useless depends. I'm eager to help with this stuff when I have some more free time by the end of the month. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: