I wrote a small C program that I wanted to submit through the ports system as described through the Porter's Handbook. The process of writing the Makefile so it would run from
# from /usr/ports/sysutils/mkrfile(the port name)
Both steps work properly, so then:
# from /usr/ports/ (the handbook says "... please generate the .diff from the base of your ports tree.") :
But instead of generating a file of the form
4 digit number - category - port names - string.patch.
Do I need to clean or resync my ports tree without the new port directory, recreate
make fetch
to make install
ended up successful and I started to try to submit the Makefile and pkg-descr files for the port through Submitting Ports as so:# from /usr/ports/sysutils/mkrfile(the port name)
$ git add .
$ git diff --staged
Both steps work properly, so then:
# from /usr/ports/ (the handbook says "... please generate the .diff from the base of your ports tree.") :
$ git commit
$ git format-patch origin/main
But instead of generating a file of the form
${PORTNAME}.diff
, I end up with 702 files of the form:4 digit number - category - port names - string.patch.
Do I need to clean or resync my ports tree without the new port directory, recreate
sysutils/mkrfile
and resubmit with the files?