svn commit: r518655 - head/cad/librecad

Piotr Kubaj pkubaj at FreeBSD.org
Fri Nov 29 14:30:43 UTC 2019


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 at FreeBSD.org
 COMMENT=	2D CAD system


More information about the svn-ports-head mailing list