On Sat, Sep 21, 2013 at 11:21 PM, Bryan Drewery <br...@shatow.net> wrote:
> On 9/21/2013 5:08 PM, Big Lebowski wrote: > > On Fri, Sep 20, 2013 at 10:26 PM, Bryan Drewery <br...@shatow.net> > wrote: > > > >> You also need this in the pkg-plist to fix it being a leftover: > >> > >> @dirrmtry %%RIAK_DBDIR%% > >> > > > > Unfortunately this doesnt work, because it gets expanded to > > /usr/local//var/db/riak from pkg-plist. That's why its not there. > > > RIAK_DBDIR?= /var/db/${PORTNAME} > > You have it right there as /var/db, there is no PREFIX there for > /usr/local to slip in. This is correct, but I've tried it, and '@dirrmtry %%RIAK_DBDIR%%' results in /usr/local//var/db.riak - which doesnt exist. > Perhaps you have RIAK_DBDIR=/usr/local/var/db in > your make.conf? No, I dont, my RIAK_DBDIR is the one that's default in Makefile. > And even if you do, it should try to remove any > directory it creates on uninstall. It doesn't matter where it is. > Of course, I understand that, but the problem is, that I dont see how to do it: the proper @dirrmtry doesnt work as expected, and @unexec with rm will delete everything, even when there's data inside, what I think should not be done. > > Having a leftover like that means the port will not be committed. > I would love to fix it, but I've no idea how. B. > > > > > B. > > > > > >> > >> That will only remove the directory if it is empty. > >> > >> On Fri, Sep 20, 2013 at 06:57:52PM +0100, Big Lebowski wrote: > >>> Hi list! > >>> > >>> I've been working for couple last days on porting Basho Riak database > >>> (latest version 1.4.2) and finally I think it is ready to be presented: > >>> https://www.dropbox.com/s/2ztu2bdiip1u2un/riak.tgz > >>> > >>> Please, grab the port and test it on anything you can, break it in any > >> way > >>> possible, and comment on anything you see that's been done wrong - I am > >>> open to any suggestion on how to make it worthy candidate for send-pr > >> with > >>> port submission. > >>> > >>> Any help will be highly appreciated and will motivate me to port more > >> cool > >>> software to FreeBSD! ;) > >>> > >>> Kind regards, > >>> S. > >>> _______________________________________________ > >>> freebsd-ports@freebsd.org mailing list > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports > >>> To unsubscribe, send any mail to " > freebsd-ports-unsubscr...@freebsd.org" > >> > > _______________________________________________ > > freebsd-ports@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" > > > > > _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"