pkgsrc-Bugs archive

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

pkg/44668: xpdf fails to build against lesstif

>Number:         44668
>Category:       pkg
>Synopsis:       xpdf fails to build against lesstif
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 02 19:35:00 +0000 2011
>Originator:     Taylor R Campbell <>
>Release:        pkgsrc-2010Q4
System: NetBSD smalltalk.local 5.1_STABLE NetBSD 5.1_STABLE (RIADEBUG) #1: Mon 
Feb 14 18:43:53 UTC 2011 
Architecture: i386
Machine: i386

        With MOTIF_TYPE=lesstif, when building xpdf, the configure
        script finds <Xm/XmAll.h> unusable, because it includes
        <X11/extensions/Print.h>, which is not available.  Thus the
        configure script decides not to build the xpdf executable,
        which is not very helpful.


        Set MOTIF_TYPE=lesstif.  Build print/xpdf.  Set PKG_DEVELOPER
        to YES to make sure the fireworks go off instead of silently
        failing.  Watch the fireworks.


        Apply the following patch to x11/lesstif.  It may suffice to
        replace x11/libXp by x11/printproto in the added line, but I
        haven't tested that, whereas I have tested it with x11/libXp.

Index: Makefile
RCS file: /cvsroot/pkgsrc/x11/lesstif/Makefile,v
retrieving revision 1.96
diff -p -u -r1.96 Makefile
--- Makefile    16 Jan 2010 17:57:38 -0000      1.96
+++ Makefile    2 Mar 2011 19:32:33 -0000
@@ -1,6 +1,7 @@
 # $NetBSD: Makefile,v 1.96 2010/01/16 17:57:38 wiz Exp $
 DISTNAME=      lesstif-0.95.2
 EXTRACT_SUFX=  .tar.bz2
RCS file: /cvsroot/pkgsrc/x11/lesstif/,v
retrieving revision 1.19
diff -p -u -r1.19
---       16 Jan 2010 09:15:25 -0000      1.19
+++       2 Mar 2011 19:32:33 -0000
@@ -10,6 +10,7 @@ BUILDLINK_PKGSRCDIR.lesstif?= ../../x11/
 .include "../../fonts/fontconfig/"
 .include "../../x11/libXext/"
+.include "../../x11/libXp/"
 .include "../../x11/libXrender/"
 .include "../../x11/libXt/"

Home | Main Index | Thread Index | Old Index