Created attachment 189290 [details] Patch for building metamail with X11 option enabled It has been broken for more than one year. r412348 is the last version I can build successfully. ===> Building package for metamail-2.7_14 pkg-static: Unable to access file /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/mailto-hebrew:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/bin/shownonascii:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/lib/metamail/fonts/heb6x13.pcf:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/lib/metamail/fonts/heb8x13.pcf:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/lib/metamail/fonts/heb8x13B.pcf:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/lib/metamail/fonts/fonts.dir:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/mail/metamail/work/stage/usr/local/lib/metamail/fonts/fonts.alias:No such file or directory *** Error code 1 Stop. make: stopped in /usr/ports/mail/metamail The problem is that later commits remove patches required to install fonts and add patches to ignore mailto-hebrew and shownonascii. To fix the problem, I moved the original patch-Makefile to X11_EXTRA_PATCHES_OFF and made a new patch based on patch-Makefile for X11_EXTRA_PATCHES. Since I could not find a way to generate a svn patch that could be applied easily when there are renamed or copied files, applying the patch I attached here requires running 'svn mv' and 'svn cp' commands first. Steps to apply the patch: 1. svn cp files/patch-Makefile files/extra-patch-Makefile-x11 2. svn mv files/patch-Makefile files/extra-patch-Makefile-nox11 3. svn patch metamail.patch
A commit references this bug: Author: pi Date: Mon Jan 1 09:09:52 UTC 2018 New revision: 457758 URL: https://svnweb.freebsd.org/changeset/ports/457758 Log: mail/metamail: fix build with X11 option enabled - It has been broken for more than one year. r412348 was the last buildable version PR: 224794 Submitted by: Ting-Wei Lan <lantw44@gmail.com> Changes: head/mail/metamail/Makefile head/mail/metamail/files/extra-patch-Makefile-nox11 head/mail/metamail/files/extra-patch-Makefile-x11 head/mail/metamail/files/patch-Makefile
Testbuilds are fine, committed, thanks!