[Bug 224794] mail/metamail: Fix build when X11 option is enabled

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 31 15:17:59 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224794

            Bug ID: 224794
           Summary: mail/metamail: Fix build when X11 option is enabled
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: lantw44 at gmail.com

Created attachment 189290
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=189290&action=edit
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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list