Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2011 09:14:12 GMT
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/157311: [PATCH] math/ggobi: missing dependency devel/libltdl
Message-ID:  <201105250914.p4P9ECwU082067@red.freebsd.org>
Resent-Message-ID: <201105250920.p4P9K9wC059758@freefall.freebsd.org>

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

>Number:         157311
>Category:       ports
>Synopsis:       [PATCH] math/ggobi: missing dependency devel/libltdl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 25 09:20:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Rainer Hurling
>Release:        9.0-CURRENT (amd64)
>Organization:
>Environment:
FreeBSD xxx.xxx 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Fri May 20 17:42:01 CEST 2011 xxx@xxx.xxx:/usr/obj/usr/src/sys/XXX amd64
>Description:
As Pav Lucistnik (many thanks) pointed out in private mail, there is a problem compiling math/ggobi on clean boxes at least for amd64. It seems that only devel/libltdl is missing.

# -------------------------------------------------------
[..SNIP..]
mv -f .deps/display_tree.Tpo .deps/display_tree.Plo
> /bin/sh ../libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I. -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2   -I/usr/local/include/libxml2 -I/usr/local/include     -O2 -pipe -fno-strict-aliasing -MT display_ui.lo -MD -MP -MF .deps/display_ui.Tpo -c -o display_ui.lo display_ui.c
> libtool: compile:  cc -DHAVE_CONFIG_H -I. -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT display_ui.lo -MD -MP -MF .deps/display_ui.Tpo -c display_ui.c  -fPIC -DPIC -o .libs/display_ui.o
> In file included from display_ui.c:20:
> plugin.h:22:18: error: ltdl.h: No such file or directory
> *** Error code 1
> Stop in /work/a/ports/math/ggobi/work/ggobi-2.1.9/src.
# -------------------------------------------------------

>How-To-Repeat:
Build math/ggobi without having devel/libltdl installed.
>Fix:
The following patch should fix the problem:



Patch attached with submission follows:

--- Makefile.origin	2011-05-22 09:12:02.000000000 +0200
+++ Makefile	2011-05-25 07:43:36.000000000 +0200
@@ -2,7 +2,7 @@
 # Date created:        31 January 2010
 # Whom:                rhurlin
 #
-# $FreeBSD: ports/math/ggobi/Makefile,v 1.3 2011/05/21 18:20:44 arved Exp $
+# $FreeBSD$
 #
 
 PORTNAME=	ggobi
@@ -13,6 +13,8 @@
 MAINTAINER=	rhurlin@gwdg.de
 COMMENT=	Data visualization system
 
+LIB_DEPENDS=	ltdl:${PORTSDIR}/devel/libltdl
+
 USE_BZIP2=	yes
 USE_GNOME=	gtk20 libxml2 gnomehack
 USE_LDCONFIG=	yes


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



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