On 2010/10/02 14:32, Alex Libman wrote: > > I've attached a start at this (including dependencies: cpptest, > > libmetalink, liburiparser) if anyone's interested in picking it up. It > > seems to work nicely for http but metalink downloads fail for me. > > > > Thank you very much for tackling this. mulk seems like a less stable > and powerful tool than aria2 (and for an anti-GPL nut like me the > ideal solution won't come until libmetalink is integrated in curl), but > I'm sure mulk could do nicely for the time being. > > cpptest and liburiparser install OK (though if the latter's dependencies > could be shrunk that would be great).
they're build dependencies only so a package wouldn't pull them in. though actually their doc generation was broken so I disabled it in MAKE_FLAGS so these aren't needed at build time either for now. > libmetalink, on which mulk > depends, fails with "cc1: error: unrecognized option `- > fvisibility=hidden'" (details at http://pastebin.org/201). I understand > that this is a work in progress... You could try adding this to the bottom below the .include <bsd.port.mk> (actually if you want to try it on 4.7 you may need to just use the MAKE_FLAGS line). .if ! ${COMPILER_VERSION:L:Mgcc3} # otherwise it tries to use -fvisibility=hidden MAKE_FLAGS= AM_CFLAGS="-Wall -I${WRKSRC}/lib" .endif > On a semi-related note, the aria2 compile errors I posted late last > night were a goof. The proper output of configure and make is in > http://pastebin.org/1261 and http://pastebin.org/1303 respectively. > I posted an aria2 forum about this at http://tinyurl.com/obsdml . yes, I'm not too hot at C++/templates so I thought I'd go for something else. :-) I imagine it may well build with GCC 4.2 (which is used by default on several popular arch in OpenBSD 4.8 / -current).
