summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Marc-Antoine Perennou <keruspe@exherbo.org> 2015-04-06 09:53:55 +0200
committerAvatar Marc-Antoine Perennou <keruspe@exherbo.org> 2015-04-06 09:53:55 +0200
commit8e4a465785792549e5ddfbbebb8dea8805e50b01 (patch)
tree66713a12db76a30f400a76eb5a823fa404a53bb2
parentafd7c72250731232c569aeee63402f086a3c1c0b (diff)
downloadmono-8e4a465785792549e5ddfbbebb8dea8805e50b01.tar.gz
mono-8e4a465785792549e5ddfbbebb8dea8805e50b01.tar.xz
Revert "Revert "libgdiplus: cross adjustments""
This reverts commit bc4ec30c2393873233d3903ac537950fac6af58f.
-rw-r--r--packages/dev-dotnet/libgdiplus/libgdiplus-3.12.exheres-010
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/dev-dotnet/libgdiplus/libgdiplus-3.12.exheres-0 b/packages/dev-dotnet/libgdiplus/libgdiplus-3.12.exheres-0
index e264a4f..d2cdd27 100644
--- a/packages/dev-dotnet/libgdiplus/libgdiplus-3.12.exheres-0
+++ b/packages/dev-dotnet/libgdiplus/libgdiplus-3.12.exheres-0
@@ -2,6 +2,8 @@
# Copyright 2013 Aleksandar Petrinic <petrinic@gmail.com>
# Distributed under the terms of the GNU General Public License v2
+require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.13 ] ]
+
SUMMARY="An Open Source implementation of the GDI+ API"
HOMEPAGE="http://www.mono-project.org"
DOWNLOADS="http://download.mono-project.com/sources/${PN}/${PNV}.tar.gz"
@@ -35,9 +37,17 @@ DEPENDENCIES="
DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}"/${PNV}-giflib-5.patch )
DEFAULT_SRC_CONFIGURE_PARAMS=( --with-libjpeg )
+
DEFAULT_SRC_CONFIGURE_OPTION_WITHS=(
'exif libexif'
'gif libgif'
'tiff libtiff'
)
+src_prepare() {
+ # Theoretically, overrides are possible - in practice, "pkg-config" is hardcoded...
+ edo sed -i -e "s:pkg-config:$(exhost --tool-prefix)pkg-config:g" configure.ac
+
+ autotools_src_prepare
+}
+