Created attachment 159011 [details] patch to add pkgconfig to USES variable in Makefile A partial log showing the error is pasted below. Attached is a patch that fixes the problem. ===> Building for tex-dvipsk-5.995 gmake[1]: Entering directory '/wrkdirs/usr/ports/print/tex-dvipsk/work/texlive-20150521-source/texk/dvipsk' gmake all-recursive gmake[2]: Entering directory '/wrkdirs/usr/ports/print/tex-dvipsk/work/texlive-20150521-source/texk/dvipsk' Making all in squeeze gmake[3]: Entering directory '/wrkdirs/usr/ports/print/tex-dvipsk/work/texlive-20150521-source/texk/dvipsk/squeeze' depbase=`echo squeeze.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ cc -DPACKAGE_NAME=\"dvipsk\ squeeze\" -DPACKAGE_TARNAME=\"dvipsk-squeeze\" -DPACKAGE_VERSION=\"5.97\" -DPACKAGE_STRING=\"dvipsk\ squeeze\ 5.97\" -DPACKAGE_BUGREPORT=\"tex-k@tug.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dvipsk-squeeze\" -DVERSION=\"5.97\" -I. -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing -MT squeeze.o -MD -MP -MF $depbase.Tpo -c -o squeeze.o squeeze.c &&\ mv -f $depbase.Tpo $depbase.Po cc -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing -lpaper -L/usr/local/lib -fstack-protector -o squeeze squeeze.o echo timestamp >stamp-squeeze gmake[3]: Leaving directory '/wrkdirs/usr/ports/print/tex-dvipsk/work/texlive-20150521-source/texk/dvipsk/squeeze' gmake[3]: Entering directory '/wrkdirs/usr/ports/print/tex-dvipsk/work/texlive-20150521-source/texk/dvipsk' depbase=`echo afm2tfm.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ cc -DHAVE_CONFIG_H -I. -DNO_DEBUG -DUNIX -DKPATHSEA -DSHIFTLOWCHARS -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing -MT afm2tfm.o -MD -MP -MF $depbase.Tpo -c -o afm2tfm.o afm2tfm.c &&\ mv -f $depbase.Tpo $depbase.Po /bin/sh ./libtool --tag=CC --mode=link cc -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing -lpaper -L/usr/local/lib -fstack-protector -o afm2tfm afm2tfm.o -lm libtool: link: cc -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing -fstack-protector -o afm2tfm afm2tfm.o -lpaper -L/usr/local/lib -lm afm2tfm.o: In function `main': afm2tfm.c:(.text+0x2e): undefined reference to `kpse_set_program_name' afm2tfm.c:(.text+0xf8): undefined reference to `find_suffix' afm2tfm.c:(.text+0x3ef): undefined reference to `find_suffix' afm2tfm.c:(.text+0x469): undefined reference to `kpse_open_file' afm2tfm.c:(.text+0x486): undefined reference to `kpse_open_file' afm2tfm.c:(.text+0x4dc): undefined reference to `find_suffix' afm2tfm.c:(.text+0x541): undefined reference to `find_suffix' afm2tfm.c:(.text+0x552): undefined reference to `xbasename' afm2tfm.c:(.text+0x37b1): undefined reference to `kpathsea_version_string' afm2tfm.o: In function `usage': afm2tfm.c:(.text+0x389b): undefined reference to `kpathsea_bug_address' afm2tfm.o: In function `readencoding': afm2tfm.c:(.text+0x6419): undefined reference to `kpse_open_file' afm2tfm.c:(.text+0x66ba): undefined reference to `kpse_def' cc: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:851: recipe for target 'afm2tfm' failed gmake[3]: *** [afm2tfm] Error 1 gmake[3]: Leaving directory '/wrkdirs/usr/ports/print/tex-dvipsk/work/texlive-20150521-source/texk/dvipsk' Makefile:1140: recipe for target 'all-recursive' failed gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/print/tex-dvipsk/work/texlive-20150521-source/texk/dvipsk' Makefile:747: recipe for target 'all' failed gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/print/tex-dvipsk/work/texlive-20150521-source/texk/dvipsk' *** Error code 1 Stop. make: stopped in /usr/ports/print/tex-dvipsk ====>> Cleaning up wrkdir ===> Cleaning for tex-dvipsk-5.995 build of print/tex-dvipsk ended at Mon Jul 20 02:21:31 ADT 2015 build time: 00:02:18 !!! build failure encountered !!!
A commit references this bug: Author: hrs Date: Mon Jul 20 06:34:45 UTC 2015 New revision: 392550 URL: https://svnweb.freebsd.org/changeset/ports/392550 Log: Fix dependency. PR: 201712 Changes: head/print/tex-dvipsk/Makefile