Solved libgdiplus won't build


At updating packages using portmaster -a I noticed that libgdiplus won't build anymore.
Tried to make deinstall clean and make install in ports dir but that doesn't make any difference.
When I try to use pkg install libgdiplus another error comes up:
pkg: jpeg-turbo-1.5.1 conflicts with jpeg-8_7 (installs files into the same place).  Problematic file: /usr/local/bin/cjpeg

When building using ports tree:
testgdi.o: In function `win_draw':
testgdi.c:(.text+0x1e6): undefined reference to `GdipCreateFromXDrawable_linux'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [Makefile:622: testgdi] Error 1
gmake[3]: *** Waiting for unfinished jobs....
mv -f .deps/testreversepath.Tpo .deps/testreversepath.Po
gmake[3]: Leaving directory '/usr/ports/x11-toolkits/libgdiplus/work/libgdiplus-4.2/tests'
gmake[2]: *** [Makefile:478: all-recursive] Error 1
gmake[2]: Leaving directory '/usr/ports/x11-toolkits/libgdiplus/work/libgdiplus-4.2'
gmake[1]: *** [Makefile:385: all] Error 2
gmake[1]: Leaving directory '/usr/ports/x11-toolkits/libgdiplus/work/libgdiplus-4.2'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

make: stopped in /usr/ports/x11-toolkits/libgdiplus

===>>> make build failed for x11-toolkits/libgdiplus
===>>> Aborting update

===>>> Update for x11-toolkits/libgdiplus failed
===>>> Aborting update

What else can I try?
You need to update your system more often.

  AFFECTS: users of graphics/jpeg

  Default implementation of jpeg has been switched from graphics/jpeg to
  graphics/jpeg-turbo.  To perform the upgrade, use instructions below.

  If using binary packages: 'pkg upgrade' will do the right thing.  If it
  doesn't and complains about 'Cannot solve problem using SAT solver', run
  'pkg delete -f jpeg' before 'pkg upgrade'.

  If using portmaster:
  # portmaster -o graphics/jpeg-turbo jpeg

  If using portupgrade:
  # portupgrade -f -o graphics/jpeg-turbo graphics/jpeg

  If you compile your ports and want to keep using IJG's jpeg implementation,
  add this line to your /etc/make.conf file:
Yes, that's a message from November 2015.
That's strange, I update almost every week using portmaster -a and freebsd-update fetch install
The pkg upgrade indeed fixed the problem.