aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Villa <avilla@FreeBSD.org>2015-07-01 09:46:57 +0000
committerAlberto Villa <avilla@FreeBSD.org>2015-07-01 09:46:57 +0000
commit3067282daf95d00d30cd9d08337b583e871f298e (patch)
treec1a6ef30e8b3795a11f0b6266ffb2f4cc7536bf2
parentf149cf2cba0a56db7f951afb71bff754cb56a171 (diff)
downloadports-3067282daf95d00d30cd9d08337b583e871f298e.tar.gz
ports-3067282daf95d00d30cd9d08337b583e871f298e.zip
MFH: r390784
graphics/opengtl: fix build with LLVM 3.3 PR: 201022 Submitted by: matthew@reztek.cz Obtained from: Gentoo Approved by: ports-secteam (build fix blanket)
Notes
Notes: svn path=/branches/2015Q2/; revision=391041
-rw-r--r--graphics/opengtl/Makefile12
-rw-r--r--graphics/opengtl/distinfo2
2 files changed, 9 insertions, 5 deletions
diff --git a/graphics/opengtl/Makefile b/graphics/opengtl/Makefile
index e60885b179e7..2235bd7e98da 100644
--- a/graphics/opengtl/Makefile
+++ b/graphics/opengtl/Makefile
@@ -2,23 +2,25 @@
PORTNAME= opengtl
PORTVERSION= 0.9.18
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= graphics devel
MASTER_SITES= http://download.${PORTNAME}.org/
DISTNAME= OpenGTL-${PORTVERSION}
+PATCH_SITES= http://dev.gentoo.org/~creffett/distfiles/
+PATCHFILES= ${PORTNAME}-${PORTVERSION}-llvm-3.3.patch
+PATCH_DIST_STRIP=-p1
MAINTAINER= avilla@FreeBSD.org
COMMENT= Graphics Transformation Languages
LICENSE= LGPL20
-BROKEN= Depends on deleted devel/llvm32
-#LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \
-# libLLVM-3.2.so:${PORTSDIR}/devel/llvm32
+LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \
+ libLLVM-3.3.so:${PORTSDIR}/devel/llvm33
USES= cmake perl5 tar:bzip2
USE_LDCONFIG= yes
-CMAKE_ARGS= -DLLVM_CONFIG_EXECUTABLE=${LOCALBASE}/bin/llvm-config32
+CMAKE_ARGS= -DLLVM_CONFIG_EXECUTABLE=${LOCALBASE}/bin/llvm-config33
PLIST_SUB+= PORTVERSION=${PORTVERSION}
diff --git a/graphics/opengtl/distinfo b/graphics/opengtl/distinfo
index 150a02937827..f2eea8cb4e3f 100644
--- a/graphics/opengtl/distinfo
+++ b/graphics/opengtl/distinfo
@@ -1,2 +1,4 @@
SHA256 (OpenGTL-0.9.18.tar.bz2) = f094b3d2a1a60519975bb3badc05e704f2b93c7a3d2cb753041f2ff27cfcd9f8
SIZE (OpenGTL-0.9.18.tar.bz2) = 536113
+SHA256 (opengtl-0.9.18-llvm-3.3.patch) = c43418bc039660ae86cb86b8b8175342793cb1361c699faa9b6342bc896e3d6c
+SIZE (opengtl-0.9.18-llvm-3.3.patch) = 27930