Need help with new port math/ggobi

b. f. bf1783 at
Sun Jan 31 14:36:22 UTC 2010

On 1/31/10, Rainer Hurling <rhurlin at> wrote:
> I have a last question before I will do send-pr for my new port math/ggobi.
> The original program wants to install 'ggobi.pc' under
>    /usr/local/lib/pkgconfig/
> instead of
>    /usr/local/libdata/pkgconfig/
> I wrote a small patch in Makefile to change the location:
> post-patch:
> 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
> 		${WRKSRC}/ \
> 		${WRKSRC}/
> Do you think this replacement is save enough if someone wants to install
> in another place?

At first glance, it looks okay, although if you are not remaking, you could probably just patch, and ignore  But since you are already using some components of
Gnome, you could instead just add 'gnomehack' to USE_GNOME, which
already has some boilerplate code to do this, rather than adding your
own custom post-patch target.  Also, I think that you can use @dirrm
instead of @dirrmtry for  etc/xdg/ggobi (although not for etc/xdg).


More information about the freebsd-ports mailing list