Date: Fri, 5 Jul 2013 23:51:31 GMT From: "O. Hartmann" <ohartman@zedat.fu-berlin.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/180338: devel/opencl: new hashes (distinfo), minor changes Message-ID: <201307052351.r65NpV0j012778@oldred.freebsd.org> Resent-Message-ID: <201307060000.r66002rX096486@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.mk> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307052351.r65NpV0j012778>