Add OPTION for --with-pic

PR:		ports/164906
Submitted by:	Martin Dieringer <martin.dieringer@gmx.de>
Approved by:	bytestore@yandex.ru (maintainer)
Feature safe:	yes
This commit is contained in:
Chris Rees 2012-03-14 18:18:40 +00:00
parent dff2100620
commit 25685bc9ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293313

View File

@ -32,4 +32,12 @@ PLIST_SUB= SOVERSION=${SOVERSION}
# chase graphics/jpeg
SOVERSION= 11
OPTIONS+= PIC "Static library with PIC (required for VirtualGL)" off
.include <bsd.port.options.mk>
.if defined(WITH_PIC)
CONFIGURE_ARGS+=--with-pic
.endif
.include <bsd.port.mk>