Current-Users archive

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

NetBSD current native xorg's freetype2.pc



Hi,

freetype2.pc (pkg-config) of NetBSD current native xorg has
wrong "xx" string in its flags.
And it causes build error with pkgsrc packages that use freetype2.

With following patch, I can build firefox etc.
(Patches in http://mail-index.netbsd.org/tech-pkg/2014/03/22/msg012810.html
are also needed for pkgsrc.)

Index: bsd.x11.mk
===================================================================
RCS file: /cvsroot/src/share/mk/bsd.x11.mk,v
retrieving revision 1.109
diff -u -r1.109 bsd.x11.mk
--- bsd.x11.mk  20 Mar 2014 22:24:32 -0000      1.109
+++ bsd.x11.mk  22 Mar 2014 23:13:52 -0000
@@ -344,10 +344,10 @@
                s,@abi_font@,0.6,; \
                s,@fchown_define@,-DHAS_FCHOWN,; \
                s,@sticky_bit_define@,-DHAS_STICKY_DIR_BIT," \
-               -e "s,@PKG_CONFIG_LIBS@,xx,; \
+               -e "s,@PKG_CONFIG_LIBS@,${PKG_CONFIG_LIBS},; \
                s,@PACKAGE@,${PKGDIST},; \
-               s,@PKGCONFIG_REQUIRES@,xx,; \
-               s,@PKGCONFIG_REQUIRES_PRIVATELY@,xx,; \
+               s,@PKGCONFIG_REQUIRES@,${PKGCONFIG_REQUIRES},; \
+               
s,@PKGCONFIG_REQUIRES_PRIVATELY@,${PKGCONFIG_REQUIRES_PRIVATELY},; \
                s,@ERRORDBDIR@,${X11LIBDIR},; \
                s,@EXPAT_CFLAGS@,,; \
                s,@FREETYPE_CFLAGS@,-I${X11ROOTDIR}/include/freetype2 
-I${X11ROOTDIR}/include,; \

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index