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

(-)multimedia/libxine/Makefile (-4 / +12 lines)
Lines 37-43 BUILD_DEPENDS+= v4l_compat>=1.0.20100321:${PORTSDI Link Here
37
LIB_DEPENDS+=	libdvdcss.so.${DVDCSS_LIBVERSION}:${PORTSDIR}/multimedia/libdvdcss
37
LIB_DEPENDS+=	libdvdcss.so.${DVDCSS_LIBVERSION}:${PORTSDIR}/multimedia/libdvdcss
38
.endif
38
.endif
39
39
40
USES=		gmake iconv pathfix perl5 pkgconfig
40
USES=		gmake iconv pathfix perl5 pkgconfig compiler:features
41
USE_XZ=		yes
41
USE_XZ=		yes
42
GNU_CONFIGURE=	yes
42
GNU_CONFIGURE=	yes
43
WANT_GNOME=	yes
43
WANT_GNOME=	yes
Lines 51-57 CONFIGURE_ENV= THREAD_CFLAGS="${PTHREAD_CFLAGS}" \ Link Here
51
		EXTRA_X_LIBS="-lGL -lGLU -lXext -lX11 -lm"
51
		EXTRA_X_LIBS="-lGL -lGLU -lXext -lX11 -lm"
52
CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/ffmpeg
52
CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/ffmpeg
53
LDFLAGS+=	-L${LOCALBASE}/lib
53
LDFLAGS+=	-L${LOCALBASE}/lib
54
CFLAGS+=	-fno-force-addr -I${LOCALBASE}/include -I${LOCALBASE}/include/dvdread -I${LOCALBASE}/include/ffmeg
54
CFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/dvdread -I${LOCALBASE}/include/ffmeg
55
CONFIGURE_ARGS=	--with-w32-path=${LOCALBASE}/lib/win32 \
55
CONFIGURE_ARGS=	--with-w32-path=${LOCALBASE}/lib/win32 \
56
		--enable-ipv6 \
56
		--enable-ipv6 \
57
		--with-external-libmad \
57
		--with-external-libmad \
Lines 79-86 DVDCSS_LIBVERSION= 3 Link Here
79
79
80
PATCH_DIST_ARGS=	-d ${WRKSRC} -p1 --forward --quiet
80
PATCH_DIST_ARGS=	-d ${WRKSRC} -p1 --forward --quiet
81
81
82
.include <bsd.port.options.mk>
82
.include <bsd.port.pre.mk>
83
83
84
.if ${COMPILER_TYPE} != "clang"
85
CFLAGS+= 	-fno-force-addr
86
.endif
87
84
.if ${ARCH} == "i386"
88
.if ${ARCH} == "i386"
85
CFLAGS+=	-fomit-frame-pointer
89
CFLAGS+=	-fomit-frame-pointer
86
.endif
90
.endif
Lines 222-227 CONFIGURE_ARGS+= --disable-vidix Link Here
222
.endif
226
.endif
223
227
224
post-patch:
228
post-patch:
229
.if ${COMPILER_TYPE} == "clang"
230
	@${REINPLACE_CMD} -e 's|-fno-rename-registers||' \
231
		${WRKSRC}/src/libw32dll/wine/Makefile.in
232
.endif
225
.if ${PORT_OPTIONS:MVAAPI}
233
.if ${PORT_OPTIONS:MVAAPI}
226
	@${REINPLACE_CMD} -e 's|-ldl||' \
234
	@${REINPLACE_CMD} -e 's|-ldl||' \
227
		${WRKSRC}/src/video_out/Makefile.in
235
		${WRKSRC}/src/video_out/Makefile.in
Lines 258-261 pre-configure: Link Here
258
		  s|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|g' \
266
		  s|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|g' \
259
		${WRKSRC}/configure
267
		${WRKSRC}/configure
260
268
261
.include <bsd.port.mk>
269
.include <bsd.port.post.mk>

Return to bug 187017