View | Details | Raw Unified | Return to bug 193145
Collapse All | Expand All

(-)graphics/jpeg-turbo/Makefile (-7 / +7 lines)
Lines 29-37 PORTEXAMPLES= * Link Here
29
# chase graphics/jpeg
29
# chase graphics/jpeg
30
SOVERSION=	11
30
SOVERSION=	11
31
31
32
OPTIONS_DEFINE=	PIC
32
OPTIONS_DEFINE=	DOCS EXAMPLES PIC 
33
PIC_DESC=	Static library with PIC (required for VirtualGL)
33
PIC_DESC=	Static library with PIC (required for VirtualGL)
34
34
35
DOCS_MAKE_ARGS=		docdir="${DOCSDIR}"
36
DOCS_MAKE_ARGS_OFF=	dist_doc_DATA=""
37
38
EXAMPLES_MAKE_ARGS=	exampledir="${EXAMPLESDIR}"
39
EXAMPLES_MAKE_ARGS_OFF=	dist_example_DATA=""
40
35
PIC_CONFIGURE_ON=	--with-pic
41
PIC_CONFIGURE_ON=	--with-pic
36
42
37
.if defined(SLAVE_PORT)
43
.if defined(SLAVE_PORT)
Lines 39-51 PLIST_SUB+= JPEG="@comment " LIBTURBOJPEG="" Link Here
39
.else
45
.else
40
PLIST_SUB+=	JPEG="" LIBTURBOJPEG="@comment "
46
PLIST_SUB+=	JPEG="" LIBTURBOJPEG="@comment "
41
CONFLICTS_INSTALL=	jpeg-[0-9]*
47
CONFLICTS_INSTALL=	jpeg-[0-9]*
42
OPTIONS_DEFINE+=DOCS EXAMPLES
43
CONFIGURE_ARGS+=--without-libturbojpeg
48
CONFIGURE_ARGS+=--without-libturbojpeg
44
.endif
49
.endif
45
50
46
post-patch:
47
	${REINPLACE_CMD} -e '/^docdir/s,=.*,= ${DOCSDIR},' \
48
		-e '/^exampledir/s,=.*,= ${EXAMPLESDIR},' \
49
		${WRKSRC}/Makefile.in
50
51
.include <bsd.port.mk>
51
.include <bsd.port.mk>
(-)graphics/libjpeg-turbo/Makefile (+3 lines)
Lines 1-6 Link Here
1
# Created by: Denis Podolskiy <bytestore@yandex.ru>
1
# Created by: Denis Podolskiy <bytestore@yandex.ru>
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTREVISION?=	3
5
4
PKGNAMEPREFIX=	lib
6
PKGNAMEPREFIX=	lib
5
7
6
COMMENT=	SIMD-accelerated JPEG codec library, provides libTurboJPEG
8
COMMENT=	SIMD-accelerated JPEG codec library, provides libTurboJPEG
Lines 7-12 COMMENT= SIMD-accelerated JPEG codec library, prov Link Here
7
9
8
MASTERDIR=	${.CURDIR:H}/jpeg-turbo
10
MASTERDIR=	${.CURDIR:H}/jpeg-turbo
9
SLAVE_PORT=	yes
11
SLAVE_PORT=	yes
12
OPTIONS_EXCLUDE=DOCS EXAMPLES
10
OPTIONS_SLAVE=	PIC
13
OPTIONS_SLAVE=	PIC
11
14
12
.include "${MASTERDIR}/Makefile"
15
.include "${MASTERDIR}/Makefile"

Return to bug 193145