Subject: package build using source from another package
To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 05/01/2003 12:27:50
Any ideas or examples of building one package that depends on source code
from another package?

Should I just unextract the other distfile to the local WRKDIR or is it
okay to extract that other source in its own?

This is what I have working now (for my security/iptables):

        cd ${WRKSRC} && \
                MANDIR=${LOCALBASE}/man \

Notice the KERNEL_DIR part. It is hard-coded so I need to adjust.

But I think it would be better to just have a post-extract target to
unextract to local WRKDIR using a distfile that it figures out from a

   Jeremy C. Reed