Xournal: Please, help me with my first port

Chris Rees utisoft at gmail.com
Sun Jan 23 17:14:07 UTC 2011


If prefix works without the CONFIGURE_ARGS then take it out. I put that line
in when experimenting with making it datadir safe.

The capitalization is my one-person campaign, so I fully expected it to be
ignored!

Chris

--------

Sorry for top-posting, Android won't let me quote, but K-9 can't yet do
threading.
On 23 Jan 2011 16:59, "Jan Henrik Sylvester" <me at janh.de> wrote:
> On 01/23/2011 17:35, Chris Rees wrote:
>> On 23 January 2011 16:24, Jan Henrik Sylvester<me at janh.de> wrote:
>>> On 01/23/2011 11:42, Chris Rees wrote:
>>>>
>>>> Take a look at the new patch so far; I'm still working on Busybox at
>>>> the moment, so I'm afraid I can't step too much more through it, but
>>>
>>> Just a question about what you did so far: Why the
>>> "CONFIGURE_ARGS+=--prefix=${PREFIX}"? I have tested with a different
PREFIX
>>> before and it was successful -- that is what the second part of the
>>> REINPLACE accomplished. What does your line improve?
>>>
>>> Or is it a first step, if I wanted to make the port DATADIR-safe?
>
> Should I include that line?
>
> (I have just retested: The port installs to the correct PREFIX without
> that line and seems to be working fine.)
>
>>> I believe that it is correct what portlint says: "If and only if your
port
>>> is DATADIR-safe (that is, a user can override DATADIR when building this
>>> port and the port will still work correctly) consider using DATADIR
macro;
>>> if you are unsure if this port is DATADIR-safe, then ignore this
warning".
>>> Thus, there should not be DATADIR in my pkg-plist as long as the port is
not
>>> DATADIR-safe.
>>>
>>
>> Perhaps you should ignore the portlint warnings and leave it as
>> share/xournal then.
>
> Thanks.
>
> BTW: I am going to ignore your capitalization of "makefile" in the first
> line, too, since it is non-capitalized in the porters handbook and 20210
> over 240 ports go for the non-capitalized variant.
>
> Cheers,
> Jan Henrik


More information about the freebsd-ports mailing list