Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Feb 2013 14:07:29 +0000
From:      Chris Rees <utisoft@gmail.com>
To:        Dominic Fandrey <kamikaze@bsdforen.de>
Cc:        ports@freebsd.org, meta <meta@vmeta.jp>
Subject:   Re: If a port requires xorg-server's source tree, how to write Makefile?
Message-ID:  <CADLo839vLSPVzBenV%2BkXT_ZcJs3bsqfO7V_8AQ-NROtTvG12LA@mail.gmail.com>
In-Reply-To: <510E6995.6070600@bsdforen.de>
References:  <0336581b388d19515ad10782529b1a48@vmeta.jp> <510E6995.6070600@bsdforen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3 Feb 2013 13:44, "Dominic Fandrey" <kamikaze@bsdforen.de> wrote:
>
> 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.

I think you need :patch here, to get the patched version.

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo839vLSPVzBenV%2BkXT_ZcJs3bsqfO7V_8AQ-NROtTvG12LA>