[patch] x11-fonts/Xft doesn't make include/X11/Xft before installing

Edwin Groothuis edwin at mavetju.org
Fri Mar 28 04:20:43 PST 2003


>Submitter-Id:	current-users
>Originator:	Edwin Groothuis
>Organization:	-
>Confidential:	no 
>Synopsis:	[patch] x11-fonts/Xft doesn't make include/X11/Xft before installing
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		change-request
>Release:	FreeBSD 4.7-RELEASE i386
>Environment:
FreeBSD ref5.freebsd.org 5.0-CURRENT FreeBSD 5.0-CURRENT #46: Sun Mar  2 08:58:49 PST 2003     root at ref5.freebsd.org:/usr/src/sys/i386/compile/REF5  i386

Only XFree86-4-libraries installed, not the full server.

>Description:

x11-fonts/Xft does copy the include files to X11BASE/include/X11/Xft,
but doesn't check if that directory exists before doing so:
===>  Installing for Xft-2.1_3
install  -o root -g wheel -m 444 Xft.h /usr/X11R6/include/X11/Xft
install  -o root -g wheel -m 444 XftCompat.h /usr/X11R6/include/X11/Xft

>How-To-Repeat:

install XFree86-4-libraries, install x11-fonts/Xft, check
X11BASE/include/X11/Xft which should be a directory but is a file.

>Fix:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/x11-fonts/Xft/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile    2 Mar 2003 17:16:46 -0000       1.10
+++ Makefile    28 Mar 2003 12:20:19 -0000
@@ -40,6 +40,9 @@
 pre-patch:
        @${REINPLACE_CMD} -e 's|[(]LIBDIR[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' ${WRKSRC}/Makefile.in
 
+pre-install:
+       -${MKDIR} ${X11BASE}/include/X11/Xft
+
 post-install:
        @${INSTALL_DATA} ${WRKSRC}/Xft.man ${PREFIX}/man/man3/Xft.3
 



More information about the freebsd-gnome mailing list