Date: Tue, 19 Oct 2010 22:45:34 GMT From: Christopher Petrik <c.petrik.sosa@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/151587: [PATCH] unbreak graphics/opengtl Message-ID: <201010192245.o9JMjYTs019481@www.freebsd.org> Resent-Message-ID: <201010192250.o9JMo8ZR081645@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010192245.o9JMjYTs019481>