HELP needed by experienced porter for simple review
Jeremy Messenger
mezz7 at cox.net
Thu Dec 6 15:23:35 PST 2007
On Thu, 06 Dec 2007 06:34:05 -0600, GP <godpost at gmail.com> wrote:
>> - Respect the CC, CFLAGS and LOCALBASE. See in post-patch.
>> - Add kissdx.in in 'files' directory.
>> - Remove that add_to_conf stuff in Makefile, use pkg-message.
>
> Thank you Mezz, for going through my makefiles and making it conform to
> the principals of
> the ports system.
No problem.
> That was a very big help to me and an effort beyond expectation.
> It gave me a new understanding of /files that I will pass on to the doc
> team and
> hopefully into the next version of porters handbook.
>
> rc.conf
> It's a shame that I can't use a script placed in /files to change
> rc.conf during install/
> deinstall. I really liked that. But i guess I will settle with a dull
> pkg-message at the
> end, like the rest of you...
I dislike any ports to touch in my /etc/*. :-)
> Source Makefile
> Since I made the (simple) source Makefile, I would have liked to take
> advantage of the
> many predefined macros/variables i the port Makefile.
> It seems strange to me, to pass them as a patch (like this: s|CC?=
> gcc|CC?= ${CC}|g )
>
> How many of them if any, are passed on to the source makefile? Are there
> a way to turn
> them all on? if that: any documentation? (except the bsd.ports.mk file)
The CC part is documented in the porter handbook, I believe. Same as with
CFLAGS.
Cheers,
Mezz
> BR, Simon
--
mezz7 at cox.net - mezz at FreeBSD.org
FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org
http://wiki.freebsd.org/multimedia - multimedia at FreeBSD.org
More information about the freebsd-ports
mailing list