Fri Jun 7 15:57:48 2013 UTC ()
Fix build of motif and its dependencies.

* libfontconfig should be linked too.


(ryoon)
diff -r1.8 -r1.9 pkgsrc/x11/motif/Makefile
diff -r1.6 -r1.7 pkgsrc/x11/motif/buildlink3.mk

cvs diff -r1.8 -r1.9 pkgsrc/x11/motif/Makefile (expand / switch to context diff)
--- pkgsrc/x11/motif/Makefile 2013/06/06 12:53:40 1.8
+++ pkgsrc/x11/motif/Makefile 2013/06/07 15:57:47 1.9
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2013/06/06 12:53:40 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2013/06/07 15:57:47 ryoon Exp $
 
 PKGVER=		2.3.4
 PKGREVISION=	6
@@ -45,6 +45,8 @@
 		--x-libraries=${X11BASE}/lib
 
 CONFIGURE_ARGS+= --disable-printing
+
+BUILDLINK_TRANSFORM+=	l:Xft:Xft:fontconfig
 
 # Don't compress manual pages as they include each other.
 .undef MANZ

cvs diff -r1.6 -r1.7 pkgsrc/x11/motif/buildlink3.mk (expand / switch to context diff)
--- pkgsrc/x11/motif/buildlink3.mk 2013/06/06 12:53:40 1.6
+++ pkgsrc/x11/motif/buildlink3.mk 2013/06/07 15:57:47 1.7
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2013/06/06 12:53:40 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2013/06/07 15:57:47 ryoon Exp $
 
 BUILDLINK_TREE+=	motif
 
@@ -11,9 +11,10 @@
 
 _MOTIFBASE=	${BUILDLINK_PREFIX.motif}
 MOTIFLIB=	${COMPILER_RPATH_FLAG}${_MOTIFBASE}/lib \
-		-L${_MOTIFBASE}/lib -lXm
+		-L${_MOTIFBASE}/lib -lXm -lXft
 
 BUILDLINK_TRANSFORM+=	rm:-lXp
+BUILDLINK_TRANSFORM+=	l:Xm:Xm:Xft
 
 .include "../../mk/jpeg.buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"