ports/114306: [PATCH] Fix build of mail/mutt-ng when sane-backends is installed

Christoph Moench-Tegeder cmt at burggraben.net
Wed Jul 4 23:20:06 UTC 2007


>Number:         114306
>Category:       ports
>Synopsis:       [PATCH] Fix build of mail/mutt-ng when sane-backends is installed
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 04 23:20:05 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Christoph Moench-Tegeder
>Release:        FreeBSD 6.2-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD elch.haidundneu23.net 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #2: Sat Jun 9 13:06:08 CEST 2007 cmt at elch.haidundneu23.net:/usr/obj/usr/src/sys/CMT i386

mutt-ng-20061125_2
sane-backends-1.0.18_1

>Description:
Build of mail/mutt-ng fails when sane-backends is installed: muttng ships
with a component called libsane (build in muttng-20061125/lib) which is needed
for linking muttng. Because of the linker search path, libsane from
sane-backends hides this library, so linking muttng fails with numerous
unresolved references.
>How-To-Repeat:
Install sane-backends, try to compile muttng.
>Fix:
Force mutt-ng/work/muttng-20061125/lib to the beginning of the linker
search path.
If the patch is botched by mail wrangling, grab it here:
http://www.burggraben.net/~cmt/tmp/patch_muttng

--- files/patch-Makefile.in.orig	Thu Jul  5 00:25:02 2007
+++ files/patch-Makefile.in	Thu Jul  5 00:20:19 2007
@@ -18,6 +18,15 @@
  am_makedoc_OBJECTS = makedoc.$(OBJEXT)
  makedoc_OBJECTS = $(am_makedoc_OBJECTS)
  am__objects_1 = patchlist.$(OBJEXT)
+@@ -267,7 +269,7 @@
+ INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
+ ISPELL = @ISPELL@
+ KRB5CFGPATH = @KRB5CFGPATH@
+-LDFLAGS = @LDFLAGS@
++LDFLAGS = -Llib @LDFLAGS@
+ LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@
+ LIBGNUTLS_CONFIG = @LIBGNUTLS_CONFIG@
+ LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@
 @@ -467,7 +469,6 @@
  	@rm -f stamp-h1
  	cd $(top_builddir) && $(SHELL) ./config.status config.h



Regards
Christoph

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



More information about the freebsd-ports-bugs mailing list