summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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