Current-Users archive

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

Re: problem with xprint removal



Did you manage to compile xpdf?

I don't know if the attached patch is correct in all cases,
but it did allow me to compile xpdf successfully.

--
Kind regards,

Yorick Hardy
--- x11/libXp/buildlink3.mk.orig        2009-05-09 11:04:27.000000000 +0200
+++ x11/libXp/buildlink3.mk     2009-05-09 18:05:09.000000000 +0200
@@ -2,7 +2,9 @@
 
 .include "../../mk/bsd.fast.prefs.mk"
 
-.if ${X11_TYPE} != "modular"
+.include "../../x11/libXp/builtin.mk"
+
+.if ${X11_TYPE} != "modular" && ${USE_BUILTIN.libXp} == "yes"
 .include "../../mk/x11.buildlink3.mk"
 .else
 
--- /dev/null   2009-05-09 18:06:39.000000000 +0200
+++ x11/libXp/builtin.mk        2009-05-09 10:40:24.000000000 +0200
@@ -0,0 +1,7 @@
+# $NetBSD$
+
+BUILTIN_PKG:=  libXp
+PKGCONFIG_FILE.libXp=  ${X11BASE}/lib/pkgconfig/xp.pc
+
+.include "../../mk/buildlink3/pkgconfig-builtin.mk"
+.include "../../mk/x11.builtin.mk"


Home | Main Index | Thread Index | Old Index