The question is simple : how to deinstall fully gnome3 ?
pkg autoremove
and it did his work. Then I tried to install gnome3 with portmaster x11/gnome3
but it spits out the same error as before :./.libs/libcogl.so: undefined reference to `eglInitialize'
./.libs/libcogl.so: undefined reference to `eglQuerySurface'
./.libs/libcogl.so: undefined reference to `eglDestroyContext'
./.libs/libcogl.so: undefined reference to `eglCreateContext'
./.libs/libcogl.so: undefined reference to `eglMakeCurrent'
./.libs/libcogl.so: undefined reference to `eglGetProcAddress'
./.libs/libcogl.so: undefined reference to `eglQueryString'
./.libs/libcogl.so: undefined reference to `eglSwapBuffers'
./.libs/libcogl.so: undefined reference to `eglGetConfigAttrib'
./.libs/libcogl.so: undefined reference to `eglDestroySurface'
./.libs/libcogl.so: undefined reference to `eglSwapInterval'
./.libs/libcogl.so: undefined reference to `eglGetError'
./.libs/libcogl.so: undefined reference to `eglBindAPI'
./.libs/libcogl.so: undefined reference to `eglGetDisplay'
./.libs/libcogl.so: undefined reference to `eglTerminate'
./.libs/libcogl.so: undefined reference to `eglCreateWindowSurface'
./.libs/libcogl.so: undefined reference to `eglChooseConfig'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
linking of temporary binary failed: Command '['/bin/sh', '../libtool', '--mode=link', '--tag=CC', '--silent', 'cc', '-o', '/usr/ports/graphics/cogl/work/cogl-1.20.0/cogl/tmp-introspecthy5QXI/Cogl-2.0', '-export-dynamic', '-I/usr/local/include', '-O2', '-pipe', '-fstack-protector', '-fno-strict-aliasing', '-L/usr/local/lib', '-fstack-protector', '/usr/ports/graphics/cogl/work/cogl-1.20.0/cogl/tmp-introspecthy5QXI/Cogl-2.0.o', '-L.', 'libcogl.la', '../test-fixtures/libtest-fixtures.la', '-L/usr/local/lib', '-lgio-2.0', '-lgobject-2.0', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-lglib-2.0', '-lintl']' returned non-zero exit status 1
/usr/local/share/gobject-introspection-1.0/Makefile.introspection:153: recipe for target 'Cogl-2.0.gir' failed
gmake[5]: *** [Cogl-2.0.gir] Error 1
gmake[5]: Leaving directory '/usr/ports/graphics/cogl/work/cogl-1.20.0/cogl'
Makefile:2738: recipe for target 'all-recursive' failed
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory '/usr/ports/graphics/cogl/work/cogl-1.20.0/cogl'
Makefile:1409: recipe for target 'all' failed
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory '/usr/ports/graphics/cogl/work/cogl-1.20.0/cogl'
Makefile:598: recipe for target 'all-recursive' failed
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory '/usr/ports/graphics/cogl/work/cogl-1.20.0'
Makefile:525: recipe for target 'all' failed
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory '/usr/ports/graphics/cogl/work/cogl-1.20.0'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/ports/graphics/cogl