summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Wulf C. Krueger <philantrop@exherbo.org> 2015-04-03 11:55:43 +0200
committerAvatar Wulf C. Krueger <philantrop@exherbo.org> 2015-04-03 11:55:43 +0200
commit2b1afbfbbb9b7743270b74d2ed8430bf886311e4 (patch)
treec51589afc12348af09c29c4d2e1f4a858417c9bc
parent3c1c3d790ffd3000f525f96b95fed1256568c8a6 (diff)
downloadmono-2b1afbfbbb9b7743270b74d2ed8430bf886311e4.tar.gz
mono-2b1afbfbbb9b7743270b74d2ed8430bf886311e4.tar.xz
libgdiplus: cross adjustments
-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
+}
+