Hi,
I do my own package builds using "make package" and for a while I've
been noticing packages having odd dependencies attached to them. Taking
one for example, devel/gamin, here's what I get:
$ pkg_info -r gamin-0.1.10_4.tbz
Information for gamin-0.1.10_4.tbz:
Depends on:
Dependency: python26-2.6.6
Dependency: perl-5.10.1_2
Dependency: pkg-config-0.25_1
Dependency: pcre-8.10
Dependency: libiconv-1.13.1_1
Dependency: gettext-0.18.1.1
Dependency: glib-2.24.2
Taking a closer look at the contents of this package reveals no
dependence on python, perl, or pkg-config though.
In desperation to rid my packages of perl and python dependence I hacked
a bit in Mk/bsd.port.mk, removing line 5509:
[ -z "$$packagelist" ] || ${AWK} -F '( |:)' 'BEGIN { pkgname="broken_contents" } /@pkgdep / {
pkgname=$$2 } /@comment DEPORIGIN:/ { printf "%s:%s\n", pkgname, $$3; pkgname="broken_contents" }'
$$packagelist;
Which results in:
$ pkg_info -r gamin-0.1.10_4.tbz
Information for gamin-0.1.10_4.tbz:
Depends on:
Dependency: pkg-config-0.25_1
Dependency: gettext-0.18.1.1
Dependency: glib-2.24.2
Which also corresponds with "make run-depends-list" and devel/gamin's
Makefile. I'm guessing pkg-config is getting added by bsd.gnome.mk.
So this boils down to two questions:
1. What is the correct fix for the above?
2. Is it necessary to have packages depend on pkg-config, a build tool,
when they won't be building anything? (should I ask on freebsd-gn...@?)
Thanks,
Aragon
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"