On Sat, 17 Jan 2015, the wise Scot Hetzel wrote:

On line 41 of the current ports Makefile, it shows tech-notes.txt:

41 PORTDOCSdoc= brochure.txt tech-notes.txt

Then on lines 163-164 in the post-install stage it tries to install them:

163 .for f in ${PORTDOCSdoc}
164   ${INSTALL_MAN} ${WRKSRC}/doc/$f ${STAGEDIR}${DOCSDIR}
165 .endfor

Change the PORTDOCSdoc variable to:

PORTDOCSdoc= brochure.txt tech-notes/tech-notes.txt

This should install the tech-notes.txt file into the ${DOCSDIR}.

The other option is to remove tech-notes.txt from PORTDOCSdoc and
added it to PORTDOCShtml.  Then update the pkg-plist for the new
location.

Thank you too Scot for your help. After adjusting these lines (and also one in line 145) this part seems to work.

Now it gives a compile error and a lot of warnings during compiling.

The 2 errors are:

maildir.c:1720:66: error: too few arguments to function call, expected 2, have 1
  if (maildir_canonicalize (test, ref, pat) && (s = sm_read (&sdb))) {
                                                    ~~~~~~~      ^
maildir.c:1722:30: error: too few arguments to function call, expected 2, have 1 while ((s = sm_read (&sdb)) != NULL); /* until no more subscriptions */


Regards,
Marco
_______________________________________________
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