Hello.

I'm trying to create a new port and there are some things I don't understand.

Referring to chapter 9 of the Porter's Handbook:

_ "make clean; make package PREFIX=/var/tmp/`make -V PORTNAME`" gives no error;

_ "make stage && make check-orphans && make package" also finds no issue;

_ however "port test" gives:

===> Checking for directories owned by MTREEs
Error: Owned by MTREE: @unexec rmdir "/usr/local" >/dev/null 2>&1 || :

What does this mean?




Then I'm trying to add a desktop entry, but if I add the following line to Makefile:
DESKTOP_ENTRIES="FreeCAD" "${COMMENT}" "${PREFIX}/data/Mod/Start/StartPage/FreeCAD.png" 
"FreeCAD" "Graphics;" true

"make clean; make package PREFIX=/var/tmp/`make -V PORTNAME`" will give:

pkg-static: 
lstat(/usr/home/andrea/FreeCAD/port/work/stage/usr/local/share/applications/FreeCAD.desktop):
 No such file or directory

Any hint on what's wrong with the above?



 Thanks and until the next questions :)
        av.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to