Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2019 14:30:43 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518655 - head/cad/librecad
Message-ID:  <201911291430.xATEUh0V001359@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Fri Nov 29 14:30:42 2019
New Revision: 518655
URL: https://svnweb.freebsd.org/changeset/ports/518655

Log:
  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)

Modified:
  head/cad/librecad/Makefile

Modified: head/cad/librecad/Makefile
==============================================================================
--- head/cad/librecad/Makefile	Fri Nov 29 14:27:20 2019	(r518654)
+++ head/cad/librecad/Makefile	Fri Nov 29 14:30:42 2019	(r518655)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911291430.xATEUh0V001359>