1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

cad/librecad: fix build on LLVM architectures

Last GCC fix broke Clang, the issue is already reported here https://github.com/LibreCAD/LibreCAD/issues/1130

Apply the upstream patch for GCC only on GCC architectures.

PR:		241863
Approved by:	jhale (maintainer timeout), mentors (implicit approval)
This commit is contained in:
Piotr Kubaj 2019-11-29 14:30:42 +00:00
parent 4c4dd2260e
commit 1b52eda80f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=518655

View File

@ -5,8 +5,10 @@ DISTVERSION= 2.2.0-rc1
PORTREVISION= 10
CATEGORIES= cad
PATCH_SITES= https://github.com/LibreCAD/LibreCAD/commit/
PATCHFILES= d0a0ef284b7fcc5c0d65b92c30855f62b637653f.patch:-p1
PATCH_SITES_gcc= https://github.com/LibreCAD/LibreCAD/commit/
PATCH_SITES= ${PATCH_SITES_${CHOSEN_COMPILER_TYPE}}
PATCHFILES_gcc= d0a0ef284b7fcc5c0d65b92c30855f62b637653f.patch:-p1
PATCHFILES= ${PATCHFILES_${CHOSEN_COMPILER_TYPE}}
MAINTAINER= jhale@FreeBSD.org
COMMENT= 2D CAD system