From 75794bcf6e3fa082434798049d207b27c22ee188 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Thu, 1 Mar 2018 09:21:39 +0000 Subject: [PATCH] graphics/piglit: Unbroke the port Fixed the python shebang by removing the patch and using USES=shebangfix. Approved by: tcberner (mentor, implicit) Approved by: portmgr (port compliance, infrastructure) --- graphics/piglit/Makefile | 3 ++- graphics/piglit/files/patch-piglit | 8 -------- 2 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 graphics/piglit/files/patch-piglit diff --git a/graphics/piglit/Makefile b/graphics/piglit/Makefile index a1866bdd8299..25c4797fb8e7 100644 --- a/graphics/piglit/Makefile +++ b/graphics/piglit/Makefile @@ -30,9 +30,10 @@ GH_ACCOUNT= dumbbell GH_PROJECT= piglit GH_TAGNAME= 60996b829c85f3df192bc6228108c0a8eaa38afd -USES= cmake:outsource compiler:c11 pkgconfig python:2.7 +USES= cmake:outsource compiler:c11 pkgconfig python:2.7 shebangfix USE_GL= egl gbm gl glu USE_XORG= x11 xcb xext xrender +SHEBANG_FILES= piglit CMAKE_ARGS+= -DPIGLIT_BUILD_CL_TESTS:BOOL=ON diff --git a/graphics/piglit/files/patch-piglit b/graphics/piglit/files/patch-piglit deleted file mode 100644 index 8e43d9dd705c..000000000000 --- a/graphics/piglit/files/patch-piglit +++ /dev/null @@ -1,8 +0,0 @@ ---- piglit.orig 2016-08-09 20:28:45 UTC -+++ piglit -@@ -1,4 +1,4 @@ --#!/usr/bin/env python3 -+#!/usr/bin/env python2 - - # Copyright (c) 2014 Intel Corporation -