ports/151587: [PATCH] unbreak graphics/opengtl

Christopher Petrik c.petrik.sosa at gmail.com
Tue Oct 19 22:50:10 UTC 2010


>Number:         151587
>Category:       ports
>Synopsis:       [PATCH] unbreak graphics/opengtl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 19 22:50:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Christopher Petrik
>Release:        FreeBSD 8.1-STABLE
>Organization:
none
>Environment:
FreeBSD slappy.nohost 8.1-STABLE FreeBSD 8.1-STABLE #0: Sat Oct  9 03:35:16 CDT 2010     root at slappy.nohost:/usr/obj/usr/src/sys/chris  amd64

>Description:
graphics/opengtl complains that you don't have llvm 2.7 when 2.8 is installed, the issue is the CMakeLists.txt file is hardcoded for 2.7 only this patch fixes this by changing said to 2.8 which is the latest in ports.

Patch testing to apply on clean port.
>How-To-Repeat:
cd /usr/ports/graphics/opengtl && make install clean
>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /usr/local/freebsdcvs/ports/graphics/opengtl/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile	19 Oct 2010 21:27:18 -0000	1.9
+++ Makefile	19 Oct 2010 22:39:12 -0000
@@ -2,7 +2,7 @@
 # Date created:				28 September 2009
 # Whom:					Alberto Villa <villa.alberto at gmail.com>
 #
-# $FreeBSD: ports/graphics/opengtl/Makefile,v 1.9 2010/10/19 21:27:18 pav Exp $
+# $FreeBSD: ports/graphics/opengtl/Makefile,v 1.8 2010/09/06 22:38:41 avilla Exp $
 
 PORTNAME=	opengtl
 PORTVERSION=	0.9.14
@@ -14,9 +14,7 @@
 COMMENT=	Graphics Transformation Languages
 
 LIB_DEPENDS=	png.6:${PORTSDIR}/graphics/png
-BUILD_DEPENDS=	llvm>=2.7<2.8.*:${PORTSDIR}/devel/llvm
-
-BROKEN=		does not build
+BUILD_DEPENDS=	llvm>=2.7:${PORTSDIR}/devel/llvm
 
 USE_BZIP2=	yes
 USE_GCC=	4.2+
@@ -30,7 +28,9 @@
 # disable latex doc, it's not ready yet
 	${REINPLACE_CMD} -e '/add_subdirectory.*doc/d' \
 		${PATCH_WRKSRC}/OpenShiva/CMakeLists.txt
-
+#fix issue with new llvm.
+	${REINPLACE_CMD} -e 's|2.7|2.8|g' \
+		${PATCH_WRKSRC}/CMakeLists.txt
 pre-configure:
 	${REINPLACE_CMD} -e 's|set(OPENGTL_LIB_SOVERSION.*|set(OPENGTL_LIB_SOVERSION "0")|' \
 		${PATCH_WRKSRC}/CMakeLists.txt


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list