summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2012-02-16 08:57:39 +0000
committerChris Rees <crees@FreeBSD.org>2012-02-16 08:57:39 +0000
commitde884b344fcf86e465fd834a995bfc99fea6837f (patch)
treeb6cdcf19103c62216b1d3c4ca98df0be7ce1ae5b
parentfix WITH_PCRE_PORT after the devel/pcre update (diff)
Add -fPIC
PR: ports/164906 Submitted by: Martin Dieringer <martin.dieringer@gmx.de> Approved by: Denis Podolskiy <bytestore@yandex.ru> (maintainer)
Notes
Notes: svn path=/head/; revision=291525
-rw-r--r--graphics/libjpeg-turbo/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/libjpeg-turbo/Makefile b/graphics/libjpeg-turbo/Makefile
index 499700f3e3e0..72b3e90c6027 100644
--- a/graphics/libjpeg-turbo/Makefile
+++ b/graphics/libjpeg-turbo/Makefile
@@ -8,7 +8,7 @@
PORTNAME= libjpeg-turbo
PORTVERSION= 1.1.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
@@ -20,7 +20,7 @@ BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
CONFLICTS= jpeg-[0-9]*
ONLY_FOR_ARCHS= amd64 i386
USE_AUTOTOOLS= libtool
-CONFIGURE_ENV= SO_MAJOR_VERSION=${SOVERSION}
+CONFIGURE_ENV= SO_MAJOR_VERSION=${SOVERSION} CFLAGS+=-fPIC
CONFIGURE_ARGS= --with-jpeg8
USE_LDCONFIG= yes