ports/165550: graphviz does not build; No rule to make target `-lltdl'

Titus von Boxberg titus at v9g.de
Wed Feb 29 11:10:12 UTC 2012


>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:



More information about the freebsd-ports-bugs mailing list