mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Pango: fix build.
This commit is contained in:
@@ -23,6 +23,7 @@ GNU LGPL v2.1
|
||||
"
|
||||
SRC_URI="http://ftp.gnome.org/pub/GNOME/sources/pango/1.36/pango-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="18dbb51b8ae12bae0ab7a958e7cf3317c9acfc8a1e1103ec2f147164a0fc2d07"
|
||||
PATCHES="pango-$portVersion.patchset"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86 x86_64"
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
@@ -46,6 +47,7 @@ REQUIRES="
|
||||
lib:libfreetype$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libharfbuzz$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
# required by cairo
|
||||
lib:libfontconfig$secondaryArchSuffix
|
||||
lib:libpixman_1$secondaryArchSuffix
|
||||
@@ -67,11 +69,15 @@ BUILD_REQUIRES="
|
||||
devel:libfreetype$secondaryArchSuffix
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libharfbuzz$secondaryArchSuffix
|
||||
devel:libxml2$secondaryArchSuffix
|
||||
# required by cairo
|
||||
devel:libfontconfig$secondaryArchSuffix
|
||||
devel:libpixman_1$secondaryArchSuffix
|
||||
# required by fontconfig
|
||||
devel:libxml2$secondaryArchSuffix
|
||||
# required by harfbuzz
|
||||
devel:libgraphite2$secondaryArchSuffix
|
||||
lib:libgcc_s$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
@@ -83,13 +89,12 @@ BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:gtkdocize
|
||||
"
|
||||
GLOBAL_WRITABLE_FILES="
|
||||
settings/pango/pango.modules auto-merge
|
||||
cmd:find
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
autoreconf -fi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
|
||||
27
x11-libs/pango/patches/pango-1.36.8.patchset
Normal file
27
x11-libs/pango/patches/pango-1.36.8.patchset
Normal file
@@ -0,0 +1,27 @@
|
||||
From 89d8edabf98747fa30d6a6f7989d0a66e189a302 Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@gmail.com>
|
||||
Date: Mon, 20 Apr 2015 18:16:55 +0200
|
||||
Subject: Pretend we are cross-compiling
|
||||
|
||||
Workarounds some library path and libtool mixups.
|
||||
|
||||
diff --git a/modules/Makefile.am b/modules/Makefile.am
|
||||
index 73b42f4..ede826d 100644
|
||||
--- a/modules/Makefile.am
|
||||
+++ b/modules/Makefile.am
|
||||
@@ -14,12 +14,7 @@ EXTRA_DIST = \
|
||||
CLEANFILES = \
|
||||
pango.modules
|
||||
|
||||
-if CROSS_COMPILING
|
||||
RUN_QUERY_MODULES_TEST=false
|
||||
-else
|
||||
-RUN_QUERY_MODULES_TEST=true
|
||||
-all-local: pango.modules
|
||||
-endif
|
||||
|
||||
install-data-local: $(top_builddir)/pango/pango-querymodules$(EXEEXT)
|
||||
@if $(RUN_QUERY_MODULES_TEST) && test -z "$(DESTDIR)" ; then \
|
||||
--
|
||||
2.2.2
|
||||
|
||||
Reference in New Issue
Block a user