If a port requires xorg-server's source tree, how to write Makefile?

Dominic Fandrey kamikaze at bsdforen.de
Sun Feb 3 13:43:53 UTC 2013


On 03/02/2013 13:30, meta wrote:
> Hi,
> 
> A few times I've already posted freebsd-ports list that I'm working for
> creating a port net/tigervnc. It is almost be done  but I have a question.
> 
> TigerVNC's source tree is not complete to make everything.  We have to
> put freebsd-patched xorg-server's source tree into its tree. I tried
> like this. It builds fine with WITH_NEW_XORG and old xorg.
> 
> Is this a bad idea? Should I take another way?
> 
> post-extract:
>   ${MAKE} -C ../../x11-servers/xorg-server patch
>   ${CP} -R ../../x11-servers/xorg-server/work/xorg-server-${XORG_VERSION}/* \
>            ${WRKSRC}/unix/xserver/
> 
> post-clean:
>   ${MAKE} -C ../../x11-servers/xorg-server clean

BUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/x11-servers/xorg-server:extract

See the Porters' Handbook section 5.8.

Regards

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 


More information about the freebsd-ports mailing list