Hello.
ok. I've renamed the folder called "pkgsrc-wip" in "wip" and I've copied it into /usr/pkg and I've used the paths below inside the Makefile file :
make: "/usr/pkg/wip/libvirt/
buildlink3.mk" line 11: Could not find ../../security/gnutls/
buildlink3.mkmake: "/usr/pkg/wip/libvirt/
buildlink3.mk" line 12: Could not find ../../textproc/libxml2/
buildlink3.mkmake: "/usr/pkg/wip/libvirt/
buildlink3.mk" line 13: Could not find ../../devel/yajl/
buildlink3.mkmake: "/usr/pkgsrc/mk/
bsd.fast.prefs.mk" line 7: Could not find ../../mk/
bsd.prefs.mkmake: "/usr/pkgsrc/mk/
bsd.prefs.mk" line 377: Cannot open /mk/defaults/mk.conf
make: "/usr/pkgsrc/mk/
bsd.prefs.mk" line 395: Cannot open /mk/platform/NetBSD.mk
make: "/usr/pkgsrc/mk/
bsd.prefs.mk" line 636: Cannot open /mk/tools/
defaults.mkmake: "/usr/pkgsrc/mk/
bsd.prefs.mk" line 638: Malformed conditional (${FETCH_USING} == "auto")
sh: 1: Syntax error: end of file unexpected
make: "/usr/pkgsrc/mk/
bsd.prefs.mk" line 651: warning: "cd && " returned non-zero status
sh: 1: Syntax error: end of file unexpected
make: "/usr/pkgsrc/mk/
bsd.prefs.mk" line 671: warning: "cd /home/mario/Desktop/pkgsrc-wip/py-libvirt && " returned non-zero status
make: "/usr/pkgsrc/mk/
bsd.prefs.mk" line 721: Malformed conditional (${PKGSRC_MKPIE:tl} == "yes" && ${MKPIE_SUPPORTED:Uyes:tl} == "yes" && ${_OPSYS_SUPPORTS_MKPIE:Uno} == "yes")
make: "/usr/pkgsrc/mk/
bsd.prefs.mk" line 731: Malformed conditional (${PKGSRC_MKREPRO:tl} == "yes" && ${MKREPRO_SUPPORTED:Uyes:tl} == "yes" && ${_OPSYS_SUPPORTS_MKREPRO:Uno} == "yes")
make: "/usr/pkgsrc/mk/
bsd.prefs.mk" line 742: Malformed conditional (${PKGSRC_USE_FORTIFY:tl} != "no" && ${FORTIFY_SUPPORTED:Uyes:tl} == "yes" && ${_OPSYS_SUPPORTS_FORTIFY:Uno} == "yes")
make: "/usr/pkgsrc/mk/
bsd.prefs.mk" line 753: Malformed conditional (${PKGSRC_USE_RELRO:tl} != "no" && ${RELRO_SUPPORTED:Uyes:tl} == "yes" && ${_OPSYS_SUPPORTS_RELRO:Uno} == "yes")
make: "/usr/pkgsrc/mk/
bsd.prefs.mk" line 765: Malformed conditional (${PKGSRC_USE_SSP:tl} != "no" && ${SSP_SUPPORTED:Uyes:tl} == "yes" && ${_OPSYS_SUPPORTS_SSP:Uno} == "yes")
make: "/usr/pkgsrc/mk/
bsd.prefs.mk" line 776: Malformed conditional (${PKGSRC_USE_STACK_CHECK:tl} != "no" && ${STACK_CHECK_SUPPORTED:Uyes:tl} == "yes" && ${_OPSYS_SUPPORTS_STACK_CHECK:Uno} == "yes")
make: "/usr/pkgsrc/mk/
bsd.prefs.mk" line 800: Malformed conditional (empty(PKGPATH:Mpkgtools/cwrappers) && (${USE_CWRAPPERS:tl} == "yes" || (${USE_CWRAPPERS:tl} == "auto" && ${_OPSYS_SUPPORTS_CWRAPPERS:Uno} == "yes")))
make: "/usr/pkgsrc/mk/wrapper/
wrapper-defs.mk" line 33: Malformed conditional (${_USE_CWRAPPERS} == "yes")
sh: /usr/lib/libpthread.a: permission denied
sh: : not found
sh: no: not found
make: "/usr/pkgsrc/mk/buildlink3/
find-libs.mk" line 65: warning: "if "` /usr/lib/libpthread.*`" != "/usr/lib/libpthread.*"; then yes; else no; fi" returned non-zero status
sh: /usr/lib/libc_r.*: not found
sh: : not found
sh: no: not found
make: "/usr/pkgsrc/mk/buildlink3/
find-libs.mk" line 65: warning: "if "` /usr/lib/libc_r.*`" != "/usr/lib/libc_r.*"; then yes; else no; fi" returned non-zero status
sh: /usr/lib/librt.a: permission denied
sh: : not found
sh: no: not found
make: "/usr/pkgsrc/mk/buildlink3/
find-libs.mk" line 65: warning: "if "` /usr/lib/librt.*`" != "/usr/lib/librt.*"; then yes; else no; fi" returned non-zero status
make: "/usr/pkgsrc/mk/
dlopen.builtin.mk" line 9: Could not find ../../mk/buildlink3/
bsd.builtin.mksh: /usr/lib/libintl.a: permission denied
sh: : not found
sh: no: not found
make: "/usr/pkgsrc/mk/buildlink3/
find-libs.mk" line 65: warning: "if "` /usr/lib/libintl.*`" != "/usr/lib/libintl.*"; then yes; else no; fi" returned non-zero status
sh: -q: not found
sh: __nonexistent__: not found
make: "/usr/pkgsrc/mk/buildlink3/
find-headers.mk" line 92: warning: "if -q \#define\[\ \ \]\*__USE_GNU_GETTEXT /usr/include/libintl.h; then /usr/include/libintl.h; else __nonexistent__; fi" returned non-zero status
sh: -q: not found
sh: __nonexistent__: not found
make: "/usr/pkgsrc/mk/buildlink3/
find-headers.mk" line 92: warning: "if -q gentoo-multilib/.\*/libintl.h /usr/include/libintl.h; then /usr/include/libintl.h; else __nonexistent__; fi" returned non-zero status
sh: -q: not found
sh: __nonexistent__: not found
make: "/usr/pkgsrc/mk/buildlink3/
find-headers.mk" line 92: warning: "if -q char.\*ngettext /usr/include/libintl.h; then /usr/include/libintl.h; else __nonexistent__; fi" returned non-zero status
sh: -q: not found
sh: __nonexistent__: not found
make: "/usr/pkgsrc/mk/buildlink3/
find-headers.mk" line 92: warning: "if -q libgnuintl.h /usr/include/libintl.h; then /usr/include/libintl.h; else __nonexistent__; fi" returned non-zero status
make: "/usr/pkgsrc/mk/check/
bsd.check-vars.mk" line 22: Malformed conditional (${_OPSYS_CAN_CHECK_SHLIBS:tl} == "yes")
sh: -n: not found
make: "/usr/pkgsrc/mk/
unprivileged.mk" line 129: warning: " -n -u" returned non-zero status
sh: -n: not found
make: "/usr/pkgsrc/mk/
unprivileged.mk" line 132: warning: " -n -g" returned non-zero status
sh: -n: not found
make: "/usr/pkgsrc/mk/
unprivileged.mk" line 135: warning: " -n -G" returned non-zero status
make: "/usr/pkgsrc/mk/
bsd.pkg.mk" line 426: Malformed conditional (${_USE_CWRAPPERS} == "yes")
sh: /pkg_admin: not found
sh: /pkg_admin: not found
make: "${PKG_TOOLS_BIN}/pkg_admin -K ${_CROSS_DESTDIR}/usr/pkg/pkgdb config-var PKGVULNDIR" returned non-zero status
make: Fatal errors encountered -- cannot continue
make: stopped in /home/mario/Desktop/pkgsrc-wip/py-libvirt
netbsd-marietto# nano Makefile
netbsd-marietto# make
make: "/home/mario/Desktop/pkgsrc-wip/py-libvirt/Makefile" line 15: Could not find ../../wip/libvirt/
buildlink3.mkmake: "/home/mario/Desktop/pkgsrc-wip/py-libvirt/Makefile" line 16: Could not find ../../lang/python/
distutils.mkmake: "/home/mario/Desktop/pkgsrc-wip/py-libvirt/Makefile" line 17: Could not find ../../mk/
bsd.pkg.mkmake: Fatal errors encountered -- cannot continue