From 25685bc9aeb3e06643e2a5bd93495783a50de474 Mon Sep 17 00:00:00 2001 From: Chris Rees Date: Wed, 14 Mar 2012 18:18:40 +0000 Subject: [PATCH] Add OPTION for --with-pic PR: ports/164906 Submitted by: Martin Dieringer Approved by: bytestore@yandex.ru (maintainer) Feature safe: yes --- graphics/libjpeg-turbo/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/graphics/libjpeg-turbo/Makefile b/graphics/libjpeg-turbo/Makefile index fdbcc3cdb75b..84c0a2de1291 100644 --- a/graphics/libjpeg-turbo/Makefile +++ b/graphics/libjpeg-turbo/Makefile @@ -32,4 +32,12 @@ PLIST_SUB= SOVERSION=${SOVERSION} # chase graphics/jpeg SOVERSION= 11 +OPTIONS+= PIC "Static library with PIC (required for VirtualGL)" off + +.include + +.if defined(WITH_PIC) +CONFIGURE_ARGS+=--with-pic +.endif + .include