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

Edwin Groothuis edwin at mavetju.org
Fri Mar 28 12:30:24 UTC 2003


>Number:         50392
>Category:       ports
>Synopsis:       [patch] x11-fonts/Xft doesn't make include/X11/Xft before installing
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 28 04:30:18 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
-
>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
 

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list