Created attachment 196737 [details] tetgen-1.5.0.20131104_1.patch
Hi Sasha, You've added -fPIC and patched format. But the port builds fine as of now. Why did you submit this patch? Also the subject seems wrong. Yuri
(In reply to Yuri Victorovich from comment #1) math/freefem++ failed at build Time. Below that log. > g++7 -shared -fPIC -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc7 -Wl,-rpath=/usr/local/lib/gcc7 -isystem /usr/local/include -DNDEBUG -O3 -DBAMG_LONG_LONG -DNCHECKPTR -fPIC -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc7 -Wl,-rpath=/usr/local/lib/gcc7 -isystem /usr/local/include -DNDEBUG -O3 -DBAMG_LONG_LONG -DNCHECKPTR -fPIC -isystem /usr/local/include 'tetgen.o' -o tetgen.so '-ltet' > /usr/local/bin/ld: /usr/local/lib/libtet.a(tetgen.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC > /usr/local/bin/ld: /usr/local/lib/libtet.a(predicates.o): relocation R_X86_64_32S against `.rodata.cst16' can not be used when making a shared object; recompile with -fPIC > /usr/local/bin/ld: final link failed: Nonrepresentable section on output > collect2: error: ld returned 1 exit status > gmake[4]: *** [Makefile:1994: tetgen.so] Error 1 > gmake[4]: *** Waiting for unfinished jobs....
Any news here?
ports r521362