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

(-)multimedia/vdpau-video/Makefile (-6 lines)
Lines 30-38 LDFLAGS+= -L${LOCALBASE}/lib Link Here
30
30
31
.include <bsd.port.pre.mk>
31
.include <bsd.port.pre.mk>
32
32
33
VDPAU_PTHREAD_LIBS!=	${CC} -dumpspecs | ${GREP} -m 1 pthread: | ${SED} -e 's|^.*%{\!pg: %{pthread:|| ; s|}.*$$||' || ${TRUE}
34
35
36
.if !defined(WITH_DEBUG)
33
.if !defined(WITH_DEBUG)
37
CONFIGURE_ARGS+=	--disable-debug
34
CONFIGURE_ARGS+=	--disable-debug
38
.endif
35
.endif
Lines 47-54 post-patch: .SILENT Link Here
47
		-e 's|driverdir|& --define-variable prefix=${PREFIX}|' \
44
		-e 's|driverdir|& --define-variable prefix=${PREFIX}|' \
48
		-e '/\^vdpau_version/s|$$CC -E|& ${CPPFLAGS}|' \
45
		-e '/\^vdpau_version/s|$$CC -E|& ${CPPFLAGS}|' \
49
		 ${WRKSRC}/configure
46
		 ${WRKSRC}/configure
50
	${REINPLACE_CMD} 's/^vdpau.*LDFLAGS.*/& \
51
		-Wl,-lc ${VDPAU_PTHREAD_LIBS:S/^/-Wl,/}/' \
52
		${WRKSRC}/src/Makefile.in
53
47
54
.include <bsd.port.post.mk>
48
.include <bsd.port.post.mk>

Return to bug 163296