ports/156912: Fix port: mail/thunderbird occasionally breaks with gmake-3.82

Chris Rees utisoft at gmail.com
Mon May 9 19:10:08 UTC 2011


>Number:         156912
>Category:       ports
>Synopsis:       Fix port: mail/thunderbird occasionally breaks with gmake-3.82
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 09 19:10:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Chris Rees
>Release:        
>Organization:
>Environment:
>Description:
Described at [1] is a build failure, which has been tracked down to a change in allowed syntax by gmake between 3.81 and 3.82 (I tested this using both versions).

Buried under some weird ifndefs in ${WRKSRC}/mailnews/extensions/smime/build/Makefile.in is the line:

SHARED_LIBRARY_LIBS + = ../../../base/util/$(LIB_PREFIX)msgbsutl_s.$(LIB_SUFFIX)

using the (now invalid) + = syntax. This patch corrects this, thus solving the build problem for this minority of users.


[1] http://www.mail-archive.com/freebsd-questions@freebsd.org/msg246017.html
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: files/patch-mailnews-extensions-smime-build-Makefile.in
===================================================================
RCS file: files/patch-mailnews-extensions-smime-build-Makefile.in
diff -N files/patch-mailnews-extensions-smime-build-Makefile.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-mailnews-extensions-smime-build-Makefile.in	9 May 2011 19:01:08 -0000
@@ -0,0 +1,11 @@
+--- mailnews/extensions/smime/build/Makefile.in.orig	2011-05-09 18:49:18.458634807 +0100
++++ mailnews/extensions/smime/build/Makefile.in	2011-05-09 18:50:07.015309434 +0100
+@@ -81,7 +81,7 @@
+ 		$(NULL)
+ 
+ ifndef MOZ_STATIC_MAIL_BUILD
+-SHARED_LIBRARY_LIBS + = ../../../base/util/$(LIB_PREFIX)msgbsutl_s.$(LIB_SUFFIX)
++SHARED_LIBRARY_LIBS += ../../../base/util/$(LIB_PREFIX)msgbsutl_s.$(LIB_SUFFIX)
+ endif
+ 
+ ifdef MOZILLA_INTERNAL_API


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list