Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2003 23:20:35 +1100 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gnome@FreeBSD.org
Subject:   ports/50392: [patch] x11-fonts/Xft doesn't make include/X11/Xft before installing
Message-ID:  <20030328122035.D447E6A712B@k7.mavetju>
Resent-Message-ID: <200303281230.h2SCUJdR090184@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030328122035.D447E6A712B>