Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  3 Jun 2008 18:28:29 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/124235: lang/fpc, lang/fpc-utils: some improvements needed
Message-ID:  <20080603142829.AD8611702D@hades.panopticon>
Resent-Message-ID: <200806031430.m53EU3at061321@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080603142829.AD8611702D>