pkgsrc-Users archive

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

[PATCH] Fix link issue for x11/fltk13 on SLES11



Hello,

I came across another issue due to the ancient X11 libraries included
with SLES 11; this time with x11/fltk13. The issue is that fltk is being
linked against the system's libXinerama, which then pulls in
libxcb-xlib. The issue is similar to issue with devel/at-spi2 which I
reported (and was fixed) some time ago.

The attached patch resolves the issue by adding libXinerama as a
dependency in the Makefile.

-- 
Iain Morgan
$NetBSD$

--- Makefile.orig	2014-12-02 01:16:33.613819275 +0000
+++ Makefile
@@ -3,7 +3,7 @@
 DISTNAME=	fltk-1.3.2-source
 PKGNAME=	${DISTNAME:S/-source//}
 VERS=		${DISTNAME:S/fltk-//:S/-source//}
-PKGREVISION=	3
+PKGREVISION=	4
 CATEGORIES=	x11
 MASTER_SITES=	http://fltk.org/pub/fltk/${VERS}/
 
@@ -119,6 +119,7 @@ CONFIGURE_ARGS+=	--disable-localjpeg --d
 .include "../../graphics/png/buildlink3.mk"
 .include "../../x11/libXext/buildlink3.mk"
 .include "../../x11/libXft/buildlink3.mk"
+.include "../../x11/libXinerama/buildlink3.mk"
 .include "../../x11/libXt/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index