Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Apr 2003 11:33:51 -0500
From:      "Scot W. Hetzel" <hetzels@westbend.net>
To:        "Andrew" <andrew@ugh.net.au>, <freebsd-ports@freebsd.org>
Subject:   Re: Multiple distfiles
Message-ID:  <00dd01c305c8$4bbf1d40$13fd2fd8@Admin02>
References:  <20030418222726.X89228-100000@starbug.ugh.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "Andrew" <andrew@ugh.net.au>
> I was wondering what the "proper" way was to deal with a port that has 2
> distfiles (that extract to different directories). I tried setting
> NO_WRKSUBDIR and then pade sure the paths in the patches included the
> directory name but when it comes to running make we are in the wrong
> directory (need to descend one more level).
>
> Should i jsut split it into 2 ports and make one depend on the other?
>
It depends on the application your trying to port.

Are the 2 distfiles separate applications with one depending on the other?
If they are then 2 ports would be best, as some one may only want to install
the non-dependent port.

If they are not separate applications then you'll want to set PATCH_WRKSRC
to WRKDIR.

Scot



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00dd01c305c8$4bbf1d40$13fd2fd8>