graphics/pqiv fails to build

serpent7776 serpent7776 at gmail.com
Fri Sep 6 14:46:04 UTC 2013


Hello,

graphics/pqiv fails to build.
building with portmaster gives this (trimmed) errors:

-------CUT HERE
===>  Building for pqiv-0.12_1
(cd /usr/ports/graphics/pqiv/work/pqiv-0.12 && cc $( --cflags gtk+-2.0
gthread-2.0) -O2 -pipe -march=athlon64 -DNO_INOTIFY -DBINARY_NAME=\"pqiv\"
-fno-strict-aliasing -std=gnu89 lib/strnatcmp.c pqiv.c  -o pqiv
-L/usr/local/lib $( --libs gtk+-2.0 gthread-2.0))
--cflags: not found
--libs: not found
pqiv.c:25:21: error: gtk/gtk.h: No such file or directory
pqiv.c:26:18: error: glib.h: No such file or directory
pqiv.c:27:25: error: glib/gstdio.h: No such file or directory
pqiv.c:28:28: error: gdk/gdkkeysyms.h: No such file or directory
#
# lots of errors here
#
*** [do-build] Error code 1

Stop in /usr/ports/graphics/pqiv.
*** [build] Error code 1

Stop in /usr/ports/graphics/pqiv.

===>>> make failed for graphics/pqiv
===>>> Aborting update

===>>> Killing background jobs
Terminated

===>>> You can restart from the point of failure with this command line:
       portmaster <flags> graphics/pqiv 

===>>> Exiting
-------CUT HERE

Problem seems to be these two lines in Makefile:

CPPFLAGS+=	$$(${pkgconfig_DETECT} --cflags gtk+-2.0 gthread-2.0)
LDFLAGS+=	$$(${pkgconfig_DETECT} --libs gtk+-2.0 gthread-2.0)

${pkgconfig_DETECT} is expanded to nothing.

Anyone had similar issue?

-- 
"
" Serpent
"


More information about the freebsd-ports mailing list