pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/50775 (graphics/graphite2 will not compile)
The following reply was made to PR pkg/50775; it has been noted by GNATS.
From: Richard PALO <richard%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/50775 (graphics/graphite2 will not compile)
Date: Thu, 08 Sep 2016 16:55:31 +0200
This is a multi-part message in MIME format.
--------------060709040905030401070309
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Le 16/02/16 02:00, Vlad D. Markov a écrit :
> The following reply was made to PR pkg/50775; it has been noted by GNATS.
>
> From: "Vlad D. Markov" <dvoich%optonline.net@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc: ryoon%NetBSD.org@localhost, pkgsrc-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
> dholland%NetBSD.org@localhost
> Subject: Re: pkg/50775 (graphics/graphite2 will not compile)
> Date: Mon, 15 Feb 2016 19:58:22 -0500
>
> On Mon, Feb 15, 2016 at 11:25:18PM +0000, dholland%NetBSD.org@localhost wrote:
> > Synopsis: graphics/graphite2 will not compile
> >
> > State-Changed-From-To: feedback->open
> > State-Changed-By: dholland%NetBSD.org@localhost
> > State-Changed-When: Mon, 15 Feb 2016 23:25:18 +0000
> > State-Changed-Why:
> > one down, another to go
> >
> >
> >
> /usr/pkgsrc/graphics/graphite2/work/graphite2-1.3.5/tests/examples/freetype.c:5:22:
> fatal error: ft2build.h: No such file or directory
> #include "ft2build.h"
>
>
I propose the attached patch which solves the build for Linux and
allows testing. Is it okay to leave test requires as build requires
for now?
--
Richard PALO
--------------060709040905030401070309
Content-Type: text/x-patch;
name="0001-Fix-Linux-build-with-freetype2-bl3-and-enable-test-f.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename*0="0001-Fix-Linux-build-with-freetype2-bl3-and-enable-test-f.pa";
filename*1="tch"
From 8b5130a959584b7b68bdf5595d0b59ca090d6714 Mon Sep 17 00:00:00 2001
From: Richard PALO <richard%NetBSD.org@localhost>
Date: Thu, 8 Sep 2016 16:54:03 +0200
Subject: [PATCH] Fix Linux build with freetype2 bl3, and enable test for all
platforms
---
graphics/graphite2/Makefile | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/graphics/graphite2/Makefile b/graphics/graphite2/Makefile
index 026e85e..ada5197 100644
--- a/graphics/graphite2/Makefile
+++ b/graphics/graphite2/Makefile
@@ -14,4 +14,21 @@ USE_LANGUAGES= c c++
USE_CMAKE= yes
USE_LIBTOOL= yes
+TEST_TARGET= test
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Linux"
+# Linux seems to need this to build by default, but apparently it is
+# only used for test, so for now use 'build' dependency
+BUILDLINK_DEPMETHOD.freetype2?= build
+.include "../../graphics/freetype2/buildlink3.mk"
+.endif
+
+# python and py-fonttools seem to be used only during test,
+# so for now use 'build' dependency
+PYTHON_FOR_BUILD_ONLY?= tool
+.include "../../lang/python/tool.mk"
+BUILD_DEPENDS+= ${PYPKGPREFIX}-fonttools-[0-9]*:../../fonts/py-fonttools/
+
.include "../../mk/bsd.pkg.mk"
--
2.9.3
--------------060709040905030401070309--
Home |
Main Index |
Thread Index |
Old Index