Bug 170228

Summary: [patch] mail/enigmail: unbreak after gecko update
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
moz_objdir.diff none

Description Jan Beich freebsd_committer freebsd_triage 2012-07-28 08:30:09 UTC
After the recent gecko update OBJDIR_BUILD ports are now built from
WRKSRC/obj-CONFIGURE_TARGET instead of WRKSRC. It was done to avoid
certain bugs and make build similar to a client.mk one (e.g. PGO).

Besides, CONFIGURE_TARGET on amd64 was changed to x86_64 to match
upstream builds and reduce the amout of ever-increasing trivial patches.

Fix: Use MOZSRC like an objdir. It's closest in meaning, i.e.

  mozilla/dist/bin

is guaranteed exist unlike

  comm-release/mozilla/dist
  comm-release/mailnews/extensions

While here I've sped build with make jobs.
How-To-Repeat: $ make
===>  Building for seamonkey-enigmail-1.4.2
cd /work/a/ports/mail/enigmail-seamonkey/work/comm-release/mailnews/extensions/enigmail && ./makemake -r
INFO: found toplevel source directory /work/a/ports/mail/enigmail-seamonkey/work/comm-release
INFO: no MOZ_OBJDIR used
Processing: /work/a/ports/mail/enigmail-seamonkey/work/comm-release/mailnews/extensions/enigmail/build
Processing: /work/a/ports/mail/enigmail-seamonkey/work/comm-release/mailnews/extensions/enigmail/ipc/build
Processing: /work/a/ports/mail/enigmail-seamonkey/work/comm-release/mailnews/extensions/enigmail/ipc
Processing: /work/a/ports/mail/enigmail-seamonkey/work/comm-release/mailnews/extensions/enigmail/ipc/modules
Processing: /work/a/ports/mail/enigmail-seamonkey/work/comm-release/mailnews/extensions/enigmail/ipc/public
Processing: /work/a/ports/mail/enigmail-seamonkey/work/comm-release/mailnews/extensions/enigmail/ipc/src
Processing: /work/a/ports/mail/enigmail-seamonkey/work/comm-release/mailnews/extensions/enigmail/ipc/tests
Processing: /work/a/ports/mail/enigmail-seamonkey/work/comm-release/mailnews/extensions/enigmail/lang
Processing: /work/a/ports/mail/enigmail-seamonkey/work/comm-release/mailnews/extensions/enigmail/package
Processing: /work/a/ports/mail/enigmail-seamonkey/work/comm-release/mailnews/extensions/enigmail/public
Processing: /work/a/ports/mail/enigmail-seamonkey/work/comm-release/mailnews/extensions/enigmail/src
Processing: /work/a/ports/mail/enigmail-seamonkey/work/comm-release/mailnews/extensions/enigmail/ui/content
Processing: /work/a/ports/mail/enigmail-seamonkey/work/comm-release/mailnews/extensions/enigmail/ui
Processing: /work/a/ports/mail/enigmail-seamonkey/work/comm-release/mailnews/extensions/enigmail/ui/skin/classic
Processing: /work/a/ports/mail/enigmail-seamonkey/work/comm-release/mailnews/extensions/enigmail/ui/skin/tb-mac
Processing: /work/a/ports/mail/enigmail-seamonkey/work/comm-release/mailnews/extensions/enigmail
Done

cd /work/a/ports/mail/enigmail-seamonkey/work/comm-release/mailnews/extensions/enigmail && /usr/bin/env TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  MOTIFLIB="-L/usr/local/lib -lXm -lXp" LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing"  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444"  BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"  BSD_INSTALL_DATA="install  -o root -g wheel -m 444"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444" gmake
Makefile:45: ../../../config/autoconf.mk: No such file or directory
/work/a/ports/mail/enigmail-seamonkey/work/comm-release/config/config.mk:57: ../../../config/autoconf.mk: No such file or directory
gmake: *** No rule to make target `../../../config/autoconf.mk'.  Stop.
*** Error code 2
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-07-28 08:30:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2012-08-09 09:33:32 UTC
State Changed
From-To: open->closed

Already fixed in a different way, thanks.