aboutsummaryrefslogtreecommitdiff
path: root/graphics/ming
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2020-08-27 12:30:19 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2020-08-27 12:30:19 +0000
commitabea843f719d06660dbc4814fc441501d392831e (patch)
tree3e95c4aeb487b9a7d8cbf59bffddb2a8f597b086 /graphics/ming
parent40ce5d4af612c22477af9eebbf97ae6def57e570 (diff)
downloadports-abea843f719d06660dbc4814fc441501d392831e.tar.gz
ports-abea843f719d06660dbc4814fc441501d392831e.zip
graphics/ming: fix build on current
The issue with duplicate symbols has been reported upstream on 2016-11-22: https://github.com/libming/libming/issues/55
Notes
Notes: svn path=/head/; revision=546335
Diffstat (limited to 'graphics/ming')
-rw-r--r--graphics/ming/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/ming/Makefile b/graphics/ming/Makefile
index 66452eb27166..f60048877496 100644
--- a/graphics/ming/Makefile
+++ b/graphics/ming/Makefile
@@ -39,6 +39,9 @@ GH_PROJECT= lib${PORTNAME}
SHEBANG_FILES= util/cws2fws
+# https://github.com/libming/libming/issues/55
+CFLAGS+= -fcommon
+
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/include/ming/ ${STAGEDIR}${PREFIX}/include/ming/blocks/ ${STAGEDIR}${PREFIX}/include/ming/util/
cd ${WRKSRC}/util/ && ${INSTALL_SCRIPT} cws2fws ming-config ${STAGEDIR}${PREFIX}/bin/