aboutsummaryrefslogtreecommitdiff
path: root/graphics/jpeg-turbo
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-08-30 14:34:03 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-08-30 14:34:03 +0000
commit4fb1d0468e9a3423fac06d3a4170d43943c323c1 (patch)
treec19f91339735170ca02df78b0922fac19b39d3f5 /graphics/jpeg-turbo
parentf9a5ebf656bdea283bb9bd160ec6caedaa223c87 (diff)
downloadports-4fb1d0468e9a3423fac06d3a4170d43943c323c1.tar.gz
ports-4fb1d0468e9a3423fac06d3a4170d43943c323c1.zip
Fix a docs conflict from libjpeg-turbo not excluding the DOCS option.
PR: 193145 Submitted by: Jan Beich
Notes
Notes: svn path=/head/; revision=366624
Diffstat (limited to 'graphics/jpeg-turbo')
-rw-r--r--graphics/jpeg-turbo/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/graphics/jpeg-turbo/Makefile b/graphics/jpeg-turbo/Makefile
index 6ee91b6122e0..10c8e6530b41 100644
--- a/graphics/jpeg-turbo/Makefile
+++ b/graphics/jpeg-turbo/Makefile
@@ -29,9 +29,15 @@ PORTEXAMPLES= *
# chase graphics/jpeg
SOVERSION= 11
-OPTIONS_DEFINE= PIC
+OPTIONS_DEFINE= DOCS EXAMPLES PIC
PIC_DESC= Static library with PIC (required for VirtualGL)
+DOCS_MAKE_ARGS= docdir="${DOCSDIR}"
+DOCS_MAKE_ARGS_OFF= dist_doc_DATA=""
+
+EXAMPLES_MAKE_ARGS= exampledir="${EXAMPLESDIR}"
+EXAMPLES_MAKE_ARGS_OFF= dist_example_DATA=""
+
PIC_CONFIGURE_ON= --with-pic
.if defined(SLAVE_PORT)
@@ -39,13 +45,7 @@ PLIST_SUB+= JPEG="@comment " LIBTURBOJPEG=""
.else
PLIST_SUB+= JPEG="" LIBTURBOJPEG="@comment "
CONFLICTS_INSTALL= jpeg-[0-9]*
-OPTIONS_DEFINE+=DOCS EXAMPLES
CONFIGURE_ARGS+=--without-libturbojpeg
.endif
-post-patch:
- ${REINPLACE_CMD} -e '/^docdir/s,=.*,= ${DOCSDIR},' \
- -e '/^exampledir/s,=.*,= ${EXAMPLESDIR},' \
- ${WRKSRC}/Makefile.in
-
.include <bsd.port.mk>