=>> Building graphics/glew
build started at Tue Apr  3 14:12:55 BST 2018
port directory: /usr/ports/graphics/glew
package name: glew-2.1.0
building for: FreeBSD 111i386-system-job-02 11.1-RELEASE-p8 FreeBSD 11.1-RELEASE-p8 i386
maintained by: zeising@FreeBSD.org
Makefile ident:      $FreeBSD: head/graphics/glew/Makefile 454453 2017-11-18 19:32:30Z zeising $
Poudriere version: 3.2.4
Host OSVERSION: 1101001
Jail OSVERSION: 1101001
Job Id: 02

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1101001
UNAME_v=FreeBSD 11.1-RELEASE-p8
UNAME_r=11.1-RELEASE-p8
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/space/poudriere/poudriere_data/.m/111i386-system/ref
UID=0
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
OLDPWD=/space/poudriere/poudriere_data/.m/111i386-system/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/space/poudriere/poudriere_data/.m/111i386-system/ref/.p/pool
MASTERNAME=111i386-system
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
P_PYTHON_MAJOR_VER=2
POUDRIERE_VERSION=3.2.4
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
GID=0
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for glew-2.1.0:
     DOCS=off: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
zeising@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/glew/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/glew/work  HOME=/wrkdirs/usr/ports/graphics/glew/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/glew/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
GLEW_DEST=/usr/local GLEW_PREFIX=/usr/local XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/glew/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/glew/work  HOME=/wrkdirs/usr/ports/graphics/glew/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/glew/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="@comment " PORTEXAMPLES="" OSREL=11.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/glew"  EXAMPLESDIR="share/examples/glew"  DATADIR="share/glew"  WWWDIR="www/glew"  ETCDIR="etc/glew"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/glew DOCSDIR=/usr/local/share/doc/glew EXAMPLESDIR=/usr/local/share/examples/glew  WWWDIR=/usr/local/www/glew ETCDIR=/usr/local/etc/glew
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/111i386-make.conf ####
ENABLE_SUIDPERL=yes
JADETEX=yes
LIGHTTPD=yes
OPTIONS_SET=APACHE PGSQL SWAT PDO_PGSQL CUPS SASL BIND910 NTVFS DATABASE GSSAPI_HEIMDAL VORBISENC
OPTIONS_UNSET=GSSAPI_NONE GSSAPI_BASE DOCS MYSQL
finance_gnucash_SET=MYSQL
emulators_qemu_SET=DOCS
MPDDIR=/space/music
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0) Target: i386-unknown-freebsd11.1 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0) Target: i386-unknown-freebsd11.1 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0) Target: i386-unknown-freebsd11.1 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=11.1-RELEASE-p8
OSREL=11.1
OSVERSION=1101001
PYTHONBASE=/usr/local
_SMP_CPUS=4
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  12128
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License MIT BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   glew-2.1.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5.txz
[111i386-system-job-02] Installing pkg-1.10.5...
[111i386-system-job-02] Extracting pkg-1.10.5: .......... done
===>   glew-2.1.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of glew-2.1.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License MIT BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by glew-2.1.0 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License MIT BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by glew-2.1.0 for building
=> SHA256 Checksum OK for glew-2.1.0.tgz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License MIT BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by glew-2.1.0 for building
===>  Extracting for glew-2.1.0
=> SHA256 Checksum OK for glew-2.1.0.tgz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for glew-2.1.0
===>  Applying FreeBSD patches for glew-2.1.0
===========================================================================
=======================<phase: build-depends  >============================
===>   glew-2.1.0 depends on executable: gmake - not found
===>   Installing existing package /packages/All/gmake-4.2.1_2.txz
[111i386-system-job-02] Installing gmake-4.2.1_2...
[111i386-system-job-02] `-- Installing gettext-runtime-0.19.8.1_1...
[111i386-system-job-02] |   `-- Installing indexinfo-0.3.1...
[111i386-system-job-02] |   `-- Extracting indexinfo-0.3.1: .... done
[111i386-system-job-02] `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[111i386-system-job-02] Extracting gmake-4.2.1_2: .......... done
===>   glew-2.1.0 depends on executable: gmake - found
===>   Returning to build of glew-2.1.0
===>   glew-2.1.0 depends on file: /usr/local/lib/libGL.so - not found
===>   Installing existing package /packages/All/mesa-libs-17.3.1.txz
[111i386-system-job-02] Installing mesa-libs-17.3.1...
[111i386-system-job-02] `-- Installing expat-2.2.5...
[111i386-system-job-02] `-- Extracting expat-2.2.5: .......... done
[111i386-system-job-02] `-- Installing libX11-1.6.5,1...
[111i386-system-job-02] |   `-- Installing kbproto-1.0.7...
[111i386-system-job-02] |   `-- Extracting kbproto-1.0.7: .......... done
[111i386-system-job-02] |   `-- Installing libXau-1.0.8_3...
[111i386-system-job-02] |   | `-- Installing xproto-7.0.31...
[111i386-system-job-02] |   | `-- Extracting xproto-7.0.31: .......... done
[111i386-system-job-02] |   `-- Extracting libXau-1.0.8_3: .......... done
[111i386-system-job-02] |   `-- Installing libXdmcp-1.1.2...
[111i386-system-job-02] |   `-- Extracting libXdmcp-1.1.2: ......... done
[111i386-system-job-02] |   `-- Installing libxcb-1.12_2...
[111i386-system-job-02] |   | `-- Installing libpthread-stubs-0.4...
[111i386-system-job-02] |   | `-- Extracting libpthread-stubs-0.4: .... done
[111i386-system-job-02] |   | `-- Installing libxml2-2.9.7...
[111i386-system-job-02] |   | `-- Extracting libxml2-2.9.7: .......... done
[111i386-system-job-02] |   `-- Extracting libxcb-1.12_2: .......... done
[111i386-system-job-02] `-- Extracting libX11-1.6.5,1: .......... done
[111i386-system-job-02] `-- Installing libXdamage-1.1.4_3...
[111i386-system-job-02] |   `-- Installing damageproto-1.2.1...
[111i386-system-job-02] |   `-- Extracting damageproto-1.2.1: .... done
[111i386-system-job-02] |   `-- Installing libXfixes-5.0.3...
[111i386-system-job-02] |   | `-- Installing fixesproto-5.0...
[111i386-system-job-02] |   | `-- Extracting fixesproto-5.0: .... done
[111i386-system-job-02] |   `-- Extracting libXfixes-5.0.3: .......... done
[111i386-system-job-02] `-- Extracting libXdamage-1.1.4_3: ...... done
[111i386-system-job-02] `-- Installing libXext-1.3.3_1,1...
[111i386-system-job-02] |   `-- Installing xextproto-7.3.0...
[111i386-system-job-02] |   `-- Extracting xextproto-7.3.0: .......... done
[111i386-system-job-02] `-- Extracting libXext-1.3.3_1,1: .......... done
[111i386-system-job-02] `-- Installing libXxf86vm-1.1.4_1...
[111i386-system-job-02] |   `-- Installing xf86vidmodeproto-2.3.1...
[111i386-system-job-02] |   `-- Extracting xf86vidmodeproto-2.3.1: .... done
[111i386-system-job-02] `-- Extracting libXxf86vm-1.1.4_1: .......... done
[111i386-system-job-02] `-- Installing libdrm-2.4.89,1...
[111i386-system-job-02] |   `-- Installing libpciaccess-0.13.5...
[111i386-system-job-02] |   | `-- Installing pciids-20180219...
[111i386-system-job-02] |   | `-- Extracting pciids-20180219: ..... done
[111i386-system-job-02] |   `-- Extracting libpciaccess-0.13.5: ...... done
[111i386-system-job-02] `-- Extracting libdrm-2.4.89,1: .......... done
[111i386-system-job-02] `-- Installing libunwind-20170615...
[111i386-system-job-02] `-- Extracting libunwind-20170615: .......... done
[111i386-system-job-02] `-- Installing libxshmfence-1.2_2...
[111i386-system-job-02] `-- Extracting libxshmfence-1.2_2: ......... done
[111i386-system-job-02] Extracting mesa-libs-17.3.1: .......... done
===>   glew-2.1.0 depends on file: /usr/local/lib/libGL.so - found
===>   Returning to build of glew-2.1.0
===>   glew-2.1.0 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - not found
===>   Installing existing package /packages/All/glproto-1.4.17.txz
[111i386-system-job-02] Installing glproto-1.4.17...
[111i386-system-job-02] Extracting glproto-1.4.17: ...... done
===>   glew-2.1.0 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - found
===>   Returning to build of glew-2.1.0
===>   glew-2.1.0 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc - not found
===>   Installing existing package /packages/All/dri2proto-2.8.txz
[111i386-system-job-02] Installing dri2proto-2.8...
[111i386-system-job-02] Extracting dri2proto-2.8: .... done
===>   glew-2.1.0 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc - found
===>   Returning to build of glew-2.1.0
===>   glew-2.1.0 depends on file: /usr/local/libdata/pkgconfig/dri3proto.pc - not found
===>   Installing existing package /packages/All/dri3proto-1.0.txz
[111i386-system-job-02] Installing dri3proto-1.0...
[111i386-system-job-02] Extracting dri3proto-1.0: ...... done
===>   glew-2.1.0 depends on file: /usr/local/libdata/pkgconfig/dri3proto.pc - found
===>   Returning to build of glew-2.1.0
===>   glew-2.1.0 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - found
===>   glew-2.1.0 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc - found
===>   glew-2.1.0 depends on file: /usr/local/libdata/pkgconfig/dri3proto.pc - found
===>   glew-2.1.0 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   glew-2.1.0 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found
===>   glew-2.1.0 depends on file: /usr/local/libdata/pkgconfig/xi.pc - not found
===>   Installing existing package /packages/All/libXi-1.7.9,1.txz
[111i386-system-job-02] Installing libXi-1.7.9,1...
[111i386-system-job-02] `-- Installing inputproto-2.3.2...
[111i386-system-job-02] `-- Extracting inputproto-2.3.2: ........ done
[111i386-system-job-02] Extracting libXi-1.7.9,1: .......... done
===>   glew-2.1.0 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found
===>   Returning to build of glew-2.1.0
===>   glew-2.1.0 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - not found
===>   Installing existing package /packages/All/libXmu-1.1.2_3,1.txz
[111i386-system-job-02] Installing libXmu-1.1.2_3,1...
[111i386-system-job-02] `-- Installing libXt-1.1.5,1...
[111i386-system-job-02] |   `-- Installing libSM-1.2.2_3,1...
[111i386-system-job-02] |   | `-- Installing libICE-1.0.9_1,1...
[111i386-system-job-02] |   | `-- Extracting libICE-1.0.9_1,1: .......... done
[111i386-system-job-02] |   `-- Extracting libSM-1.2.2_3,1: .......... done
[111i386-system-job-02] `-- Extracting libXt-1.1.5,1: .......... done
[111i386-system-job-02] Extracting libXmu-1.1.2_3,1: .......... done
===>   glew-2.1.0 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found
===>   Returning to build of glew-2.1.0
===========================================================================
=======================<phase: lib-depends    >============================
===>   glew-2.1.0 depends on shared library: libGLU.so - not found
===>   Installing existing package /packages/All/libGLU-9.0.0_3.txz
[111i386-system-job-02] Installing libGLU-9.0.0_3...
[111i386-system-job-02] Extracting libGLU-9.0.0_3: ...... done
===>   glew-2.1.0 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so)
===>   Returning to build of glew-2.1.0
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for glew-2.1.0
===========================================================================
=======================<phase: build          >============================
===>  Building for glew-2.1.0
gmake[1]: Entering directory '/wrkdirs/usr/ports/graphics/glew/work/glew-2.1.0'
cc -DGLEW_NO_GLU -DGLEW_BUILD -O2 -pipe  -fstack-protector -fno-strict-aliasing -O2 -Wall -W -Iinclude -I/usr/local/include -fPIC  -o tmp/freebsd/default/shared/glew.o -c src/glew.c
ld -shared -soname libGLEW.so.2 -o lib/libGLEW.so.2.1.0 tmp/freebsd/default/shared/glew.o -L/usr/local/lib -lGL -lX11 
ln -sf libGLEW.so.2.1.0 lib/libGLEW.so.2
ln -sf libGLEW.so.2.1.0 lib/libGLEW.so
strip lib/libGLEW.so.2.1.0
/usr/bin/file lib/libGLEW.so.2.1.0
lib/libGLEW.so.2.1.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), dynamically linked, stripped
sed \
	-e 's|@prefix@|/usr/local|g' \
	-e 's|@libdir@|${prefix}/lib|g' \
	-e 's|@exec_prefix@|${prefix}/bin|g' \
	-e 's|@includedir@|${prefix}/include|g' \
	-e 's|@version@|2.1.0|g' \
	-e 's|@cflags@||g' \
	-e 's|@libname@|GLEW|g' \
	-e 's|@requireslib@|glu|g' \
	< glew.pc.in > glew.pc
cc -DGLEW_NO_GLU -DGLEW_STATIC -O2 -pipe  -fstack-protector -fno-strict-aliasing -O2 -Wall -W -Iinclude -I/usr/local/include -fPIC  -o tmp/freebsd/default/static/glew.o -c src/glew.c
ar rv lib/libGLEW.a tmp/freebsd/default/static/glew.o
ar: warning: creating lib/libGLEW.a
a - tmp/freebsd/default/static/glew.o
strip lib/libGLEW.a
cc -DGLEW_NO_GLU -O2 -pipe  -fstack-protector -fno-strict-aliasing -O2 -Wall -W -Iinclude -I/usr/local/include -fPIC -o tmp/freebsd/default/shared/glewinfo.o -c src/glewinfo.c
cc -O2 -pipe  -fstack-protector -fno-strict-aliasing -O2 -Wall -W -Iinclude -I/usr/local/include -fPIC -o bin/glewinfo tmp/freebsd/default/shared/glewinfo.o -Llib -Wl,-Bdynamic -lGLEW -L/usr/local/lib -lGL -lX11
strip bin/glewinfo
cc -DGLEW_NO_GLU -O2 -pipe  -fstack-protector -fno-strict-aliasing -O2 -Wall -W -Iinclude -I/usr/local/include -fPIC -o tmp/freebsd/default/shared/visualinfo.o -c src/visualinfo.c
cc -O2 -pipe  -fstack-protector -fno-strict-aliasing -O2 -Wall -W -Iinclude -I/usr/local/include -fPIC -o bin/visualinfo tmp/freebsd/default/shared/visualinfo.o -Llib -Wl,-Bdynamic -lGLEW -L/usr/local/lib -lGL -lX11
strip bin/visualinfo
gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/glew/work/glew-2.1.0'
===========================================================================
=======================<phase: run-depends    >============================
===>   glew-2.1.0 depends on file: /usr/local/lib/libGL.so - found
===>   glew-2.1.0 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   glew-2.1.0 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found
===>   glew-2.1.0 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found
===>   glew-2.1.0 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found
===========================================================================
=======================<phase: stage          >============================
===>  Staging for glew-2.1.0
===>   Generating temporary packing list
gmake[1]: Entering directory '/wrkdirs/usr/ports/graphics/glew/work/glew-2.1.0'
install -d -m 0755 "/wrkdirs/usr/ports/graphics/glew/work/stage/usr/local/include/GL"
install -m 0644 include/GL/wglew.h "/wrkdirs/usr/ports/graphics/glew/work/stage/usr/local/include/GL/"
install -m 0644 include/GL/glew.h "/wrkdirs/usr/ports/graphics/glew/work/stage/usr/local/include/GL/"
install -m 0644 include/GL/glxew.h "/wrkdirs/usr/ports/graphics/glew/work/stage/usr/local/include/GL/"
sed \
	-e 's|@prefix@|/usr/local|g' \
	-e 's|@libdir@|${prefix}/lib|g' \
	-e 's|@exec_prefix@|${prefix}/bin|g' \
	-e 's|@includedir@|${prefix}/include|g' \
	-e 's|@version@|2.1.0|g' \
	-e 's|@cflags@||g' \
	-e 's|@libname@|GLEW|g' \
	-e 's|@requireslib@|glu|g' \
	< glew.pc.in > glew.pc
install -d -m 0755 "/wrkdirs/usr/ports/graphics/glew/work/stage/usr/local/lib"
install -m 0644 lib/libGLEW.so.2.1.0 "/wrkdirs/usr/ports/graphics/glew/work/stage/usr/local/lib/"
ln -sf libGLEW.so.2.1.0 "/wrkdirs/usr/ports/graphics/glew/work/stage/usr/local/lib/libGLEW.so.2"
ln -sf libGLEW.so.2.1.0 "/wrkdirs/usr/ports/graphics/glew/work/stage/usr/local/lib/libGLEW.so"
install -m 0644 lib/libGLEW.a "/wrkdirs/usr/ports/graphics/glew/work/stage/usr/local/lib/"
install -d -m 0755 "/wrkdirs/usr/ports/graphics/glew/work/stage/usr/local/lib/pkgconfig"
install -d -m 0755 "/wrkdirs/usr/ports/graphics/glew/work/stage/usr/local/lib/pkgconfig"
install -m 0644 glew.pc "/wrkdirs/usr/ports/graphics/glew/work/stage/usr/local/lib/pkgconfig/"
install -d -m 0755 "/wrkdirs/usr/ports/graphics/glew/work/stage/usr/local/bin"
install -s -m 0755 bin/glewinfo bin/visualinfo "/wrkdirs/usr/ports/graphics/glew/work/stage/usr/local/bin/"
gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/glew/work/glew-2.1.0'
====> Compressing man pages (compress-man)
===========================================================================
=======================<phase: package        >============================
===>  Building package for glew-2.1.0
===========================================================================
=>> Cleaning up wrkdir
===>  Cleaning for glew-2.1.0
build of graphics/glew | glew-2.1.0 ended at Tue Apr  3 14:15:48 BST 2018
build time: 00:02:53