[pacman-dev] [PATCH 2/3] Add --with-libarchive-prefix configure option

Dan McGee dpmcgee at gmail.com
Thu Oct 14 10:34:38 EDT 2010


On Thu, Oct 14, 2010 at 9:24 AM, Nezmer <git at nezmer.info> wrote:
> On Thu, Oct 14, 2010 at 09:05:45AM -0500, Dan McGee wrote:
>> On Thu, Oct 14, 2010 at 8:56 AM, Nezmer <git at nezmer.info> wrote:
>> > This will allow us to build against libarchive wherever It is installed
>> > in the system.
>> >
>> > Signed-off-by: Nezmer <git at nezmer.info>
>>
>> Why not just do things like this? Less hassle for us to maintain, we
>> don't do this for any other library, etc.
>>
>> ./configure CPPFLAGS=-I/non-standard-dir/include LDFLAGS=-L/non-standard-dir/lib
>>
>> -Dan
>>
>
> That's how I'm already doing it:
> http://gitorious.org/pacman-bsd/srcpkgs/blobs/untested/pacman-bsd/PKGBUILD
>
> So, I don't mind If you send this strait to trash.
>
> I'm just sharing patches.

Ahh, OK. I was just looking around at what is recommended in this
situation and I didn't know what was up. I think it would be best to
just leave this out, as it is tied to this one library and doesn't
seem like something that many people are going to have to worry about.
Those that do can just use the CFLAGS/LDFLAGS override.

-Dan


More information about the pacman-dev mailing list