Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Feb 2012 11:05:02 GMT
From:      Titus von Boxberg <titus@v9g.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/165550: graphviz does not build; No rule to make target `-lltdl'
Message-ID:  <201202291105.q1TB52MQ092851@red.freebsd.org>
Resent-Message-ID: <201202291110.q1TBAC3N043267@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         165550
>Category:       ports
>Synopsis:       graphviz does not build; No rule to make target `-lltdl'
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 29 11:10:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Titus von Boxberg
>Release:        9
>Organization:
>Environment:
9.0-RELEASE
>Description:
On my machine, port graphviz-2.28.0 does not build:

No rule to make target `-lltdl', needed by `libgvc.la'. Stop.

This problem seems to be described in
http://www.graphviz.org/mantisbt/view.php?id=2109


>How-To-Repeat:
make
but see below.
Please drop me a note if you need more information specific from my system.
I assume that "normally" (whatever that means) graphviz builds without problems.

>Fix:
Fortunately, autotools and me never had any close relationship ;-)
So I do not claim to understand the problem or the fix.

However,  the fix described in the graphviz mantis page does the trick
if autoreconf is invoked before configure.

I added 

pre-configure:
  cd ${WRKSRC} && ${AUTORECONF}

to the port's Makefile

and added the patch file attached to this ticket.


Patch attached with submission follows:

--- lib/gvc/Makefile.am.orig	2011-06-26 03:07:07.000000000 -0700
+++ lib/gvc/Makefile.am	2011-06-26 03:07:27.000000000 -0700
@@ -55,7 +55,6 @@ libgvc_C_la_DEPENDENCIES += $(top_build
 endif
 if ENABLE_LTDL
-libgvc_C_la_LIBADD += $(LIBLTDL) $(LIBLTDL_LDFLAGS)
+libgvc_C_la_LIBADD += @LIBLTDL@ $(LIBLTDL_LDFLAGS)
-libgvc_C_la_DEPENDENCIES += $(LIBLTDL)
 endif
 
 libgvc_la_LDFLAGS = -version-info $(GVC_VERSION) -no-undefined


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202291105.q1TB52MQ092851>