[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extra libs



Christian Weisgerber <naddy_(_at_)_mips_(_dot_)_inka_(_dot_)_de> wrote:

> ===> x11/gnomemm
> /usr/ports/packages/amd64/all/gnomemm-1.2.3.tgz:
> /usr/ports/packages/amd64/all/gnomemm-docs-1.2.3.tgz:
> Extra: gtkmm.2
> Extra: gdkmm.2

These libs are never linked it.  I guess that gtkmm should bin in
BUILD/RUN_DEPENDS.

Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/gnomemm/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile	18 Dec 2004 21:55:16 -0000	1.9
+++ Makefile	19 Nov 2005 02:02:31 -0000
@@ -5,6 +5,7 @@
 
 VERSION=		1.2.3
 DISTNAME=		gnomemm-${VERSION}
+PKGNAME=		${DISTNAME}p0
 PKGNAME-docs=		gnomemm-docs-${VERSION}
 CATEGORIES=		devel x11
 
@@ -25,10 +26,12 @@
 
 BUILD_DEPENDS=		gm4::devel/m4
 .if ${SUBPACKAGE} != "-docs"
-LIB_DEPENDS=		gdkmm.2,gtkmm.2::x11/gtkmm \
-			art_lgpl.4,gnome.36,gnomesupport.0,gnomeui.46::x11/gnome/libs
+MODULES=		devel/gettext
+LIB_DEPENDS=		art_lgpl.4,gnome.36,gnomesupport.0,gnomeui.46::x11/gnome/libs
 WANTLIB=		ICE SM X11 Xext Xi audiofile c esd gdk gdk_imlib glib \
-			gmodule gtk iconv intl jpeg m png tiff ungif z
+			gmodule gtk jpeg m png tiff ungif z
+BUILD_DEPENDS=		:gtkmm-*:x11/gtkmm
+RUN_DEPENDS=		${BUILD_DEPENDS}
 .endif
 .if defined(PACKAGING) && ${SUBPACKAGE} == "-docs"
 PKG_ARCH=		*