From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jul 6 00:00:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4379E580 for ; Sat, 6 Jul 2013 00:00:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 29C491B78 for ; Sat, 6 Jul 2013 00:00:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r66002GF096487 for ; Sat, 6 Jul 2013 00:00:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r66002rX096486; Sat, 6 Jul 2013 00:00:02 GMT (envelope-from gnats) Resent-Date: Sat, 6 Jul 2013 00:00:02 GMT Resent-Message-Id: <201307060000.r66002rX096486@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "O. Hartmann" Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DC82C392 for ; Fri, 5 Jul 2013 23:51:31 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id B55101B38 for ; Fri, 5 Jul 2013 23:51:31 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r65NpVlx012781 for ; Fri, 5 Jul 2013 23:51:31 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r65NpV0j012778; Fri, 5 Jul 2013 23:51:31 GMT (envelope-from nobody) Message-Id: <201307052351.r65NpV0j012778@oldred.freebsd.org> Date: Fri, 5 Jul 2013 23:51:31 GMT From: "O. Hartmann" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/180338: devel/opencl: new hashes (distinfo), minor changes X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jul 2013 00:00:02 -0000 >Number: 180338 >Category: ports >Synopsis: devel/opencl: new hashes (distinfo), minor changes >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: Sat Jul 06 00:00:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: O. Hartmann >Release: >Organization: FU Berlin >Environment: >Description: Khronos has done some minor changes in the header files, so the hashes doesn't match anymore. The patch attached fixes this. According to possible patchfiles in "files" I also added some lines doing extraction first in the WRKSRC folder and install the header from there instead doing it directly from the DISTDIR/DIST_SUBDIR folder. This offers the opportunity having patches applied if necessary before installing. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -Nur opencl.orig/Makefile opencl/Makefile --- opencl.orig/Makefile 2013-05-24 16:02:12.000000000 +0200 +++ opencl/Makefile 2013-07-06 01:45:39.000000000 +0200 @@ -3,7 +3,7 @@ PORTNAME= opencl PORTVERSION= 1.2 -PORTREVISION= 2 +PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= http://www.khronos.org/registry/cl/api/${PORTVERSION}/ DISTFILES= opencl.h cl_platform.h cl.h cl_ext.h cl_dx9_media_sharing.h \ @@ -12,21 +12,27 @@ EXTRACT_ONLY= MAINTAINER= ohartman@zedat.fu-berlin.de -COMMENT= Open Computing Language (OpenCL) specifications V1.2 +COMMENT= Open Computing Language (OpenCL) specifications V1.2 (header files) CONFLICTS= opencl-1.[0-1] NO_BUILD= yes -NO_WRKSUBDIR= yes -PLIST_DIRS= include/CL +PLIST_DIRS+= include/CL .for f in ${DISTFILES} PLIST_FILES+=include/CL/$f .endfor +pre-patch: + @${MKDIR} ${WRKSRC} +.for f in ${DISTFILES} + @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/$f ${WRKSRC}/ +.endfor + do-install: - ${MKDIR} ${PREFIX}/include/CL - ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/*.h ${PREFIX}/include/CL - ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/*.hpp ${PREFIX}/include/CL + @${MKDIR} ${PREFIX}/include/CL +.for f in ${DISTFILES} + @${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/include/CL +.endfor .include diff -Nur opencl.orig/pkg-message opencl/pkg-message --- opencl.orig/pkg-message 1970-01-01 01:00:00.000000000 +0100 +++ opencl/pkg-message 2013-05-26 02:04:29.000000000 +0200 @@ -0,0 +1,5 @@ +OpenCL is the first open, royalty-free standard for cross-platform, +parallel programming of modern processors. + +Header files will reside in PREFIX/CL, with PREFIX usually +set to /usr/local/include. >Release-Note: >Audit-Trail: >Unformatted: