aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2019-04-25 18:40:29 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2019-04-25 18:40:29 +0000
commit41e76e015328db3ac656ed7af2299c8b438f0453 (patch)
treedc7f2c56c614b9586335410482658392b8d2331a /x11-toolkits
parent05facd8f3cc164ca8f2dd715297db627e015daa5 (diff)
downloadports-41e76e015328db3ac656ed7af2299c8b438f0453.tar.gz
ports-41e76e015328db3ac656ed7af2299c8b438f0453.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/libgdiplus/Makefile1
-rw-r--r--x11-toolkits/libgdiplus/files/patch-configure11
2 files changed, 12 insertions, 0 deletions
diff --git a/x11-toolkits/libgdiplus/Makefile b/x11-toolkits/libgdiplus/Makefile
index 5fd723f61c77..8edfe53d3daf 100644
--- a/x11-toolkits/libgdiplus/Makefile
+++ b/x11-toolkits/libgdiplus/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libgdiplus
PORTVERSION= 5.6
+PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= http://download.mono-project.com/sources/${PORTNAME}/
diff --git a/x11-toolkits/libgdiplus/files/patch-configure b/x11-toolkits/libgdiplus/files/patch-configure
new file mode 100644
index 000000000000..c2b7ab970bc4
--- /dev/null
+++ b/x11-toolkits/libgdiplus/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2018-03-28 19:28:08 UTC
++++ configure
+@@ -14133,7 +14133,7 @@ fi
+
+
+ # Add xrender here so that we don't fail to find glib if we won't have xrender.pc
+-if test "x$no_x" != "xyes" && "x$x11_available" = "xyes"; then
++if test "x$no_x" != "xyes" && test "x$x11_available" = "xyes"; then
+ GDIPLUS_LIBS="$GDIPLUS_LIBS `$PKG_CONFIG --libs xrender `"
+ GDIPLUS_CFLAGS="$GDIPLUS_CFLAGS `$PKG_CONFIG --cflags xrender `"
+ fi