I made a new port for log4cplus (http://log4cplus.sourceforge.net/)
A tar file is attached with the port files. Please review it and provide your feedback. While I have created and maintained hundreds of packages, this is my first time on OpenBSD. I do have (at least) one problem though. When I build it without using ports and link with the library it works fine. But when I link the library built using ports tree I get: /usr/bin/ld: /usr/local/lib/liblog4cplus.a(configurator.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC /usr/local/lib/liblog4cplus.a: could not read symbols: Bad value To compare, the two build logs are at: configure, make, make install using extracted source tarball: http://git.bind10.isc.org/~jreed/tmp/build.txt make install within my new port: http://git.bind10.isc.org/~jreed/tmp/build-ports.txt The first difference I see is the ports uses /usr/ports/infrastructure/bin/libtool and ar and ranlib. While building from source uses libtool and libtool wrapper to run ar and ranlib. Any ideas on this? Thanks Jeremy C. Reed echo 'EhZ[h ^jjf0%%h[[Zc[Z_W$d[j%Xeeai%ZW[ced#]dk#f[d]k_d%' | \ tr '#-~' '\-.-{'
devel-ports-log4cplus.tar
Description: Binary data
